/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | HostAtomTests.java | 80 Thread.sleep(WAIT_TIME_LONG); in testScreenStateChangedAtom() 98 Thread.sleep(WAIT_TIME_SHORT); in testScreenStateChangedAtom() 102 Thread.sleep(WAIT_TIME_LONG); in testScreenStateChangedAtom() 104 Thread.sleep(WAIT_TIME_LONG); in testScreenStateChangedAtom() 122 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 142 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 146 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 148 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 150 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() 152 Thread.sleep(WAIT_TIME_SHORT); in testChargingStateChangedAtom() [all …]
|
D | ProcStateAtomTests.java | 124 Thread.sleep(WAIT_TIME_FOR_CONFIG_UPDATE_MS); in testForegroundService() 128 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testForegroundService() 146 Thread.sleep(WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS); in testForeground() 150 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testForeground() 166 Thread.sleep(WAIT_TIME_FOR_CONFIG_UPDATE_MS); in testBackground() 170 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testBackground() 188 Thread.sleep(WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS); in testTop() 192 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testTop() 212 Thread.sleep(WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS); in testTopSleeping() 218 Thread.sleep(waitTime + STATSD_REPORT_WAIT_TIME_MS); in testTopSleeping() [all …]
|
/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/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/ |
D | JvmtiTrackingTest.java | 77 enableAllocationTracking(Thread.currentThread(), true); in testTracking() 81 enableAllocationTracking(Thread.currentThread(), false); in testTracking() 122 final Thread thisThread = Thread.currentThread(); in testThread() 124 Thread t = new Thread() { in testThread() 145 enableAllocationTracking(sameThread ? t : Thread.currentThread(), true); in testThread() 173 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | SoundPoolTest.java | 155 Thread.sleep(waitMsec); in testSoundPoolOp() 158 Thread.sleep(waitMsec); in testSoundPoolOp() 160 Thread.sleep(waitMsec); in testSoundPoolOp() 162 Thread.sleep(waitMsec); in testSoundPoolOp() 164 Thread.sleep(waitMsec); in testSoundPoolOp() 171 Thread.sleep(waitMsec); in testSoundPoolOp() 175 Thread.sleep(waitMsec); in testSoundPoolOp() 180 Thread.sleep(waitMsec * 10); in testSoundPoolOp() 191 Thread.sleep(waitMsec); in testMultiSound() 196 Thread.sleep(waitMsec * 4); in testMultiSound() [all …]
|
D | VolumeShaperTest.java | 602 Thread.sleep(WARMUP_TIME_MS); in testPlayerDuck() 627 Thread.sleep(WARMUP_TIME_MS); in testPlayerRamp() 661 Thread.sleep(100 /* millis */); in testPlayerCornerCase() 668 Thread.sleep(100 /* millis */); in testPlayerCornerCase() 710 Thread.sleep(100 /* millis */); in testPlayerCornerCase2() 744 Thread.sleep(WARMUP_TIME_MS); in testPlayerJoin() 758 Thread.sleep(incrementMs); in testPlayerJoin() 789 Thread.sleep(WARMUP_TIME_MS); in testPlayerCubicMonotonic() 807 Thread.sleep(incrementMs); in testPlayerCubicMonotonic() 809 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()
|
D | AudioRecordingConfigurationTest.java | 66 Thread t = new Thread() { in setUp() 99 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in tearDown() 118 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations() 137 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in testAudioManagerGetActiveRecordConfigurations() 177 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 180 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 196 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in doCallbackTest() 205 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest() 229 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testParcel()
|
D | ResourceManagerStubActivity.java | 78 Thread thread = new Thread() { in testReclaimResource() 87 Thread.sleep(5000); // wait for process to launch and allocate all codecs. in testReclaimResource() 104 Thread.sleep(5000); // give the gc a chance to release test activities. in testReclaimResource()
|
/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/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | GaugeMetricsTests.java | 93 Thread.sleep(10); in testGaugeMetric() 95 Thread.sleep(10); in testGaugeMetric() 97 Thread.sleep(2000); in testGaugeMetric() 99 Thread.sleep(10); in testGaugeMetric() 101 Thread.sleep(10); in testGaugeMetric() 104 Thread.sleep(10); in testGaugeMetric() 106 Thread.sleep(2000); in testGaugeMetric() 108 Thread.sleep(10); in testGaugeMetric() 112 Thread.sleep(2000); in testGaugeMetric()
|
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() 142 Thread.sleep(10); in testPartialBucketCountMetric() 144 Thread.sleep(WAIT_TIME_LONG); // Finish the current bucket. in testPartialBucketCountMetric()
|
/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/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 110 Thread.sleep(100); in setUpTests() 128 Thread.sleep(MIN_FUTURITY); in setUp() 148 Thread.sleep(MIN_FUTURITY); in testBucketDelay() 152 Thread.sleep(minTriggerTime - SystemClock.elapsedRealtime()); in testBucketDelay() 179 Thread.sleep(workingSetExpectedTrigger - SystemClock.elapsedRealtime()); in testBucketUpgradeToSmallerDelay() 198 Thread.sleep(triggerTime1 - SystemClock.elapsedRealtime()); in testBucketUpgradeToNoDelay() 210 Thread.sleep(triggerTime2 - SystemClock.elapsedRealtime()); in testBucketUpgradeToNoDelay() 219 Thread.sleep(MIN_FUTURITY); in testAllowWhileIdleAlarms() 224 Thread.sleep(APP_STANDBY_DELAYS[1]); in testAllowWhileIdleAlarms() 227 Thread.sleep(expectedTriggerTime - SystemClock.elapsedRealtime()); in testAllowWhileIdleAlarms() [all …]
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | Poc17_03.java | 32 Thread.sleep(30000); in testPocCVE_2016_8479() 46 Thread.sleep(60000); in testPocCVE_2017_0508() 58 Thread.sleep(30000); in testPocCVE_2017_0333()
|
/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/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()
|
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | TrivialRecorder.java | 37 Thread mReaderThread = null; 70 mReaderThread = new Thread(this); in start() 83 Thread.sleep(10); in shutDown()
|
D | TrivialPlayer.java | 36 Thread mFillerThread = null; 77 mFillerThread = new Thread(this); in start() 90 Thread.sleep(10); in shutDown()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SystemClockTest.java | 27 Thread.sleep(100); in testCurrentThreadTimeMillis() 36 Thread.sleep(100); in testElapsedRealtime() 73 Thread.sleep(100); in testUptimeMillis()
|
/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/ |
D | CustomizationTest.java | 47 Thread.sleep(WAITING_TIME_MS); in testSetWallpaper_disallowed() 53 Thread.sleep(WAITING_TIME_MS); in testSetWallpaper_disallowed() 59 Thread.sleep(WAITING_TIME_MS); in testSetWallpaper_disallowed()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | StorageHostTest.java | 90 Thread.sleep(10000); in testVerifyAppStats() 226 Thread.sleep(1000); in testFullDisk() 228 Thread.sleep(2000); in testFullDisk() 230 Thread.sleep(1000); in testFullDisk() 232 Thread.sleep(2000); in testFullDisk() 234 Thread.sleep(1000); in testFullDisk() 253 Thread.sleep(500); in waitForIdle()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | DeviceIdleJobsTest.java | 149 Thread.sleep(DEFAULT_WAIT_TIMEOUT); in testAllowWhileIdleJobInTempwhitelist() 165 Thread.sleep(TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF); in testForegroundJobsStartImmediately() 180 Thread.sleep(TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF); in testBackgroundJobsDelayed() 184 Thread.sleep(BACKGROUND_JOBS_EXPECTED_DELAY - DEFAULT_WAIT_TIMEOUT); in testBackgroundJobsDelayed() 195 Thread.sleep(DEFAULT_WAIT_TIMEOUT); in testJobsInNeverApp() 206 Thread.sleep(DEFAULT_WAIT_TIMEOUT); in testUidActiveBypassesStandby() 224 Thread.sleep(500); // To avoid any race between unregister and the next register in setUp in tearDown() 302 Thread.sleep(mTempWhitelistExpiryElapsed - now); in waitUntilTestAppNotInTempWhitelist() 308 Thread.currentThread().interrupt(); in waitUntilTestAppNotInTempWhitelist() 332 Thread.sleep(POLL_INTERVAL);
|