/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccServiceTest.java | 77 private CountDownLatch mCountDownLatch; field in EuiccServiceTest 122 mCountDownLatch = new CountDownLatch(1); in testOnGetEid() 130 mCountDownLatch.countDown(); in testOnGetEid() 135 mCountDownLatch.await(CALLBACK_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testOnGetEid() 145 mCountDownLatch = new CountDownLatch(1); in testOnGetOtaStatus() 153 mCountDownLatch.countDown(); in testOnGetOtaStatus() 158 mCountDownLatch.await(CALLBACK_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testOnGetOtaStatus() 171 mCountDownLatch = new CountDownLatch(1); in testOnGetDownloadableSubscriptionMetadata() 186 mCountDownLatch.await(CALLBACK_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testOnGetDownloadableSubscriptionMetadata() 196 mCountDownLatch = new CountDownLatch(1); in testOnStartOtaIfNecessary() [all …]
|
D | EuiccManagerTest.java | 258 private CountDownLatch mCountDownLatch; field in EuiccManagerTest.CallbackReceiver 261 mCountDownLatch = latch; in CallbackReceiver() 269 mCountDownLatch.countDown(); in onReceive()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSessionManagerTest.java | 133 assertTrue(listener.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetOnVolumeKeyLongPressListener() 146 assertFalse(listener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)); in testSetOnVolumeKeyLongPressListener() 152 assertFalse(listener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)); in testSetOnVolumeKeyLongPressListener() 181 assertTrue(listener.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetOnMediaKeyListener() 187 assertFalse(callback.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)); in testSetOnMediaKeyListener() 195 assertTrue(listener.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetOnMediaKeyListener() 201 assertTrue(callback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetOnMediaKeyListener() 213 assertFalse(listener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)); in testSetOnMediaKeyListener() 258 assertTrue(callback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testRemoteUserInfo() 294 assertTrue(sessionCallback.mCountDownLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testGetSession2Tokens() [all …]
|
D | AudioPlaybackCaptureActivity.java | 54 private CountDownLatch mCountDownLatch; field in AudioPlaybackCaptureActivity 78 mCountDownLatch = new CountDownLatch(1); in onCreate() 107 mCountDownLatch.countDown(); in onActivityResult() 123 } while (!mCountDownLatch.await(timeOutMs, TimeUnit.MILLISECONDS)); in waitForMediaProjection()
|
D | AudioRecordingConfigurationTest.java | 259 private CountDownLatch mCountDownLatch; field in AudioRecordingConfigurationTest.MyAudioRecordingCallback 262 mCountDownLatch = new CountDownLatch(1); in reset() 277 mCountDownLatch.countDown(); in onRecordingConfigChanged() 282 mCountDownLatch.await(timeoutMs, TimeUnit.MILLISECONDS); in await()
|
D | Utils.java | 165 if (!callback.mCountDownLatch.await(TEST_TIMING_TOLERANCE_MS, TimeUnit.MILLISECONDS) in assertMediaPlaybackStarted() 183 private final CountDownLatch mCountDownLatch = new CountDownLatch(1); field in Utils.TestAudioPlaybackCallback 191 mCountDownLatch.countDown(); in onPlaybackConfigChanged()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | TestLocationListener.java | 37 private final CountDownLatch mCountDownLatch; field in TestLocationListener 41 mCountDownLatch = new CountDownLatch(locationToCollect); in TestLocationListener() 49 mCountDownLatch.countDown(); in onLocationChanged() 71 return TestUtils.waitFor(mCountDownLatch, TIMEOUT_IN_SEC); in await() 75 return TestUtils.waitFor(mCountDownLatch, timeInSec); in await()
|
D | TestGnssNavigationMessageListener.java | 42 private final CountDownLatch mCountDownLatch; field in TestGnssNavigationMessageListener 46 mCountDownLatch = new CountDownLatch(1); in TestGnssNavigationMessageListener() 55 mCountDownLatch.countDown(); in onGnssNavigationMessageReceived() 63 mCountDownLatch.countDown(); in onStatusChanged() 69 return TestUtils.waitFor(mCountDownLatch, TIMEOUT_IN_SEC); in await()
|
D | TestGnssMeasurementListener.java | 47 private final CountDownLatch mCountDownLatch; field in TestGnssMeasurementListener 75 mCountDownLatch = new CountDownLatch(eventsToCollect); in TestGnssMeasurementListener() 113 mCountDownLatch.countDown(); in onGnssMeasurementsReceived() 122 mCountDownLatch.countDown(); in onGnssMeasurementsReceived() 138 return TestUtils.waitFor(mCountDownLatch, MEAS_TIMEOUT_IN_SEC); in await()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SignificantMotionTestActivity.java | 337 private volatile CountDownLatch mCountDownLatch; 355 mCountDownLatch.countDown(); 359 if (mCountDownLatch != null) { 360 mCountDownLatch.countDown(); 421 mCountDownLatch = new CountDownLatch(1); 422 mCountDownLatch.await(TRIGGER_MAX_DELAY_SECONDS, TimeUnit.SECONDS);
|
D | OffBodySensorTestActivity.java | 104 private volatile CountDownLatch mCountDownLatch; field in OffBodySensorTestActivity.SensorEventVerifier 146 if (mCountDownLatch != null) { in releaseLatch() 147 mCountDownLatch.countDown(); in releaseLatch() 240 mCountDownLatch = new CountDownLatch(1); in waitForEvent() 246 mCountDownLatch.await(LLOB_EVENT_MAX_DELAY_SEC, TimeUnit.SECONDS); in waitForEvent() 266 mCountDownLatch = new CountDownLatch(1); in waitForSensorEvent() 267 mCountDownLatch.await(LLOB_EVENT_MAX_DELAY_SEC, TimeUnit.SECONDS); in waitForSensorEvent()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_DownloadsTest.java | 75 private CountDownLatch mCountDownLatch; field in MediaStore_DownloadsTest 289 mCountDownLatch.countDown(); in testNotifyChange() 299 mCountDownLatch = new CountDownLatch(1); in testNotifyChange() 315 mCountDownLatch.await(NOTIFY_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyChange() 317 mCountDownLatch = new CountDownLatch(1); in testNotifyChange() 322 mCountDownLatch.await(NOTIFY_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyChange() 324 mCountDownLatch = new CountDownLatch(1); in testNotifyChange() 326 mCountDownLatch.await(NOTIFY_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyChange()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 86 private CountDownLatch mCountDownLatch; field in CapturedActivity 111 mCountDownLatch = new CountDownLatch(1); in onCreate() 176 mCountDownLatch.countDown(); in onActivityResult() 214 } while (!mCountDownLatch.await(timeOutMs, TimeUnit.MILLISECONDS)); in runTest()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractCursorTest.java | 639 private CountDownLatch mCountDownLatch; field in AbstractCursorTest.MockContentObserver 644 mCountDownLatch = new CountDownLatch(1); in MockContentObserver() 650 mCountDownLatch.countDown(); in onChange() 659 mCountDownLatch = new CountDownLatch(1); in resetOnChangeWatch() 663 if (!mCountDownLatch.await(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOnChange()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 337 private final CountDownLatch mCountDownLatch; field in PhoneAccountTest.CalllogContentObserver 341 mCountDownLatch = countDownLatch; in CalllogContentObserver() 347 mCountDownLatch.countDown(); in onChange()
|