/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 …]
|
D | UidAtomTests.java | 99 Thread.sleep(WAIT_TIME_SHORT); in testLmkKillOccurred() 102 Thread.sleep(5_000); in testLmkKillOccurred() 121 Thread.sleep(WAIT_TIME_SHORT); in testAppCrashOccurred() 125 Thread.sleep(WAIT_TIME_SHORT); in testAppCrashOccurred() 144 Thread.sleep(WAIT_TIME_SHORT); in testAppStartOccurred() 178 Thread.sleep(WAIT_TIME_SHORT); in testAudioState() 182 Thread.sleep(WAIT_TIME_SHORT); in testAudioState() 351 Thread.sleep(WAIT_TIME_SHORT); in testCpuTimePerUid() 353 Thread.sleep(WAIT_TIME_LONG); in testCpuTimePerUid() 386 Thread.sleep(WAIT_TIME_LONG); in testCpuActiveTime() [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/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/ |
D | Test_monitor_enter.java | 37 Thread tr1 = new Thread(r1); in testN1() 38 Thread tr2 = new Thread(r2); in testN1() 57 Thread tr1 = new Thread(r1); in testN2() 58 Thread tr2 = new Thread(r2); in testN2()
|
/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/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 …]
|
D | JetPlayerTest.java | 109 Thread.sleep(20000); in testQueueJetSegmentMuteArray() 141 Thread.sleep(10000); in runJet() 152 Thread.sleep(1000); in runJet() 154 Thread.sleep(1000); in runJet() 156 Thread.sleep(1000); in runJet() 158 Thread.sleep(1000); in runJet() 160 Thread.sleep(1000); in runJet() 162 Thread.sleep(30000); in runJet()
|
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/ |
D | JvmtiTrackingTest.java | 75 enableAllocationTracking(Thread.currentThread(), true); in testTracking() 79 enableAllocationTracking(Thread.currentThread(), false); in testTracking() 120 final Thread thisThread = Thread.currentThread(); in testThread() 122 Thread t = new Thread() { in testThread() 143 enableAllocationTracking(sameThread ? t : Thread.currentThread(), true); in testThread() 171 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking()
|
/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/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | MockVsyncHelper.java | 32 private static Future<Thread> sExecutorThread; 39 return Thread.currentThread(); 45 return Thread.currentThread().equals(sExecutorThread.get()); in isOnExecutorThread() 66 Thread.currentThread().interrupt(); in runOnVsyncThread()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextMoreTest.java | 73 Thread.sleep(0); in testGetSystemService_multiThreaded() 87 final Thread[] threads = new Thread[NUM_THREADS]; in testGetSystemService_multiThreaded() 89 threads[i] = new Thread(tester); in testGetSystemService_multiThreaded() 95 Thread.sleep(10 * 1000); in testGetSystemService_multiThreaded()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 72 Thread.sleep(1); in testRetrieveSecurityLogs() 86 Thread.sleep(2); in testRetrieveSecurityLogs() 110 Thread.sleep(1); in testRequestBugreport() 127 Thread.sleep(1); in testGetLastNetworkLogRetrievalTime() 173 Thread.sleep(500); in testIsDefaultInputMethodSet() 177 Thread.sleep(500); in testIsDefaultInputMethodSet() 181 Thread.sleep(500); in testIsDefaultInputMethodSet()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerThrottlingTest.java | 125 Thread.sleep(1000); in clearNotifications() 129 Thread.sleep(1000); in clearNotifications() 136 Thread.sleep(1000); in performInlineReply() 142 Thread.sleep(1000); in performInlineReply() 150 Thread.sleep(1000); in performInlineReply() 155 Thread.sleep(1000); in performInlineReply()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | Animatable2Callback.java | 33 private Thread mStartThread; 35 private Thread mEndThread; 71 mStartThread = Thread.currentThread(); in onAnimationStart() 81 mEndThread = Thread.currentThread(); in onAnimationEnd()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 108 Thread.sleep(10000); in getCurrentPosition() 110 Thread.sleep(PAUSE_WAIT_TIME); in getCurrentPosition() 135 Thread.sleep(WAIT_TIME); in seekTo() 164 Thread.sleep(5000); in setLooping() 167 Thread.sleep(20000); in setLooping() 200 Thread.sleep(5000); in pause() 202 Thread.sleep(PAUSE_WAIT_TIME); in pause() 328 Thread.sleep(5000); in videoSeekTo() 332 Thread.sleep(PAUSE_WAIT_TIME); in videoSeekTo() 335 Thread.sleep(1000); in videoSeekTo() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 94 Thread.sleep(500); // wait for listener to disconnect in tearDown() 195 Thread.sleep(500); // wait for listener to be allowed in testSuspendPackage() 201 Thread.sleep(500); // wait for notification listener to receive notification in testSuspendPackage() 208 Thread.sleep(500); // wait for notification listener to get response in testSuspendPackage() 214 Thread.sleep(500); // wait for notification listener to get response in testSuspendPackage() 230 Thread.sleep(500); // wait for listener to be allowed in testSuspendedPackageSendNotification() 238 Thread.sleep(500); // wait for notification listener to get response in testSuspendedPackageSendNotification() 241 Thread.sleep(500); // wait for notification listener in case it receives notification in testSuspendedPackageSendNotification() 247 Thread.sleep(500); // wait for notification listener to get response in testSuspendedPackageSendNotification() 263 Thread.sleep(500); // wait for listener to be allowed in testResetListenerHints_singleListener() [all …]
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | Threads.java | 34 public synchronized Thread newThread(Runnable r) { in daemonThreadFactory() 35 Thread thread = new Thread(r, name + "-" + (nextId++)); in daemonThreadFactory()
|