Home
last modified time | relevance | path

Searched refs:timeoutMillis (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DAdvertiseSettingsTest.java46 final int timeoutMillis = 60 * 1000; in testReadWriteParcel() local
51 .setTimeout(timeoutMillis) in testReadWriteParcel()
60 assertEquals(timeoutMillis, settingsFromParcel.getTimeout()); in testReadWriteParcel()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DExternalStorageTest.java164 public void waitForDownloadComplete(long timeoutMillis, long... waitForIds) in waitForDownloadComplete() argument
173 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete()
176 } while ((SystemClock.elapsedRealtime() - startTime) < timeoutMillis); in waitForDownloadComplete()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java337 long timeoutMillis = timeUnit.toMillis(timeout); in get() local
338 long deadlineTimeMillis = System.currentTimeMillis() + timeoutMillis; in get()
342 if ((millisTillDeadline <= 0) || (millisTillDeadline > timeoutMillis)) { in get()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java907 public void waitForCount(int count, long timeoutMillis) { in waitForCount() argument
908 waitForCount(count, timeoutMillis, null); in waitForCount()
911 public void waitForCount(int count, long timeoutMillis, String message) { in waitForCount() argument
917 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in waitForCount()
926 mLock.wait(timeoutMillis); in waitForCount()
/cts/tests/tests/app/src/android/app/cts/
DDownloadManagerTest.java330 public void waitForDownloadComplete(long timeoutMillis, long... waitForIds) in waitForDownloadComplete() argument
339 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete()
342 } while ((SystemClock.elapsedRealtime() - startTime) < timeoutMillis); in waitForDownloadComplete()
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java524 public void waitForCount(int count, long timeoutMillis) throws TimeoutException { in waitForCount() argument
530 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in waitForCount()
534 mLock.wait(timeoutMillis); in waitForCount()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java333 public boolean waitForColor(int color, long timeoutMillis) { in waitForColor() argument
334 long timeoutTime = SystemClock.uptimeMillis() + timeoutMillis; in waitForColor()