/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SensorToggleRestrictionTest.java | 94 long deadline = System.nanoTime() + RESTRICTION_WAITING_TIMEOUT_NANO; in testCameraToggle_RestrictionSet_ResetSensorPrivacy() local 95 while (System.nanoTime() < deadline) { in testCameraToggle_RestrictionSet_ResetSensorPrivacy() 113 long deadline = System.nanoTime() + RESTRICTION_WAITING_TIMEOUT_NANO; in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy() local 114 while (System.nanoTime() < deadline) { in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | ClickableToastActivity.java | 46 long deadline = SystemClock.uptimeMillis() + DETECT_TOAST_TIMEOUT_MS; in onCreate() local 47 handler.post(new DetectToastRunnable(getApplicationContext(), toast.getView(), deadline, in onCreate() 94 Context applicationContext, View toastView, long deadline, Handler handler) { in DetectToastRunnable() argument 97 mDeadline = deadline; in DetectToastRunnable()
|
/cts/hostsidetests/devicepolicy/app/SuspensionChecker/src/com/android/cts/suspensionchecker/ |
D | ActivityLaunchTest.java | 52 final long deadline = System.nanoTime() + TimeUnit.MINUTES.toNanos(1); in testWaitForActivityNotLaunchable() local 53 while (System.nanoTime() < deadline) { in testWaitForActivityNotLaunchable()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AlwaysOnVpnTest.java | 199 long deadline = System.nanoTime() + CONNECTIVITY_WAIT_TIME_NS; in waitForConnectivity() local 200 while (System.nanoTime() < deadline) { in waitForConnectivity() 216 long deadline = System.nanoTime() + CONNECTIVITY_WAIT_TIME_NS; in waitForNoConnectivity() local 217 while (System.nanoTime() < deadline) { in waitForNoConnectivity()
|
D | UserRestrictionsParentTest.java | 92 final long deadline = System.nanoTime() + GET_UIAUTOMATION_TIMEOUT_NS; in getUiAutomation() local 93 while (System.nanoTime() < deadline) { in getUiAutomation() 118 final long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(30); in testUserRestrictionDisallowConfigDateTimeIsNotPersisted() local 119 while (System.nanoTime() <= deadline) { in testUserRestrictionDisallowConfigDateTimeIsNotPersisted()
|
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/ |
D | JdwpTunnelTest.java | 133 final Instant deadline = Instant.now().plusSeconds(60); in startupForwarding() local 137 if (Instant.now().isAfter(deadline)) { in startupForwarding() 170 final Instant deadline = Instant.now().plusSeconds(120); in testAttachDebugger() local 184 if (Instant.now().isAfter(deadline)) { in testAttachDebugger() 203 if (Instant.now().isAfter(deadline)) { in testAttachDebugger()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AlarmReceiver.java | 57 final long deadline = SystemClock.elapsedRealtime() + timeOut; in waitForAlarm() local 59 while (sLastAlarmId != alarmId && SystemClock.elapsedRealtime() < deadline) { in waitForAlarm()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | UpdateProviderInfoTest.java | 153 long deadline = Instant.now().plusMillis(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS).toEpochMilli(); in waitAndConfirmComponentName() local 155 while (!passesTest && Instant.now().toEpochMilli() < deadline) { in waitAndConfirmComponentName() 156 long timeout = deadline - Instant.now().toEpochMilli(); in waitAndConfirmComponentName()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 220 Calendar deadline = Calendar.getInstance(); in testHwBinder() local 221 deadline.add(Calendar.SECOND, 10); in testHwBinder() 225 while (!notification.registered && Calendar.getInstance().before(deadline)) { in testHwBinder() 227 notification.condition.awaitUntil(deadline.getTime()); in testHwBinder()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TestUtils.java | 168 long deadline = System.currentTimeMillis() + timeoutMs; in waitForCountedSignals() local 170 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 334 long deadline = SystemClock.elapsedRealtime() + stableThresholdTime; 336 if (deadline < SystemClock.elapsedRealtime()) { 343 deadline = SystemClock.elapsedRealtime() + stableThresholdTime;
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | DelegateTestUtils.java | 126 long deadline = System.nanoTime() + TimeUnit.MINUTES.toNanos(TIMEOUT_MIN); in forceAndWaitForSecurityLogsBroadcast() local 127 while (System.nanoTime() < deadline) { in forceAndWaitForSecurityLogsBroadcast()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/ |
D | DownloadManagerTest.java | 211 long deadline = SystemClock.elapsedRealtime() + timeout; in waitForDownloadComplete() local 214 long millisTillTimeout = deadline - SystemClock.elapsedRealtime(); in waitForDownloadComplete() 222 } while (SystemClock.elapsedRealtime() < deadline); in waitForDownloadComplete()
|
/cts/tests/tests/midi/src/android/midi/cts/ |
D | MidiEchoTest.java | 105 long deadline = System.currentTimeMillis() + msec; in waitForOpen() local 109 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen() 578 long deadline = System.currentTimeMillis() + msec; in waitForStatus() local 582 timeRemaining = deadline - System.currentTimeMillis(); in waitForStatus()
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | QuietModeTest.java | 166 final long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(60); in waitForUserLocked() local 167 while (System.nanoTime() < deadline) { in waitForUserLocked()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FrameMetricsListenerTest.java | 189 long deadline = frameMetrics.getMetric(FrameMetrics.DEADLINE); in callGetMetric() local 206 assertTrue(deadline > 0); in callGetMetric()
|
/cts/tests/tests/nativemidi/java/android/nativemidi/cts/ |
D | NativeMidiEchoTest.java | 133 long deadline = System.currentTimeMillis() + msec; in waitForOpen() local 137 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 282 final long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(timeoutSec); in waitForOutput() local 284 if (System.nanoTime() > deadline) { in waitForOutput()
|