/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | EventCapturingClickListener.java | 42 long waitTime = 5; // seconds in assertClicked() local 43 view = mViews.poll(waitTime, SECONDS); in assertClicked() 48 + waitTime in assertClicked() 63 long waitTime = 1; // seconds in assertNoneClicked() local 64 View view = mViews.poll(waitTime, SECONDS); in assertNoneClicked()
|
D | EventCapturingLongClickListener.java | 57 long waitTime = 5; // seconds in assertLongClicked() local 58 view = mViews.poll(waitTime, SECONDS); in assertLongClicked() 63 + waitTime in assertLongClicked() 78 long waitTime = 1; // seconds in assertNoneLongClicked() local 79 View view = mViews.poll(waitTime, SECONDS); in assertNoneLongClicked()
|
D | GestureUtils.java | 371 PointF explorePoint, PointF tapPoint, int taps, int waitTime) { 373 long time = waitTime;
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | ProcStateAtomTests.java | 157 final int waitTime = SLEEP_OF_FOREGROUND_SERVICE; in testForegroundService() local 158 RunUtil.getDefault().sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS + EXTRA_WAIT_TIME_MS); in testForegroundService() 163 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, waitTime, PROC_STATE_FUNCTION); in testForegroundService() 176 final int waitTime = EXTRA_WAIT_TIME_MS + 5_000; // Overlay may need to sit there a while. in testForeground() local 177 RunUtil.getDefault().sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testForeground() 194 final int waitTime = SLEEP_OF_ACTION_BACKGROUND_SLEEP; in testBackground() local 195 RunUtil.getDefault().sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS + EXTRA_WAIT_TIME_MS); in testBackground() 200 AtomTestUtils.assertStatesOccurredInOrder(stateSet, data, waitTime, PROC_STATE_FUNCTION); in testBackground() 213 final int waitTime = SLEEP_OF_ACTION_SLEEP_WHILE_TOP; in testTop() local 214 RunUtil.getDefault().sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS + EXTRA_WAIT_TIME_MS); in testTop() [all …]
|
D | UidAtomTests.java | 487 final int waitTime = 5000; in testMediaCodecActivity() local 505 waitTime); in testMediaCodecActivity() local 960 final int waitTime = 10_500; 962 "StatsdCtsForegroundActivity", "action", ACTION_SHOW_APPLICATION_OVERLAY, waitTime);
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AnrMonitor.java | 123 final long waitTime = timeoutUptime - SystemClock.uptimeMillis(); in waitForAnrAndReturnUptime() local 124 if (waitTime <= 0) { in waitForAnrAndReturnUptime() 133 mEventQueue.wait(waitTime); in waitForAnrAndReturnUptime()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/ |
D | UserManagerHelperHeavyTest.java | 141 long waitTime = SystemClock.elapsedRealtime() - startTime; in waitForUserToInitialize() local 143 && waitTime < WAIT_TIME_FOR_OPERATION_MS) { in waitForUserToInitialize() 144 waitTime = SystemClock.elapsedRealtime() - startTime; in waitForUserToInitialize() 145 Log.v(TAG, "Waiting for user to initialize. Wait time in MS:" + waitTime); in waitForUserToInitialize()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | ProcfsHostTests.java | 146 long waitTime = 0; in testFile() local 147 while (waitTime < UPDATE_MAX_WAIT_TIME_MS) { in testFile() 149 waitTime += UPDATE_READ_INTERVAL_MS; in testFile()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 271 long waitTime = timeOutMs; in getAvailableSurfaceTexture() local 273 while (!view.isAvailable() && waitTime > 0) { in getAvailableSurfaceTexture() 276 waitTime -= (SystemClock.elapsedRealtime() - startTimeMs); in getAvailableSurfaceTexture()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | DeviceUtils.java | 525 private static boolean waitForStatsServiceStart(ITestDevice device, long waitTime) in waitForStatsServiceStart() argument 527 LogUtil.CLog.i("Waiting %d ms for stats service to start", waitTime); in waitForStatsServiceStart() 530 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForStatsServiceStart() 537 LogUtil.CLog.w("Stats service did not start after %d ms", waitTime); in waitForStatsServiceStart()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | SoundPoolTest.java | 349 final long waitTime = in testAutoPauseResume() local 351 assertTrue(waitTime > 0); in testAutoPauseResume() 352 done.wait(waitTime); in testAutoPauseResume()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | MmsTest.java | 195 long waitTime = timeout; in waitForSuccess() local 196 while (!mDone && waitTime > 0) { in waitForSuccess() 198 mLock.wait(waitTime); in waitForSuccess() 202 waitTime = timeout - (SystemClock.elapsedRealtime() - startTime); in waitForSuccess()
|
D | SmsManagerTest.java | 1065 long waitTime = timeout - (SystemClock.elapsedRealtime() - startTime); in waitForCalls() local 1066 if (waitTime > 0) { in waitForCalls() 1067 mLock.wait(waitTime); in waitForCalls()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteQueryBuilderTest.java | 469 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local 470 if (waitTime > 150 * 1000000L) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() 532 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local 533 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/ |
D | InteractiveVerifierActivity.java | 373 protected void delay(long waitTime) { in delay() argument 375 mHandler.postDelayed(mRunner, waitTime); in delay()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | ScanResultTest.java | 214 long waitTime = System.currentTimeMillis() + timeout; in waitForBroadcast() local 215 while (System.currentTimeMillis() < waitTime in waitForBroadcast()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | InteractiveVerifierActivity.java | 450 protected void delay(long waitTime) { in delay() argument 452 mHandler.postDelayed(mRunner, waitTime); in delay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerStateHelper.java | 449 public void waitAndAssertAppFocus(String appPackageName, long waitTime) { 460 }).setRetryIntervalMs(100).setRetryLimit((int) waitTime / 100));
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 984 long waitTime = 0; in waitForCompletion() local 986 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion() 989 waitTime += WAIT_TIME_INCR; in waitForCompletion()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 645 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local 646 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessStateTest.java | 282 private void waitForAppFocus(String waitForApp, long waitTime) { in waitForAppFocus() argument 284 long waitUntil = SystemClock.elapsedRealtime() + waitTime; in waitForAppFocus()
|