Searched refs:availabilityChanged (Results 1 – 2 of 2) sorted by relevance
122 final ConditionVariable availabilityChanged = new ConditionVariable(); in testAlwaysOnHotwordDetectorDestroy_throwsExceptionAfterDestroy() local129 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() local170 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()
3760 LinkedBlockingQueue<Integer> availabilityChanged = new LinkedBlockingQueue<>(); in testRcsCapabilityStatusCallback() local3766 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()