Home
last modified time | relevance | path

Searched refs:statusConsumer (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/service/wearable/
DWearableSensingService.java192 Consumer<Integer> statusConsumer = createWearableStatusConsumer(statusCallback); in onBind() local
194 dataType, packageName, dataRequester, statusConsumer); in onBind()
216 Consumer<Integer> statusConsumer = createWearableStatusConsumer(statusCallback); in onBind() local
218 dataType, packageName, dataRequester, statusConsumer); in onBind()
231 Consumer<Integer> statusConsumer = in onBind() local
238 hotwordAudioConsumer, statusConsumer); in onBind()
244 Consumer<Integer> statusConsumer = in onBind() local
250 WearableSensingService.this.onStopHotwordRecognition(statusConsumer); in onBind()
284 Consumer<AmbientContextDetectionServiceStatus> statusConsumer = in onBind() local
294 request, packageName, statusConsumer, detectionResultConsumer); in onBind()
[all …]
DWearableSensingDataRequester.java86 @NonNull @StatusCode Consumer<Integer> statusConsumer); in requestData() argument
/frameworks/base/core/java/android/app/wearable/
DWearableSensingManager.java256 @NonNull @StatusCode Consumer<Integer> statusConsumer) { in provideConnection() argument
257 RemoteCallback statusCallback = createStatusCallback(executor, statusConsumer); in provideConnection()
295 @NonNull @StatusCode Consumer<Integer> statusConsumer) { in provideDataStream() argument
296 RemoteCallback statusCallback = createStatusCallback(executor, statusConsumer); in provideDataStream()
334 @NonNull @StatusCode Consumer<Integer> statusConsumer) { in provideData() argument
336 RemoteCallback callback = createStatusCallback(executor, statusConsumer); in provideData()
399 @NonNull @StatusCode Consumer<Integer> statusConsumer) { in registerDataRequestObserver() argument
401 RemoteCallback statusCallback = createStatusCallback(executor, statusConsumer); in registerDataRequestObserver()
426 @NonNull @StatusCode Consumer<Integer> statusConsumer) { in unregisterDataRequestObserver() argument
428 RemoteCallback statusCallback = createStatusCallback(executor, statusConsumer); in unregisterDataRequestObserver()
[all …]
/frameworks/base/core/java/android/service/ambientcontext/
DAmbientContextDetectionService.java89 Consumer<AmbientContextDetectionServiceStatus> statusConsumer = in onBind() local
99 request, packageName, detectionResultConsumer, statusConsumer); in onBind()
160 @NonNull Consumer<AmbientContextDetectionServiceStatus> statusConsumer);
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextManager.java295 @NonNull @StatusCode Consumer<Integer> statusConsumer) { in registerObserver() argument
302 executor.execute(() -> statusConsumer.accept(statusCode)); in registerObserver()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java493 private RemoteCallback getServerStatusCallback(Consumer<Integer> statusConsumer) { in getServerStatusCallback() argument
501 statusConsumer.accept(statusCode); in getServerStatusCallback()