/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 30 private static final int TIMEOUT_MS = 4 * 60 * 1000; field in ScannerNotificationReceiver 47 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForBroadcast() 49 MediaScannerTest.fail("Failed to receive broadcast in " + TIMEOUT_MS + "ms for " in waitForBroadcast()
|
D | OutputSurface.java | 231 final int TIMEOUT_MS = 500; in awaitNewImage() local 238 mFrameSyncObject.wait(TIMEOUT_MS); in awaitNewImage()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | VoiceSettingsTestBase.java | 35 protected static final int TIMEOUT_MS = 20 * 1000; field in VoiceSettingsTestBase 85 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startTestAndWaitForBroadcast() 86 fail("Failed to receive broadcast in " + TIMEOUT_MS + "msec"); in startTestAndWaitForBroadcast()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | ParentalControlTestActivity.java | 43 private static final long TIMEOUT_MS = 5l * 60l * 1000l; // 5 mins. field in ParentalControlTestActivity 64 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick() 82 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick() 100 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick()
|
D | TimeShiftTestActivity.java | 34 private static final long TIMEOUT_MS = TimeUnit.MINUTES.toMillis(5); field in TimeShiftTestActivity 67 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick() 105 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick() 141 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick()
|
D | MultipleTracksTestActivity.java | 44 private static final long TIMEOUT_MS = 5l * 60l * 1000l; // 5 mins. field in MultipleTracksTestActivity 66 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick() 103 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick()
|
D | TvInputDiscoveryTestActivity.java | 42 private static final long TIMEOUT_MS = 5l * 60l * 1000l; // 5 mins. field in TvInputDiscoveryTestActivity 67 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick() 85 postTarget.postDelayed(failCallback, TIMEOUT_MS); in onClick()
|
D | TvAppVerifierActivity.java | 38 private static final long TIMEOUT_MS = 5l * 60l * 1000l; // 5 mins. field in TvAppVerifierActivity
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
D | AlarmClockTestBase.java | 37 protected static final int TIMEOUT_MS = 20 * 1000; field in AlarmClockTestBase 114 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in runTest() 115 fail("Failed to receive broadcast in " + TIMEOUT_MS + "msec"); in runTest()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | Utils.java | 64 public static final int TIMEOUT_MS = 2 * 1000; field in Utils 177 return TIMEOUT_MS + ACTIVITY_ONRESUME_TIMEOUT_MS; in getAssistDataTimeout() 179 return TIMEOUT_MS; in getAssistDataTimeout()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 39 private static final int TIMEOUT_MS = 20 * 1000; field in VoiceInteractionTest 76 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testAll() 77 fail("Failed to receive broadcast in " + TIMEOUT_MS + "msec"); in testAll()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | BlockingInputAllocation.java | 167 private static final int TIMEOUT_MS = 5000; field in BlockingInputAllocation.OnBufferAvailableListener 185 mBufferSyncObject.wait(TIMEOUT_MS); in waitForBuffer()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 80 public static int TIMEOUT_MS = 3 * 1000; field in VpnTest 142 if (okButton.waitForExists(TIMEOUT_MS) == false) { in prepareVpn() 154 int result = mActivity.getResult(TIMEOUT_MS); in prepareVpn() 163 fail("VPN confirmation dialog did not return after " + TIMEOUT_MS + "ms"); in prepareVpn() 209 mLock.wait(TIMEOUT_MS); in startVpn() 215 fail("VPN did not become available after " + TIMEOUT_MS + "ms"); in startVpn() 251 mLockShutdown.wait(TIMEOUT_MS); in stopVpn()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 35 private static final int TIMEOUT_MS = 20_000; field in SystemUpdatePolicyTest 136 mPolicyChangedSemaphore.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in waitForBroadcast()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistantContentViewTest.java | 80 if (!mContentViewLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForContentView() 81 fail("failed to receive content view in " + Utils.TIMEOUT_MS + "msec"); in waitForContentView()
|
D | LifecycleTest.java | 95 if (mActivityLifecycleLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitAndSeeIfLifecycleMethodsAreTriggered()
|
D | AssistTestBase.java | 128 if (!latch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForAssistantToBeReady() 129 fail("Assistant was not ready before timeout of: " + Utils.TIMEOUT_MS + "msec"); in waitForAssistantToBeReady()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityTestsBase.java | 30 private static final int TIMEOUT_MS = 60 * 1000; field in ActivityTestsBase 131 return waitForResultOrThrow(TIMEOUT_MS); in runLaunchpad()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ActivityTestsBase.java | 30 private static final int TIMEOUT_MS = 60 * 1000; field in ActivityTestsBase 131 return waitForResultOrThrow(TIMEOUT_MS); in runLaunchpad()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaOutputSurface.java | 235 final int TIMEOUT_MS = 500; in awaitNewImage() local 242 mFrameSyncObject.wait(TIMEOUT_MS); in awaitNewImage()
|
/cts/tests/tests/netlegacy22/api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 181 final int TIMEOUT_MS = 30 * 1000; in expectNetworkBroadcast() local 203 " after " + TIMEOUT_MS + " ms"; in expectNetworkBroadcast() 204 assertTrue(msg, var.block(TIMEOUT_MS)); in expectNetworkBroadcast()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 432 static final int TIMEOUT_MS = 30000; field in AccessPermissionWithDiffSigTest.GrantResultReceiver 460 wait(TIMEOUT_MS); in assertSuccess() 463 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MS)) { in assertSuccess() 481 wait(TIMEOUT_MS); in assertFailure() 484 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MS)) { in assertFailure()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | CtsTest.java | 747 final int TIMEOUT_MS = 10 * 60 * 1000; in rebootDevice() local 752 options.setRebootTimeout(TIMEOUT_MS); in rebootDevice() 753 options.setOnlineTimeout(TIMEOUT_MS); in rebootDevice()
|