Home
last modified time | relevance | path

Searched refs:availabilityChanged (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionMultiDetectorTest.java122 final ConditionVariable availabilityChanged = new ConditionVariable(); in testAlwaysOnHotwordDetectorDestroy_throwsExceptionAfterDestroy() local
129 availabilityChanged.open(); in testAlwaysOnHotwordDetectorDestroy_throwsExceptionAfterDestroy()
132 assertThat(availabilityChanged.block(TEST_SERVICE_TIMEOUT.toMillis())).isTrue(); in testAlwaysOnHotwordDetectorDestroy_throwsExceptionAfterDestroy()
162 final ConditionVariable availabilityChanged = new ConditionVariable(); in testAlwaysOnHotwordDetectorCreate_rejectMultipleDetectorsOfTheSameType() local
170 availabilityChanged.open(); in testAlwaysOnHotwordDetectorCreate_rejectMultipleDetectorsOfTheSameType()
174 assertThat(availabilityChanged.block(TEST_SERVICE_TIMEOUT.toMillis())).isTrue(); in testAlwaysOnHotwordDetectorCreate_rejectMultipleDetectorsOfTheSameType()
176 availabilityChanged.close(); in testAlwaysOnHotwordDetectorCreate_rejectMultipleDetectorsOfTheSameType()
183 availabilityChanged.open(); in testAlwaysOnHotwordDetectorCreate_rejectMultipleDetectorsOfTheSameType()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTest.java3760 LinkedBlockingQueue<Integer> availabilityChanged = new LinkedBlockingQueue<>(); in testRcsCapabilityStatusCallback() local
3766 availabilityChanged.offer(capabilities); in testRcsCapabilityStatusCallback()
3782 int capCb = waitForResult(availabilityChanged); in testRcsCapabilityStatusCallback()
3784 availabilityChanged.clear(); in testRcsCapabilityStatusCallback()
3799 capCb = waitForResult(availabilityChanged); in testRcsCapabilityStatusCallback()
3801 availabilityChanged.clear(); in testRcsCapabilityStatusCallback()
3815 capCb = waitForResult(availabilityChanged); in testRcsCapabilityStatusCallback()
3817 availabilityChanged.clear(); in testRcsCapabilityStatusCallback()
3838 assertTrue(availabilityChanged.isEmpty()); in testRcsCapabilityStatusCallback()