Home
last modified time | relevance | path

Searched refs:CALLBACK_TIMEOUT_MS (Results 1 – 10 of 10) sorted by relevance

/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DMmsNetworkManagerTest.java59 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/
DJobServiceLoggingCallbackTest.java27 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/
DSyncCallbackTestCase.java48 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/
DPerfImpactingAppsItemManagerTest.java45 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/
DHibernatedAppsItemManagerTest.java52 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/
DAdvertisingSetCallbackHelperTest.java61 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/
DPacProxyManagerTest.java73 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/
DDataSubscriptionController.java79 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/
DBrowsedPlayerWrapper.java313 static final long CALLBACK_TIMEOUT_MS = 5000;
376 TimeoutHandler.MSG_TIMEOUT, TimeoutHandler.CALLBACK_TIMEOUT_MS);
DMediaPlayerWrapper.java383 private static final long CALLBACK_TIMEOUT_MS = 2000; field in MediaPlayerWrapper.TimeoutHandler
445 TimeoutHandler.MSG_TIMEOUT, TimeoutHandler.CALLBACK_TIMEOUT_MS); in trySendMediaUpdate()