Home
last modified time | relevance | path

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

/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainWearableSensingService.java107 Consumer<HotwordAudioStream> audioConsumer, Consumer<Integer> statusConsumer) { in onStartHotwordRecognition() argument
109 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onStartHotwordRecognition()
127 PersistableBundle data, SharedMemory sharedMemory, Consumer<Integer> statusConsumer) { in onDataProvided() argument
134 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataProvided()
137 sendAudio(statusConsumer); in onDataProvided()
140 sendNonHotwordAudio(statusConsumer); in onDataProvided()
143 sendNonHotwordAudioWithAcceptDetectionOptions(statusConsumer); in onDataProvided()
146 sendMoreAudioData(statusConsumer); in onDataProvided()
149 verifyHotwordValidatedCalled(statusConsumer); in onDataProvided()
152 verifyAudioStopCalled(statusConsumer); in onDataProvided()
[all …]
/cts/tests/wearable/src/android/wearable/cts/
DCtsIsolatedWearableSensingService.java127 ParcelFileDescriptor secureWearableConnection, Consumer<Integer> statusConsumer) { in onSecureConnectionProvided() argument
130 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onSecureConnectionProvided()
135 ParcelFileDescriptor parcelFileDescriptor, Consumer<Integer> statusConsumer) { in onDataStreamProvided() argument
137 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataStreamProvided()
142 PersistableBundle data, SharedMemory sharedMemory, Consumer<Integer> statusConsumer) { in onDataProvided() argument
150 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataProvided()
154 verifyDataReceivedFromWearable(expectedString, statusConsumer); in onDataProvided()
158 sendDataToWearable(stringToSend, statusConsumer); in onDataProvided()
161 closeWearableConnection(statusConsumer); in onDataProvided()
165 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataProvided()
[all …]
DCtsWearableSensingService.java65 Consumer<Integer> statusConsumer) { in onDataStreamProvided() argument
68 sStatusConsumer = statusConsumer; in onDataStreamProvided()
74 Consumer<Integer> statusConsumer) { in onDataProvided() argument
78 sStatusConsumer = statusConsumer; in onDataProvided()
87 Consumer<Integer> statusConsumer) { in onDataRequestObserverRegistered() argument
90 dataType, packageName, dataRequester, statusConsumer); in onDataRequestObserverRegistered()
95 sStatusConsumer = statusConsumer; in onDataRequestObserverRegistered()
104 Consumer<Integer> statusConsumer) { in onDataRequestObserverUnregistered() argument
107 dataType, packageName, dataRequester, statusConsumer); in onDataRequestObserverUnregistered()
112 sStatusConsumer = statusConsumer; in onDataRequestObserverUnregistered()
[all …]
/cts/tests/ambientcontext/src/android/ambientcontext/cts/
DCtsAmbientContextDetectionService.java42 Consumer<AmbientContextDetectionServiceStatus> statusConsumer) { in onStartDetection() argument
44 sQueryConsumer = statusConsumer; in onStartDetection()