Home
last modified time | relevance | path

Searched refs:waitMs (Results 1 – 25 of 25) sorted by relevance

/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20944/test-app/src/android/security/cts/CVE_2023_20944_test/
DDeviceTest.java51 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/
DPocActivity.java37 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/
DEventTracker.java127 final long waitMs = timeout - System.currentTimeMillis(); in waitForConditionWithTimeout() local
128 if (waitMs <= 0) { in waitForConditionWithTimeout()
/cts/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/
DMockWifiModemService.java104 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/
DMockModemManager.java821 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()
DMockImsService.java244 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument
252 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
DIRadioImsImpl.java350 public boolean waitForLatchCountdown(int latchIndex, int waitMs) { in waitForLatchCountdown() argument
351 return mImsState.waitForLatchCountdown(latchIndex, waitMs); in waitForLatchCountdown()
DMockModemService.java248 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument
255 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
DIRadioModemImpl.java580 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument
588 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
DMockNetworkService.java755 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument
763 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
DIRadioNetworkImpl.java1253 public boolean waitForLatchCountdown(int latchIndex, int waitMs) { in waitForLatchCountdown() argument
1254 return mServiceState.waitForLatchCountdown(latchIndex, waitMs); in waitForLatchCountdown()
DIRadioVoiceImpl.java1160 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/
DDomainSelectionServiceTestOnMockModem.java447 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()
DTestDomainSelectionService.java249 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument
257 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
DDomainSelectionCallingBase.java102 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/
DDomainSelectionCrossSimRedialingTestOnMockModem.java445 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()
DTestImsService.java679 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument
687 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in waitForLatchCountdown()
DImsCallingTestOnMockModem.java544 public boolean waitForMockImsStateLatchCountdown(int latchIndex, int waitMs) { in waitForMockImsStateLatchCountdown() argument
545 return sMockModemManager.waitForImsLatchCountdown(latchIndex, waitMs); in waitForMockImsStateLatchCountdown()
DImsCallingBase.java140 public boolean callingTestLatchCountdown(int latchIndex, int waitMs) { in callingTestLatchCountdown() argument
147 complete = latch.await(waitMs, TimeUnit.MILLISECONDS); in callingTestLatchCountdown()
DEmergencyCallDomainSelectionTestOnMockModem.java1463 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()
DMmTelFeatureTestOnMockModem.java729 public boolean waitForMockImsStateLatchCountdown(int latchIndex, int waitMs) {
730 return sMockModemManager.waitForImsLatchCountdown(latchIndex, waitMs);
/cts/tests/tests/security/src/android/security/cts/
DActivityManagerTest.java369 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/
DMediaController2Test.java423 public boolean await(long waitMs) { in await() argument
425 return mOnSessionCommandLatch.await(waitMs, TimeUnit.MILLISECONDS); in await()
DMediaSessionTest.java1324 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/
DAudioManagerTest.java2924 long waitMs = initialMs; in pollWithBackoff() local
2933 waitMs = Math.min(Math.min(waitMs + backoff, maxBackoff), timeLeft); in pollWithBackoff()
2934 SystemClock.sleep(waitMs); in pollWithBackoff()