Searched refs:statusCallback (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/voiceinteraction/app/src/com/android/cts/voiceinteraction/ |
D | ControllableHotwordDetectionService.java | 73 long callbackTimeoutMillis, IntConsumer statusCallback) { in onUpdateState() argument 77 + ", statusCallback=" + statusCallback); in onUpdateState() 79 if (statusCallback != null) { in onUpdateState() 80 statusCallback.accept(HotwordDetectionService.INITIALIZATION_STATUS_SUCCESS); in onUpdateState()
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadCallbackTest.java | 89 TestDSCallback statusCallback = new TestDSCallback(); in testFullCallback() local 92 mDownloadSession.addStatusListener(request, mCallbackExecutor, statusCallback); in testFullCallback() 105 SomeArgs stateArgs = statusCallback.waitOnStatusUpdated(ASYNC_TIMEOUT); in testFullCallback() 113 TestDSCallback statusCallback = new TestDSCallback(); in testDeregistration() local 117 mDownloadSession.addStatusListener(request, mCallbackExecutor, statusCallback); in testDeregistration() 119 mDownloadSession.removeStatusListener(request, statusCallback); in testDeregistration() 122 assertNull(statusCallback.waitOnStatusUpdated(SHORT_TIMEOUT)); in testDeregistration()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/ |
D | TestPermissionHotwordDetectionService.java | 94 @Nullable IntConsumer statusCallback) { in onUpdateState() argument 95 super.onUpdateState(options, sharedMemory, callbackTimeoutMillis, statusCallback); in onUpdateState() 99 if (statusCallback != null) { in onUpdateState() 100 statusCallback.accept(INITIALIZATION_STATUS_SUCCESS); in onUpdateState()
|
D | NoOpVisualQueryDetectionService.java | 48 @Nullable IntConsumer statusCallback) { in onUpdateState() argument 49 super.onUpdateState(options, sharedMemory, callbackTimeoutMillis, statusCallback); in onUpdateState()
|
D | NoOpHotwordDetectionService.java | 68 @Nullable IntConsumer statusCallback) { in onUpdateState() argument 69 super.onUpdateState(options, sharedMemory, callbackTimeoutMillis, statusCallback); in onUpdateState()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainHotwordDetectionService.java | 373 @Nullable IntConsumer statusCallback) { in onUpdateState() argument 374 super.onUpdateState(options, sharedMemory, callbackTimeoutMillis, statusCallback); in onUpdateState() 380 if (statusCallback != null) { in onUpdateState() 396 statusCallback.accept(initializationStatus + 1); in onUpdateState() 399 statusCallback.accept(initializationStatus); in onUpdateState() 405 statusCallback.accept(options.getInt(Utils.KEY_INITIALIZATION_STATUS, -1)); in onUpdateState() 416 statusCallback.accept((mServiceCreatedTimeMillis > optionsTimestampMillis) in onUpdateState() 542 if (statusCallback != null) { in onUpdateState() 543 statusCallback.accept(INITIALIZATION_STATUS_SUCCESS); in onUpdateState()
|
D | MainVisualQueryDetectionService.java | 169 @Nullable IntConsumer statusCallback) { in onUpdateState() argument 170 super.onUpdateState(options, sharedMemory, callbackTimeoutMillis, statusCallback); in onUpdateState() 175 if (statusCallback != null) { in onUpdateState() 214 if (statusCallback != null) { in onUpdateState() 215 statusCallback.accept(INITIALIZATION_STATUS_SUCCESS); in onUpdateState()
|