/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20944/test-app/src/android/security/cts/CVE_2023_20944_test/ |
D | DeviceTest.java | 51 final int waitMs = 5000; in testCVE_2023_20944() local 88 targetReturn.tryAcquire(waitMs, TimeUnit.MILLISECONDS)); in testCVE_2023_20944() 95 pocReturn.tryAcquire(waitMs, TimeUnit.MILLISECONDS)); in testCVE_2023_20944() 106 && System.currentTimeMillis() - start < waitMs) { in testCVE_2023_20944()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21088/src/android/security/cts/CVE_2023_21088/ |
D | PocActivity.java | 37 final int waitMs = 2000; in onResume() local 61 handler.postDelayed(runnable, waitMs); in onResume()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | EventTracker.java | 127 final long waitMs = timeout - System.currentTimeMillis(); in waitForConditionWithTimeout() local 128 if (waitMs <= 0) { in waitForConditionWithTimeout()
|
/cts/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/ |
D | MockWifiModemService.java | 104 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 115 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockModemManager.java | 821 public boolean waitForNetworkLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 824 .waitForLatchCountdown(latchIndex, waitMs); in waitForNetworkLatchCountdown() 844 public boolean waitForVoiceLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 847 .waitForLatchCountdown(latchIndex, waitMs); in waitForVoiceLatchCountdown() 965 public boolean waitForImsLatchCountdown(int latchIndex, int waitMs) { in waitForImsLatchCountdown() argument 966 return mMockModemService.getIRadioIms().waitForLatchCountdown(latchIndex, waitMs); in waitForImsLatchCountdown() 1130 public boolean waitForModemLatchCountdown(int slotId, int waitMs) { in waitForModemLatchCountdown() argument 1133 .waitForLatchCountdown(slotId, waitMs); in waitForModemLatchCountdown()
|
D | MockImsService.java | 244 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 252 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
D | IRadioImsImpl.java | 350 public boolean waitForLatchCountdown(int latchIndex, int waitMs) { in waitForLatchCountdown() argument 351 return mImsState.waitForLatchCountdown(latchIndex, waitMs); in waitForLatchCountdown()
|
D | MockModemService.java | 248 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 255 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
D | IRadioModemImpl.java | 580 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 588 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
D | MockNetworkService.java | 755 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 763 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
D | IRadioNetworkImpl.java | 1253 public boolean waitForLatchCountdown(int latchIndex, int waitMs) { in waitForLatchCountdown() argument 1254 return mServiceState.waitForLatchCountdown(latchIndex, waitMs); in waitForLatchCountdown()
|
D | IRadioVoiceImpl.java | 1160 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 1168 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | DomainSelectionServiceTestOnMockModem.java | 447 private boolean waitForNetworkLatchCountdown(int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 448 return sMockModemManager.waitForNetworkLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForNetworkLatchCountdown() 455 private boolean waitForVoiceLatchCountdown(int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 456 return sMockModemManager.waitForVoiceLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForVoiceLatchCountdown()
|
D | TestDomainSelectionService.java | 249 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 257 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
D | DomainSelectionCallingBase.java | 102 protected boolean callingTestLatchCountdown(int latchIndex, int waitMs) { in callingTestLatchCountdown() argument 109 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in callingTestLatchCountdown()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | DomainSelectionCrossSimRedialingTestOnMockModem.java | 445 private boolean waitForVoiceLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 446 return sMockModemManager.waitForVoiceLatchCountdown(slotId, latchIndex, waitMs); in waitForVoiceLatchCountdown() 465 public boolean waitForNetworkLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 466 return sMockModemManager.waitForNetworkLatchCountdown(slotId, latchIndex, waitMs); in waitForNetworkLatchCountdown()
|
D | TestImsService.java | 679 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 687 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
|
D | ImsCallingTestOnMockModem.java | 544 public boolean waitForMockImsStateLatchCountdown(int latchIndex, int waitMs) { in waitForMockImsStateLatchCountdown() argument 545 return sMockModemManager.waitForImsLatchCountdown(latchIndex, waitMs); in waitForMockImsStateLatchCountdown()
|
D | ImsCallingBase.java | 140 public boolean callingTestLatchCountdown(int latchIndex, int waitMs) { in callingTestLatchCountdown() argument 147 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in callingTestLatchCountdown()
|
D | EmergencyCallDomainSelectionTestOnMockModem.java | 1463 public boolean waitForNetworkLatchCountdown(int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 1464 return sMockModemManager.waitForNetworkLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForNetworkLatchCountdown() 1471 public boolean waitForVoiceLatchCountdown(int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 1472 return sMockModemManager.waitForVoiceLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForVoiceLatchCountdown()
|
D | MmTelFeatureTestOnMockModem.java | 729 public boolean waitForMockImsStateLatchCountdown(int latchIndex, int waitMs) { 730 return sMockModemManager.waitForImsLatchCountdown(latchIndex, waitMs);
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ActivityManagerTest.java | 369 final long waitMs = timeout - System.currentTimeMillis(); in waitUntil() local 370 if (waitMs <= 0) break; in waitUntil()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaController2Test.java | 423 public boolean await(long waitMs) { in await() argument 425 return mOnSessionCommandLatch.await(waitMs, TimeUnit.MILLISECONDS); in await()
|
D | MediaSessionTest.java | 1324 public boolean await(long waitMs) { in await() argument 1326 return mLatch.await(waitMs, TimeUnit.MILLISECONDS); in await()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioManagerTest.java | 2924 long waitMs = initialMs; in pollWithBackoff() local 2933 waitMs = Math.min(Math.min(waitMs + backoff, maxBackoff), timeLeft); in pollWithBackoff() 2934 SystemClock.sleep(waitMs); in pollWithBackoff()
|