Home
last modified time | relevance | path

Searched refs:Thread (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DHostAtomTests.java66 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 …]
DProcStateAtomTests.java106 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 …]
DUidAtomTests.java97 Thread.sleep(WAIT_TIME_SHORT); in testLmkKillOccurred()
100 Thread.sleep(15_000); in testLmkKillOccurred()
119 Thread.sleep(WAIT_TIME_SHORT); in testAppCrashOccurred()
123 Thread.sleep(WAIT_TIME_SHORT); in testAppCrashOccurred()
142 Thread.sleep(WAIT_TIME_SHORT); in testAppStartOccurred()
176 Thread.sleep(WAIT_TIME_SHORT); in testAudioState()
180 Thread.sleep(WAIT_TIME_SHORT); in testAudioState()
349 Thread.sleep(WAIT_TIME_SHORT); in testCpuTimePerUid()
351 Thread.sleep(WAIT_TIME_LONG); in testCpuTimePerUid()
380 Thread.sleep(WAIT_TIME_LONG); in testDeviceCalculatedPowerUse()
[all …]
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DMetricActivationTests.java165 Thread.sleep(10L); in testCancellation()
169 Thread.sleep(10L); in testCancellation()
173 Thread.sleep(10L); in testCancellation()
177 Thread.sleep(10L); in testCancellation()
181 Thread.sleep(10L); in testCancellation()
185 Thread.sleep(10L); in testCancellation()
189 Thread.sleep(10L); in testCancellation()
193 Thread.sleep(10L); in testCancellation()
197 Thread.sleep(10L); in testCancellation()
201 Thread.sleep(10L); in testCancellation()
[all …]
DDurationMetricsTests.java90 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 …]
DCountMetricsTests.java52 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 …]
DGaugeMetricsTests.java102 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 …]
DValueMetricsTests.java87 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/
DProcStatsValidationTests.java64 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 …]
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java159 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(MIN_FUTURITY); in testNeverDelay()
262 Thread.sleep(10_000); in testNeverDelay()
272 Thread.sleep(MIN_FUTURITY); in testBucketUpgradeToSmallerDelay()
280 Thread.sleep(workingSetExpectedTrigger - SystemClock.elapsedRealtime()); in testBucketUpgradeToSmallerDelay()
300 Thread.sleep(MIN_FUTURITY); in testBucketUpgradeToNoDelay()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVolumeShaperTest.java601 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 …]
DSoundPoolTest.java160 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 …]
DJetPlayerTest.java110 Thread.sleep(20000); in testQueueJetSegmentMuteArray()
142 Thread.sleep(10000); in runJet()
153 Thread.sleep(1000); in runJet()
155 Thread.sleep(1000); in runJet()
157 Thread.sleep(1000); in runJet()
159 Thread.sleep(1000); in runJet()
161 Thread.sleep(1000); in runJet()
163 Thread.sleep(30000); in runJet()
DMediaPlayerTest.java186 Thread.sleep(500); in testVorbisCrash()
241 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
257 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
305 Thread.sleep(SLEEP_TIME);
323 Thread.sleep(SLEEP_TIME);
353 Thread.sleep(SLEEP_TIME); // Delay each track to be able to ear them
358 Thread.sleep(SLEEP_TIME);
388 Thread.sleep(duration * 4); // allow for several loops in testPlayAudioLooping()
395 Thread.sleep(SLEEP_TIME); in testPlayAudioLooping()
437 Thread.sleep(SLEEP_TIME); in testPlayMidi()
[all …]
DAudioRecordingConfigurationTest.java69 Thread t = new Thread() { in setUp()
102 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in tearDown()
121 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations()
140 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in testAudioManagerGetActiveRecordConfigurations()
183 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest()
203 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in doCallbackTest()
212 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in doCallbackTest()
236 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testParcel()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/
DTest_monitor_enter.java37 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/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java84 Thread.sleep(WAIT_TIME_SHORT); in tearDown()
113 Thread.sleep(500); in testCountAnomalyDetection()
119 Thread.sleep(500); in testCountAnomalyDetection()
125 Thread.sleep(1000); in testCountAnomalyDetection()
130 Thread.sleep(WAIT_AFTER_BREADCRUMB_MS); in testCountAnomalyDetection()
168 Thread.sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
172 Thread.sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
177 Thread.sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
186 Thread.sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
192 Thread.sleep(8_000); // Recorded duration at end: 9s in testDurationAnomalyDetection()
[all …]
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/
DJvmtiTrackingTest.java75 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/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java108 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/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java125 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/content/src/android/content/cts/
DContextMoreTest.java73 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/tests/tests/uirendering/src/android/uirendering/cts/util/
DMockVsyncHelper.java32 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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java72 Thread.sleep(1); in testRetrieveSecurityLogs()
86 Thread.sleep(2); in testRetrieveSecurityLogs()
114 Thread.sleep(1); in testRequestBugreport()
159 Thread.sleep(1); in testGetLastNetworkLogRetrievalTime()
205 Thread.sleep(500); in testIsDefaultInputMethodSet()
209 Thread.sleep(500); in testIsDefaultInputMethodSet()
213 Thread.sleep(500); in testIsDefaultInputMethodSet()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java94 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundRecorderObject.java39 private Thread mRecordThread;
68 mRecordThread = new Thread(this); in startRecordingForReal()
93 Thread zeThread = mRecordThread; in stopRecordingForReal()
166 Thread thisThread = Thread.currentThread(); in run()

12345678910>>...23