/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsNetworkManagerTest.java | 59 private static final int CALLBACK_TIMEOUT_MS = 3000; field in MmsNetworkManagerTest 113 verify(mCm, timeout(CALLBACK_TIMEOUT_MS).times(1)) in testAvailableNetwork_newNetworkIsSuspend() 172 verify(mCm, timeout(CALLBACK_TIMEOUT_MS).times(1)) in testAvailableNetwork_networkUnavailable() 178 verify(mCm, timeout(CALLBACK_TIMEOUT_MS).times(1)) in testAvailableNetwork_networkUnavailable() 193 verify(mCm, timeout(CALLBACK_TIMEOUT_MS).times(1)) in testAvailableNetwork_newNetworkSuspendedEventuallyReleased() 202 verify(mCm, timeout(CALLBACK_TIMEOUT_MS).times(1)) in testAvailableNetwork_newNetworkSuspendedEventuallyReleased() 234 verify(mCm, timeout(CALLBACK_TIMEOUT_MS).times(1)) in acquireAvailableNetworkAndGetCallback() 240 assertEquals(expectApn, future.get(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in acquireAvailableNetworkAndGetCallback()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | JobServiceLoggingCallbackTest.java | 27 private static final long CALLBACK_TIMEOUT_MS = INJECTION_TIMEOUT_MS + 400; field in JobServiceLoggingCallbackTest 34 .setMaxTimeoutMs(CALLBACK_TIMEOUT_MS) in testCustomMethods()
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackTestCase.java | 48 protected static final long CALLBACK_TIMEOUT_MS = INJECTION_TIMEOUT_MS + 400; field in SyncCallbackTestCase 57 .setMaxTimeoutMs(CALLBACK_TIMEOUT_MS); 124 String methodName = mSetCalledMethodQueue.poll(CALLBACK_TIMEOUT_MS, MILLISECONDS); in getSetCalledMethodName() 129 + CALLBACK_TIMEOUT_MS in getSetCalledMethodName() 303 Throwable thrown = actualFailureQueue.poll(CALLBACK_TIMEOUT_MS, MILLISECONDS); in testAssertCalled_interrupted() 444 .setMaxTimeoutMs(CALLBACK_TIMEOUT_MS) in testAssertCalled_failsWhenCalledOnMainThread()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/performance/ |
D | PerfImpactingAppsItemManagerTest.java | 45 private static final int CALLBACK_TIMEOUT_MS = 100; field in PerfImpactingAppsItemManagerTest 85 mCountDownLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in startLoading_getDisabledPackagesCount()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | HibernatedAppsItemManagerTest.java | 52 private static final int CALLBACK_TIMEOUT_MS = 100; field in HibernatedAppsItemManagerTest 83 mCountDownLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in getSummary_getsRightCountForHibernatedPackage()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/builtin/bluetooth/le/ |
D | AdvertisingSetCallbackHelperTest.java | 61 private static final int CALLBACK_TIMEOUT_MS = 1000; field in AdvertisingSetCallbackHelperTest 250 verify(spyCallbackProxy, timeout(CALLBACK_TIMEOUT_MS)) in integrationTest_onAdvertisingSetStarted_onOwnAddressRead()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | PacProxyManagerTest.java | 73 private static final int CALLBACK_TIMEOUT_MS = 3 * 1000; field in PacProxyManagerTest 121 final boolean result = mLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForCallback()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
D | DataSubscriptionController.java | 79 private static final int CALLBACK_TIMEOUT_MS = 1000; field in DataSubscriptionController 143 mLatch = new CountDownLatch(CALLBACK_TIMEOUT_MS); 146 mLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS);
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/ |
D | BrowsedPlayerWrapper.java | 313 static final long CALLBACK_TIMEOUT_MS = 5000; 376 TimeoutHandler.MSG_TIMEOUT, TimeoutHandler.CALLBACK_TIMEOUT_MS);
|
D | MediaPlayerWrapper.java | 383 private static final long CALLBACK_TIMEOUT_MS = 2000; field in MediaPlayerWrapper.TimeoutHandler 445 TimeoutHandler.MSG_TIMEOUT, TimeoutHandler.CALLBACK_TIMEOUT_MS); in trySendMediaUpdate()
|