Searched refs:TIMEOUT_SEC (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/ |
D | DeviceLockControllerConnectorStubTest.java | 44 private static final int TIMEOUT_SEC = 5; field in DeviceLockControllerConnectorStubTest 57 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withUndefinedState_shouldLockDevice() 64 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withLockedState_shouldLockDevice() 67 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withLockedState_shouldLockDevice() 74 unlockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withUnlockedState_shouldLockDevice() 77 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withUnlockedState_shouldLockDevice() 84 clearDeviceRestrictionsAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withClearedState_shouldThrowException() 88 () -> lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS)); in lockDevice_withClearedState_shouldThrowException() 98 unlockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in unlockDevice_withUndefinedState_shouldUnlockDevice() 105 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in unlockDevice_withLockedState_shouldUnlockDevice() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | ScenarioDispatcher.java | 21 import static android.adservices.utils.Scenarios.TIMEOUT_SEC; 125 if (!mUniqueCallCount.await(TIMEOUT_SEC, TimeUnit.SECONDS)) { in getCalledPaths()
|
D | Scenarios.java | 31 static final int TIMEOUT_SEC = 8; field in Scenarios
|