Home
last modified time | relevance | path

Searched refs:TIMEOUT_MILLIS (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DReceiveUriActivity.java38 private static final long TIMEOUT_MILLIS = 30 * SECOND_IN_MILLIS; field in ReceiveUriActivity
101 sLock.wait(TIMEOUT_MILLIS); in finishCurInstanceSync()
104 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in finishCurInstanceSync()
128 sLock.wait(TIMEOUT_MILLIS); in waitForStart()
131 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in waitForStart()
143 sLock.wait(TIMEOUT_MILLIS); in waitForNewIntent()
146 if (SystemClock.uptimeMillis() >= (startTime + TIMEOUT_MILLIS)) { in waitForNewIntent()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java54 private static final int TIMEOUT_MILLIS = 15000; field in NetworkUsageStatsTest
136 urlc.setConnectTimeout(TIMEOUT_MILLIS); in exerciseRemoteHost()
270 wait((int)(TIMEOUT_MILLIS * 1.2)); in shouldTestThisNetworkType()
282 "to connect has timed out (timeout = " + TIMEOUT_MILLIS + "ms)." + in shouldTestThisNetworkType()