Searched refs:TIMEOUT_SEC (Results 1 – 5 of 5) sorted by relevance
38 private static final long TIMEOUT_SEC = 30; field in PermissionBroadcastReceiver51 Integer result = mResultsQueue.poll(TIMEOUT_SEC, TimeUnit.SECONDS); in waitForBroadcast()54 TIMEOUT_SEC).that(result).isNotNull(); in waitForBroadcast()
39 private static final long TIMEOUT_SEC = 60; field in SetTimeTest71 latch.await(TIMEOUT_SEC, TimeUnit.SECONDS)); in testSetTimeWithValue()73 System.currentTimeMillis() <= testTime + (TIMEOUT_SEC + 1) * 1000); in testSetTimeWithValue()106 latch.await(TIMEOUT_SEC, TimeUnit.SECONDS)); in testSetTimeZoneWithValue()
37 private static final int TIMEOUT_SEC = 5; field in AirplaneModeRestrictionTest70 assertTrue(latch.await(TIMEOUT_SEC, TimeUnit.SECONDS)); in testAirplaneModeTurnedOffWhenRestrictionSet()
96 private static final int TIMEOUT_SEC = 3; field in OrientationTestUtils.Observer115 assertTrue(mLatch.get().await(TIMEOUT_SEC, TimeUnit.SECONDS)); in await()
57 private static final int TIMEOUT_SEC = 5; field in SystemUpdatePolicyTest503 if (!latch.await(TIMEOUT_SEC, TimeUnit.SECONDS)) { in setAirplaneModeAndWaitBroadcast()504 Log.d(TAG, "Failed to receive broadcast in " + TIMEOUT_SEC + "sec"); in setAirplaneModeAndWaitBroadcast()