Home
last modified time | relevance | path

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

/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DOnDeviceIntelligenceManagerTest.java345 CountDownLatch statusLatch = new CountDownLatch(1); in resultPopulatedWhenAttemptingGetFeature() local
358 statusLatch.countDown(); in resultPopulatedWhenAttemptingGetFeature()
360 assertThat(statusLatch.await(1, SECONDS)).isTrue(); in resultPopulatedWhenAttemptingGetFeature()
369 CountDownLatch statusLatch = new CountDownLatch(1); in resultPopulatedWhenAttemptingGetFeatureDetails() local
378 statusLatch.countDown(); in resultPopulatedWhenAttemptingGetFeatureDetails()
380 assertThat(statusLatch.await(1, SECONDS)).isTrue(); in resultPopulatedWhenAttemptingGetFeatureDetails()
389 statusLatch.countDown(); in resultPopulatedWhenAttemptingGetFeatureDetails()
391 assertThat(statusLatch.await(1, SECONDS)).isTrue(); in resultPopulatedWhenAttemptingGetFeatureDetails()
400 CountDownLatch statusLatch = new CountDownLatch(1); in resultPopulatedWhenAttemptingGetVersion() local
405 statusLatch.countDown(); in resultPopulatedWhenAttemptingGetVersion()
[all …]
DBundleValidationTest.java124 CountDownLatch statusLatch = new CountDownLatch(1); in canSendAndReceiveCustomParcelables() local
136 statusLatch.countDown(); in canSendAndReceiveCustomParcelables()
144 assertThat(statusLatch.await(1, SECONDS)).isTrue(); in canSendAndReceiveCustomParcelables()
153 CountDownLatch statusLatch = new CountDownLatch(1); in canSendReadOnlyPfds() local
166 statusLatch.countDown(); in canSendReadOnlyPfds()
173 assertThat(statusLatch.await(1, SECONDS)).isTrue(); in canSendReadOnlyPfds()
190 CountDownLatch statusLatch = new CountDownLatch(1); in canSendPersistableBundleOrPrimitives() local
198 statusLatch.countDown(); in canSendPersistableBundleOrPrimitives()
206 assertThat(statusLatch.await(1, SECONDS)).isTrue(); in canSendPersistableBundleOrPrimitives()
215 CountDownLatch statusLatch = new CountDownLatch(1); in canSendNestedBundleWithSameConstraints() local
[all …]
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerTest.java245 CountDownLatch statusLatch = new CountDownLatch(1); in registerDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus() local
253 statusLatch.countDown(); in registerDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus()
256 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in registerDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus()
270 CountDownLatch statusLatch = new CountDownLatch(1); in registerDataRequestObserver_withPermission_success() local
278 statusLatch.countDown(); in registerDataRequestObserver_withPermission_success()
282 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in registerDataRequestObserver_withPermission_success()
357 CountDownLatch statusLatch = new CountDownLatch(1); in unregisterDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus() local
365 statusLatch.countDown(); in unregisterDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus()
368 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in unregisterDataRequestObserver_defaultWssImpl_receivesUnsupportedOperationStatus()
408 CountDownLatch statusLatch = new CountDownLatch(1); in unregisterDataRequestObserver_withPermission_receivesSuccessStatus() local
[all …]
DWearableSensingManagerIsolatedServiceTest.java295 CountDownLatch statusLatch = new CountDownLatch(1); in provideConnection_wearableStreamClosedThenSendDataFromWss_restartWssProcess() local
299 mSocketPair[1], EXECUTOR, (statusCode) -> statusLatch.countDown()); in provideConnection_wearableStreamClosedThenSendDataFromWss_restartWssProcess()
300 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in provideConnection_wearableStreamClosedThenSendDataFromWss_restartWssProcess()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DHotwordDetectionServiceBasicTest.java992 CountDownLatch statusLatch = new CountDownLatch(1); in testHotwordDetectionService_onDetectFromWearableWithAudioEgress() local
997 statusLatch.countDown(); in testHotwordDetectionService_onDetectFromWearableWithAudioEgress()
999 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in testHotwordDetectionService_onDetectFromWearableWithAudioEgress()
1027 CountDownLatch statusLatch = new CountDownLatch(1); in testHotwordDetectionService_onDetectFromWearable_doesNotNoteRecordAudioOp() local
1032 statusLatch.countDown(); in testHotwordDetectionService_onDetectFromWearable_doesNotNoteRecordAudioOp()
1034 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in testHotwordDetectionService_onDetectFromWearable_doesNotNoteRecordAudioOp()
1061 CountDownLatch statusLatch = new CountDownLatch(1); in testHotwordDetectionService_onRejectWearableHotword_notifiesWearable() local
1066 statusLatch.countDown(); in testHotwordDetectionService_onRejectWearableHotword_notifiesWearable()
1068 assertThat(statusLatch.await(3, SECONDS)).isTrue(); in testHotwordDetectionService_onRejectWearableHotword_notifiesWearable()
1088 CountDownLatch statusLatch = new CountDownLatch(1); in testHotwordDetectionService_receivesOptionsFromWearable() local
[all …]
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java676 final CountDownLatch statusLatch = new CountDownLatch(1); in testCancelTranscoding() local
707 statusLatch.countDown(); in testCancelTranscoding()
713 statusLatch.await(2, TimeUnit.MILLISECONDS); in testCancelTranscoding()