Home
last modified time | relevance | path

Searched refs:TIMEOUT_MS (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DScannerNotificationReceiver.java30 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()
DOutputSurface.java231 final int TIMEOUT_MS = 500; in awaitNewImage() local
238 mFrameSyncObject.wait(TIMEOUT_MS); in awaitNewImage()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DVoiceSettingsTestBase.java35 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/
DParentalControlTestActivity.java43 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()
DTimeShiftTestActivity.java34 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()
DMultipleTracksTestActivity.java44 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()
DTvInputDiscoveryTestActivity.java42 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()
DTvAppVerifierActivity.java38 private static final long TIMEOUT_MS = 5l * 60l * 1000l; // 5 mins. field in TvAppVerifierActivity
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/
DAlarmClockTestBase.java37 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/
DUtils.java64 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/
DVoiceInteractionTest.java39 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/
DBlockingInputAllocation.java167 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/
DVpnTest.java80 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/
DSystemUpdatePolicyTest.java35 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/
DAssistantContentViewTest.java80 if (!mContentViewLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForContentView()
81 fail("failed to receive content view in " + Utils.TIMEOUT_MS + "msec"); in waitForContentView()
DLifecycleTest.java95 if (mActivityLifecycleLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitAndSeeIfLifecycleMethodsAreTriggered()
DAssistTestBase.java128 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/
DActivityTestsBase.java30 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/
DActivityTestsBase.java30 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/
DCtsMediaOutputSurface.java235 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/
DConnectivityManagerLegacyTest.java181 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/
DAccessPermissionWithDiffSigTest.java432 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/
DCtsTest.java747 final int TIMEOUT_MS = 10 * 60 * 1000; in rebootDevice() local
752 options.setRebootTimeout(TIMEOUT_MS); in rebootDevice()
753 options.setOnlineTimeout(TIMEOUT_MS); in rebootDevice()