Searched refs:AmbientContextManager (Results 1 – 14 of 14) sorted by relevance
21 import android.app.ambientcontext.AmbientContextManager;22 import android.app.ambientcontext.AmbientContextManager.StatusCode;147 mStatusCode = AmbientContextManager.STATUS_UNKNOWN; in build()
29 import android.app.ambientcontext.AmbientContextManager;149 AmbientContextManager.STATUS_SERVICE_UNAVAILABLE); in onQueryServiceStatus()254 completeRegistration(observer, AmbientContextManager.STATUS_SERVICE_UNAVAILABLE); in onRegisterObserver()361 AmbientContextManager.STATUS_NOT_SUPPORTED); in startDetection()388 @AmbientContextManager.StatusCode int statusCode) { in sendStatusCallback()391 AmbientContextManager.STATUS_RESPONSE_BUNDLE_KEY, in sendStatusCallback()405 intent.putExtra(AmbientContextManager.EXTRA_AMBIENT_CONTEXT_EVENTS, in sendDetectionResultIntent()
29 import android.app.ambientcontext.AmbientContextManager;584 if (statusCode == AmbientContextManager.STATUS_SUCCESS) { in registerObserverWithCallback()635 if (statusCode == AmbientContextManager.STATUS_SUCCESS) { in queryServiceStatus()690 return AmbientContextManager.STATUS_SERVICE_UNAVAILABLE; in checkStatusCode()694 return AmbientContextManager.STATUS_SERVICE_UNAVAILABLE; in checkStatusCode()699 return AmbientContextManager.STATUS_NOT_SUPPORTED; in checkStatusCode()701 return AmbientContextManager.STATUS_SUCCESS; in checkStatusCode()
24 import android.app.ambientcontext.AmbientContextManager;102 int status = result.getInt(AmbientContextManager.STATUS_RESPONSE_BUNDLE_KEY); in createRemoteStatusCallback()
53 public final class AmbientContextManager { class119 if (intent.hasExtra(AmbientContextManager.EXTRA_AMBIENT_CONTEXT_EVENTS)) { in getEventsFromIntent()133 public AmbientContextManager(Context context, IAmbientContextManager service) { in AmbientContextManager() method in AmbientContextManager
46 void onRegistrationComplete(@NonNull @AmbientContextManager.StatusCode int statusCode); in onRegistrationComplete()
36 import android.app.ambientcontext.AmbientContextManager;158 static AmbientContextManager provideAmbientContextManager(Context context) { in provideAmbientContextManager()159 return context.getSystemService(AmbientContextManager.class); in provideAmbientContextManager()
28 import android.app.ambientcontext.AmbientContextManager;1527 registerService(Context.AMBIENT_CONTEXT_SERVICE, AmbientContextManager.class, in registerService()1528 new CachedServiceFetcher<AmbientContextManager>() { in registerService()1530 public AmbientContextManager createService(ContextImpl ctx) in registerService()1536 return new AmbientContextManager(ctx.getOuterContext(), manager); in registerService()
50 import android.app.ambientcontext.AmbientContextManager;
939 android.app.ambientcontext.AmbientContextManager
23720 Landroid/app/ambientcontext/AmbientContextManager;
33823 Landroid/app/ambientcontext/AmbientContextManager;
1626 public final class AmbientContextManager {