Searched refs:CALLBACK_TIMEOUT (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 142 private static final int CALLBACK_TIMEOUT = 5_000; field in UserHalServiceTest 389 CALLBACK_TIMEOUT); in testGetUserInfo_halSetTimedOut() 405 CALLBACK_TIMEOUT); in testGetUserInfo_halDidNotReply() 417 CALLBACK_TIMEOUT); in testGetUserInfo_secondCallFailWhilePending() 419 CALLBACK_TIMEOUT); in testGetUserInfo_secondCallFailWhilePending() 443 CALLBACK_TIMEOUT); in testGetUserInfo_halReplyWithWrongRequestId() 461 CALLBACK_TIMEOUT); in testGetUserInfo_halReturnedInvalidAction() 488 CALLBACK_TIMEOUT); in getUserInfoSuccessTest() 519 eq(UserHandle.USER_NULL), eq(0), eq("")), timeout(CALLBACK_TIMEOUT).times(count)); in getUserInfoSuccessTest() 533 CALLBACK_TIMEOUT); in testGetUserInfo_successSwitchUser() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/ |
D | MeasurementManagerCtsTest.java | 70 private static final long CALLBACK_TIMEOUT = 5_000L; field in MeasurementManagerCtsTest 133 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); in testRegisterSource_withNoServerSetupWithCallbackOsReceiver_noErrors() 146 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); in testRegisterSource_withNoServerSetupWithCallbackCustomReceiver_noErrors() 171 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithOsReceiver_fails() 196 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithCustomReceiver_fails() 270 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); 282 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); 358 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); 370 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); 458 assertThat(countDownLatch.await(CALLBACK_TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); [all …]
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | ThreadNetworkControllerWrapper.java | 21 import static android.net.thread.utils.IntegrationTestUtils.CALLBACK_TIMEOUT; 48 private static final Duration CALLBACK_TIMEOUT = Duration.ofSeconds(1); field in ThreadNetworkControllerWrapper 93 return future.get(CALLBACK_TIMEOUT.toSeconds(), SECONDS); in getEnabledState() 113 return future.get(CALLBACK_TIMEOUT.toSeconds(), SECONDS); in getDeviceRole() 191 future.get(CALLBACK_TIMEOUT.toSeconds(), SECONDS); in setTestNetworkAsUpstreamAndWait()
|
D | IntegrationTestUtils.java | 84 public static final Duration CALLBACK_TIMEOUT = Duration.ofSeconds(1); field in IntegrationTestUtils
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | ThreadIntegrationTest.java | 22 import static android.net.thread.utils.IntegrationTestUtils.CALLBACK_TIMEOUT; 142 mController.waitForRole(DEVICE_ROLE_STOPPED, CALLBACK_TIMEOUT); in otDaemonRestart_notJoinedAndStopped_deviceRoleIsStopped() 152 mController.waitForRole(DEVICE_ROLE_DETACHED, CALLBACK_TIMEOUT); in otDaemonRestart_JoinedNetworkAndStopped_autoRejoinedAndTunIfStateConsistent() 205 mController.waitForRole(DEVICE_ROLE_STOPPED, CALLBACK_TIMEOUT); in otDaemonRestart_latestCountryCodeIsSetToOtDaemon() 285 LinkProperties lp = cm.getLinkProperties(getThreadNetwork(CALLBACK_TIMEOUT)); in addPrefixToNetData_routeIsAddedToTunInterface() 307 LinkProperties lp = cm.getLinkProperties(getThreadNetwork(CALLBACK_TIMEOUT)); in removePrefixFromNetData_routeIsRemovedFromTunInterface() 324 LinkProperties lp = cm.getLinkProperties(getThreadNetwork(CALLBACK_TIMEOUT)); in toggleThreadNetwork_routeFromPreviousNetDataIsRemoved()
|
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/ |
D | MeasurementCompatibleManagerTest.java | 83 private static final long CALLBACK_TIMEOUT = 1000L; field in MeasurementCompatibleManagerTest 159 verify(callback, after(CALLBACK_TIMEOUT)).onError(any()); in testRegisterSource_BindServiceFailure_propagateErrorCallback() 326 verify(callback, after(CALLBACK_TIMEOUT)).onError(any()); in testRegisterTrigger_BindServiceFailure_propagateErrorCallback() 340 verify(callback, after(CALLBACK_TIMEOUT)).onError(any()); in testRegisterWebSource_BindServiceFailure_propagateErrorCallback() 354 verify(callback, after(CALLBACK_TIMEOUT)).onError(any()); in testRegisterWebTrigger_BindServiceFailure_propagateErrorCallback() 1415 verify(callback, after(CALLBACK_TIMEOUT)).onError(any()); in testRegisterSourceMulti_BindServiceFailure_propagateErrorCallback()
|