/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecClientWrapper.java | 213 long timeoutMillis) throws Exception { in checkConsoleOutput() argument 218 while ((endTime - startTime <= timeoutMillis)) { in checkConsoleOutput() 283 long timeoutMillis) throws Exception { in checkExpectedOutput() argument 284 return checkExpectedOutput(LogicalAddress.BROADCAST, expectedMessage, timeoutMillis); in checkExpectedOutput() 293 long timeoutMillis) throws Exception { in checkExpectedOutput() argument 302 while ((endTime - startTime <= timeoutMillis)) { in checkExpectedOutput() 333 long timeoutMillis) throws Exception { in checkOutputDoesNotContainMessage() argument 343 while ((endTime - startTime <= timeoutMillis)) { in checkOutputDoesNotContainMessage()
|
/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/tests/tests/telecom/src/android/telecom/cts/ |
D | TestUtils.java | 593 public void waitForCount(int count, long timeoutMillis) { in waitForCount() argument 594 waitForCount(count, timeoutMillis, null); in waitForCount() 597 public void waitForCount(long timeoutMillis) { in waitForCount() argument 600 mLock.wait(timeoutMillis); in waitForCount() 607 public void waitForCount(int count, long timeoutMillis, String message) { in waitForCount() argument 613 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in waitForCount() 622 mLock.wait(timeoutMillis); in waitForCount() 636 public void waitForPredicate(Predicate predicate, long timeoutMillis) { in waitForPredicate() argument 640 long remainingTimeMillis = timeoutMillis; in waitForPredicate() 645 mLock.wait(timeoutMillis); in waitForPredicate() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | WindowChangeTimeoutException.java | 24 public WindowChangeTimeoutException(@NonNull Throwable cause, long timeoutMillis) { in WindowChangeTimeoutException() argument 25 super(cause, "no window change event in %dms", timeoutMillis); in WindowChangeTimeoutException()
|
D | UiBot.java | 901 public AccessibilityEvent waitForWindowChange(Runnable runnable, long timeoutMillis) { 912 }, timeoutMillis); 914 throw new WindowChangeTimeoutException(e, timeoutMillis);
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | WaitForResultActivity.java | 46 public Pair<Integer, Intent> waitForActivityResult(long timeoutMillis) in waitForActivityResult() argument 48 mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForActivityResult()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 207 int timeoutMillis = 1000; in testSetSoTimeout_readTimeout() local 208 clientSocket.setSoTimeout(timeoutMillis); in testSetSoTimeout_readTimeout() 220 int allowedTime = timeoutMillis + 2000; in testSetSoTimeout_readTimeout() 237 int timeoutMillis = 1000; in testSetSoTimeout_writeTimeout() local 238 clientSocket.setSoTimeout(timeoutMillis); in testSetSoTimeout_writeTimeout() 255 int allowedTime = timeoutMillis + 2000; in testSetSoTimeout_writeTimeout()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 81 public @Nullable Intent awaitForBroadcast(long timeoutMillis) { in awaitForBroadcast() argument 83 return mBlockingQueue.poll(timeoutMillis, TimeUnit.MILLISECONDS); in awaitForBroadcast()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 86 public @Nullable Intent awaitForBroadcast(long timeoutMillis) { in awaitForBroadcast() argument 88 return mBlockingQueue.poll(timeoutMillis, TimeUnit.MILLISECONDS); in awaitForBroadcast()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ExternalStorageTest.java | 167 public void waitForDownloadComplete(long timeoutMillis, long... waitForIds) in waitForDownloadComplete() argument 176 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete() 179 } while ((SystemClock.elapsedRealtime() - startTime) < timeoutMillis); in waitForDownloadComplete()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 422 public boolean awaitExecution(long timeoutMillis) throws InterruptedException { in awaitExecution() argument 423 final boolean executed = mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitExecution() 439 public boolean awaitTimeout(long timeoutMillis) throws InterruptedException { in awaitTimeout() argument 440 return !mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitTimeout()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 422 public boolean awaitExecution(long timeoutMillis) throws InterruptedException { in awaitExecution() argument 423 final boolean executed = mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitExecution() 439 public boolean awaitTimeout(long timeoutMillis) throws InterruptedException { in awaitTimeout() argument 440 return !mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitTimeout()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | ActionChargingTest.java | 74 public void await(long timeoutMillis) throws InterruptedException { in await() argument 76 mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)); in await()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateImagesActivity.java | 205 public boolean waitForCompletion(long timeoutMillis) throws InterruptedException { in waitForCompletion() argument 206 return mLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForCompletion()
|
/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/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityService.java | 208 long timeoutMillis) { in getInstanceForClass() argument 209 final long timeoutTimeMillis = SystemClock.uptimeMillis() + timeoutMillis; in getInstanceForClass()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | VisualVoicemailServiceTest.java | 632 public void assertReceived(long timeoutMillis) { in assertReceived() argument 634 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in assertReceived() 640 public void assertNotReceived(long timeoutMillis) { in assertNotReceived() argument 642 mFuture.get(timeoutMillis, TimeUnit.MILLISECONDS); in assertNotReceived()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | ActivityLaunchUtils.java | 215 BooleanSupplier condition, long timeoutMillis, String conditionName) { in executeAndWaitOn() argument 228 TestUtils.waitOn(waitObject, condition, timeoutMillis, conditionName); in executeAndWaitOn()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 443 public void waitForDownloadComplete(long timeoutMillis, long... waitForIds) in waitForDownloadComplete() argument 452 mCompleteIds.wait(timeoutMillis); in waitForDownloadComplete() 455 } while ((SystemClock.elapsedRealtime() - startTime) < timeoutMillis); in waitForDownloadComplete()
|
/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()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 1022 public void waitForCount(int count, long timeoutMillis) throws TimeoutException { in waitForCount() argument 1028 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in waitForCount() 1032 mLock.wait(timeoutMillis); in waitForCount()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 871 long timeoutMillis) throws Exception { in tryWaitForSuccess() argument 873 while (System.currentTimeMillis() - epoch <= timeoutMillis) { in tryWaitForSuccess()
|