Searched refs:timeoutMillis (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | AdvertiseSettingsTest.java | 46 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/ |
D | ExternalStorageTest.java | 164 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/ |
D | NetworkSecurityPolicyTestBase.java | 337 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/ |
D | BaseTelecomTestWithMockServices.java | 907 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/ |
D | DownloadManagerTest.java | 330 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/ |
D | BasePrintTest.java | 524 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/ |
D | VirtualDisplayTest.java | 333 public boolean waitForColor(int color, long timeoutMillis) { in waitForColor() argument 334 long timeoutTime = SystemClock.uptimeMillis() + timeoutMillis; in waitForColor()
|