/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | HostAtomTests.java | 66 Thread.sleep(WAIT_TIME_SHORT); in testScreenStateChangedAtom() 68 Thread.sleep(WAIT_TIME_SHORT); in testScreenStateChangedAtom() 86 Thread.sleep(WAIT_TIME_SHORT); in testScreenStateChangedAtom() 90 Thread.sleep(WAIT_TIME_LONG); in testScreenStateChangedAtom() 92 Thread.sleep(WAIT_TIME_LONG); in testScreenStateChangedAtom() 112 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 132 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 136 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 138 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 140 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() [all …]
|
D | ProcStateAtomTests.java | 106 Thread.sleep(WAIT_TIME_FOR_CONFIG_UPDATE_MS); in testForegroundService() 110 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testForegroundService() 128 Thread.sleep(WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS); in testForeground() 132 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testForeground() 148 Thread.sleep(WAIT_TIME_FOR_CONFIG_UPDATE_MS); in testBackground() 152 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testBackground() 170 Thread.sleep(WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS); in testTop() 174 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testTop() 194 Thread.sleep(WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS); in testTopSleeping() 200 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testTopSleeping() [all …]
|
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | MetricActivationTests.java | 163 Thread.sleep(10L); in testCancellation() 167 Thread.sleep(10L); in testCancellation() 171 Thread.sleep(10L); in testCancellation() 175 Thread.sleep(10L); in testCancellation() 179 Thread.sleep(10L); in testCancellation() 183 Thread.sleep(10L); in testCancellation() 187 Thread.sleep(10L); in testCancellation() 191 Thread.sleep(10L); in testCancellation() 195 Thread.sleep(10L); in testCancellation() 199 Thread.sleep(10L); in testCancellation() [all …]
|
D | DurationMetricsTests.java | 90 Thread.sleep(2000); in testDurationMetric() 94 Thread.sleep(2000); in testDurationMetric() 169 Thread.sleep(10); in testDurationMetricWithCondition() 171 Thread.sleep(2_000); in testDurationMetricWithCondition() 175 Thread.sleep(10); in testDurationMetricWithCondition() 179 Thread.sleep(10); in testDurationMetricWithCondition() 183 Thread.sleep(10); in testDurationMetricWithCondition() 185 Thread.sleep(2_000); in testDurationMetricWithCondition() 189 Thread.sleep(10); in testDurationMetricWithCondition() 193 Thread.sleep(10); in testDurationMetricWithCondition() [all …]
|
D | CountMetricsTests.java | 52 Thread.sleep(2000); // Wait for the metrics to propagate to statsd. in testSimpleEventCountMetric() 104 Thread.sleep(10); in testEventCountWithCondition() 106 Thread.sleep(10); in testEventCountWithCondition() 108 Thread.sleep(10); in testEventCountWithCondition() 110 Thread.sleep(10); in testEventCountWithCondition() 112 Thread.sleep(2000); // Wait for the metrics to propagate to statsd. in testEventCountWithCondition() 183 Thread.sleep(10); in testEventCountWithConditionAndActivation() 187 Thread.sleep(10); in testEventCountWithConditionAndActivation() 191 Thread.sleep(10); in testEventCountWithConditionAndActivation() 195 Thread.sleep(10); in testEventCountWithConditionAndActivation() [all …]
|
D | GaugeMetricsTests.java | 102 Thread.sleep(10); in testGaugeMetric() 104 Thread.sleep(10); in testGaugeMetric() 106 Thread.sleep(2000); in testGaugeMetric() 108 Thread.sleep(10); in testGaugeMetric() 110 Thread.sleep(10); in testGaugeMetric() 113 Thread.sleep(10); in testGaugeMetric() 115 Thread.sleep(2000); in testGaugeMetric() 117 Thread.sleep(10); in testGaugeMetric() 121 Thread.sleep(2000); in testGaugeMetric() 196 Thread.sleep(20_000); in testPulledGaugeMetricWithActivation() [all …]
|
D | ValueMetricsTests.java | 87 Thread.sleep(1000); in testValueMetric() 93 Thread.sleep(1000); in testValueMetric() 167 Thread.sleep(2*60_000 + 10_000); in testPullerAcrossBuckets() 171 Thread.sleep(1_000); in testPullerAcrossBuckets() 249 Thread.sleep(GAP_INTERVAL); in testMultipleEventsPerBucket() 251 Thread.sleep(GAP_INTERVAL); in testMultipleEventsPerBucket() 255 Thread.sleep(1_000); in testMultipleEventsPerBucket() 325 Thread.sleep(60_000 + 10_000); in testPullerAcrossBucketsWithActivation() 328 Thread.sleep(1_000); in testPullerAcrossBucketsWithActivation() 402 Thread.sleep(10); in testValueMetricWithConditionAndActivation() [all …]
|
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
D | ProcStatsValidationTests.java | 64 Thread.sleep(WAIT_TIME_SHORT); in testProcessStateTopDuration() 68 Thread.sleep(SLEEP_OF_FOREGROUND_SERVICE + EXTRA_WAIT_TIME_MS); in testProcessStateTopDuration() 71 Thread.sleep(SLEEP_OF_ACTION_BACKGROUND_SLEEP + EXTRA_WAIT_TIME_MS); in testProcessStateTopDuration() 74 Thread.sleep(SLEEP_OF_ACTION_SLEEP_WHILE_TOP + EXTRA_WAIT_TIME_MS); in testProcessStateTopDuration() 78 Thread.sleep(cacheTime); in testProcessStateTopDuration() 82 Thread.sleep(EXTRA_WAIT_TIME_MS + 5_000); in testProcessStateTopDuration() 129 Thread.sleep(WAIT_TIME_SHORT); 133 Thread.sleep(SLEEP_OF_FOREGROUND_SERVICE + EXTRA_WAIT_TIME_MS); 136 Thread.sleep(SLEEP_OF_ACTION_BACKGROUND_SLEEP + EXTRA_WAIT_TIME_MS); 139 Thread.sleep(SLEEP_OF_ACTION_SLEEP_WHILE_TOP + EXTRA_WAIT_TIME_MS); [all …]
|
D | BatteryStatsValidationTests.java | 64 Thread.sleep(WAIT_TIME_SHORT); in testConnectivityStateChange() 69 Thread.sleep(13_000); in testConnectivityStateChange() 95 Thread.sleep(WAIT_TIME_LONG); in testPowerUse() 97 Thread.sleep(WAIT_TIME_LONG); in testPowerUse() 101 Thread.sleep(WAIT_TIME_LONG); in testPowerUse() 138 Thread.sleep(WAIT_TIME_LONG); in testPowerBlameUid() 140 Thread.sleep(WAIT_TIME_LONG); in testPowerBlameUid() 144 Thread.sleep(WAIT_TIME_LONG); in testPowerBlameUid() 189 Thread.sleep(WAIT_TIME_SHORT); in testServiceStartCount() 233 Thread.sleep(WAIT_TIME_SHORT); in testServiceLaunchCount()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 76 sleep(DELAYED); in testPostAtTime1() 86 sleep(DELAYED); in testPostAtTime2() 95 sleep(DELAYED); in testSendMessageAtTime() 128 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages() 132 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages() 139 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages() 143 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages() 151 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages() 153 sleep(RUNTIME / 2); in testRemoveCallbacksAndMessages() 159 sleep(DELAYED / 2); in testRemoveCallbacksAndMessages() [all …]
|
D | VibratorTest.java | 52 sleep(500); in testVibratorCancel() 90 sleep(1500); in testVibrateMultiThread() 98 sleep(100); in testVibrateOneShot() 102 sleep(100); in testVibrateOneShot() 107 sleep(100); in testVibrateOneShot() 116 sleep(1500); in testVibrateWaveform() 120 sleep(2000); in testVibrateWaveform() 131 private static void sleep(long millis) { in sleep() method in VibratorTest 133 Thread.sleep(millis); in sleep()
|
D | SystemClockTest.java | 27 Thread.sleep(100); in testCurrentThreadTimeMillis() 36 Thread.sleep(100); in testElapsedRealtime() 54 SystemClock.sleep(100); in testSleep() 59 SystemClock.sleep(100); in testSleep() 64 SystemClock.sleep(100); in testSleep() 73 Thread.sleep(100); in testUptimeMillis()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsSyncAdapter.java | 57 Thread.sleep(1000); in onPerformSync() 88 final long sleep = timeout - SystemClock.elapsedRealtime(); in waitUntilSyncCount() local 89 if (sleep <= 0) { in waitUntilSyncCount() 92 sLock.wait(sleep); in waitUntilSyncCount() 127 final long sleep = timeout - SystemClock.elapsedRealtime(); in cancelPendingSyncs() local 128 if (sleep <= 0) { in cancelPendingSyncs() 131 Thread.sleep(sleep); in cancelPendingSyncs()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 159 Thread.sleep(100); in setUpTests() 202 Thread.sleep(MIN_FUTURITY); in testBucketDelay() 209 Thread.sleep(MIN_FUTURITY); in testBucketDelay() 214 Thread.sleep(minTriggerTime - SystemClock.elapsedRealtime()); in testBucketDelay() 226 Thread.sleep(MIN_FUTURITY); in testActiveDelay() 256 Thread.sleep(10_000); in testNeverDelay() 266 Thread.sleep(MIN_FUTURITY); in testBucketUpgradeToSmallerDelay() 274 Thread.sleep(workingSetExpectedTrigger - SystemClock.elapsedRealtime()); in testBucketUpgradeToSmallerDelay() 294 Thread.sleep(MIN_FUTURITY); in testBucketUpgradeToNoDelay() 300 Thread.sleep(triggerTime1 - SystemClock.elapsedRealtime()); in testBucketUpgradeToNoDelay() [all …]
|
/cts/apps/CameraITS/tools/ |
D | wake_up_screen.py | 50 time.sleep(DISPLAY_CMD_WAIT) 54 time.sleep(DISPLAY_CMD_WAIT) 60 time.sleep(DISPLAY_CMD_WAIT) 66 time.sleep(DISPLAY_CMD_WAIT) 71 time.sleep(DISPLAY_CMD_WAIT) 77 time.sleep(DISPLAY_CMD_WAIT)
|
/cts/tests/tests/util/src/android/util/cts/ |
D | TimingLoggerTest.java | 44 sleep(); in testTimingLogger() 47 sleep(); in testTimingLogger() 50 sleep(); in testTimingLogger() 57 private void sleep() { in sleep() method in TimingLoggerTest 59 Thread.sleep(SLEEPING_MSEC); in sleep()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | SoundPoolTest.java | 160 Thread.sleep(waitMsec); in testSoundPoolOp() 163 Thread.sleep(waitMsec); in testSoundPoolOp() 165 Thread.sleep(waitMsec); in testSoundPoolOp() 167 Thread.sleep(waitMsec); in testSoundPoolOp() 169 Thread.sleep(waitMsec); in testSoundPoolOp() 176 Thread.sleep(waitMsec); in testSoundPoolOp() 180 Thread.sleep(waitMsec); in testSoundPoolOp() 185 Thread.sleep(waitMsec * 10); in testSoundPoolOp() 196 Thread.sleep(waitMsec); in testMultiSound() 201 Thread.sleep(waitMsec * 4); in testMultiSound() [all …]
|
D | VolumeShaperTest.java | 601 Thread.sleep(WARMUP_TIME_MS); in testPlayerDuck() 626 Thread.sleep(WARMUP_TIME_MS); in testPlayerRamp() 660 Thread.sleep(100 /* millis */); in testPlayerCornerCase() 667 Thread.sleep(100 /* millis */); in testPlayerCornerCase() 709 Thread.sleep(100 /* millis */); in testPlayerCornerCase2() 743 Thread.sleep(WARMUP_TIME_MS); in testPlayerJoin() 757 Thread.sleep(incrementMs); in testPlayerJoin() 788 Thread.sleep(WARMUP_TIME_MS); in testPlayerCubicMonotonic() 806 Thread.sleep(incrementMs); in testPlayerCubicMonotonic() 808 Thread.sleep(WARMUP_TIME_MS); in testPlayerCubicMonotonic() [all …]
|
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/ |
D | AnomalyDetectionTests.java | 96 Thread.sleep(500); in testCountAnomalyDetection() 102 Thread.sleep(500); in testCountAnomalyDetection() 108 Thread.sleep(1000); in testCountAnomalyDetection() 113 Thread.sleep(WAIT_AFTER_BREADCRUMB_MS); in testCountAnomalyDetection() 151 Thread.sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection() 155 Thread.sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection() 160 Thread.sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection() 169 Thread.sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection() 175 Thread.sleep(8_000); // Recorded duration at end: 9s in testDurationAnomalyDetection() 177 Thread.sleep(15_000); // Recorded duration at end: 15s in testDurationAnomalyDetection() [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | TestUtils.java | 66 int sleep = 125; in waitUntil() local 72 Thread.sleep(sleep); in waitUntil() 73 sleep *= 5; in waitUntil() 74 sleep = Math.min(2000, sleep); in waitUntil()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TestUtils.java | 66 int sleep = 125; in waitUntil() local 72 Thread.sleep(sleep); in waitUntil() 73 sleep *= 5; in waitUntil() 74 sleep = Math.min(2000, sleep); in waitUntil()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BluetoothRestrictionTest.java | 150 sleep(CHECK_WAIT_TIME_MS); in disable() 182 sleep(POLL_TIME_MS); in assertDisabledAfterTimeout() 196 sleep(POLL_TIME_MS); in assertComponentStateAfterTimeout() 211 sleep(CHECK_WAIT_TIME_MS); in enable() 243 sleep(POLL_TIME_MS); in assertEnabledAfterTimeout() 248 private static void sleep(long t) { in sleep() method in BluetoothRestrictionTest 250 Thread.sleep(t); in sleep()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 79 sleep(2_000); in testAudioState() 117 sleep(8_000); in performBleScan() 148 sleep(2_000); in performBleScan() 173 sleep(2_000); in testCameraState() 210 sleep(500); in testFlashlight() 227 sleep(500); in testForegroundService() 262 sleep(1_000); in testGpsScan() 279 sleep(500); in testScreenBrightness() 282 sleep(500); in testScreenBrightness() 284 sleep(500); in testScreenBrightness() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | BluetoothTest.java | 136 sleep(CHECK_WAIT_TIME_MS); in disable() 147 sleep(POLL_TIME_MS); in disable() 170 sleep(CHECK_WAIT_TIME_MS); in enable() 181 sleep(POLL_TIME_MS); in enable() 198 private void sleep(long t) { in sleep() method in BluetoothTest 200 Thread.sleep(t); in sleep()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 122 mUiDevice.sleep(); in testUsageReportingMissingStop() 123 Thread.sleep(1000); in testUsageReportingMissingStop() 206 mUiDevice.sleep(); in testMultipleTokenMissingStop() 207 Thread.sleep(1000); in testMultipleTokenMissingStop() 227 Thread.sleep(500); in testSplitscreenUsageReporting() 264 Thread.sleep(500); in testSplitscreenSameToken() 298 Thread.sleep(500); in testSplitscreenSameTokenOneMissedStop() 315 mUiDevice.sleep(); in testSplitscreenSameTokenOneMissedStop() 316 Thread.sleep(1000); in testSplitscreenSameTokenOneMissedStop() 334 Thread.sleep(500); in testSplitscreenSameTokenTwoMissedStop() [all …]
|