Home
last modified time | relevance | path

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

12345678910>>...32

/cts/hostsidetests/statsdatom/apps/expressloghelperapp/src/com/android/server/cts/device/expresslog/
DAtomTests.java30 Thread.sleep(10); in testCounterMetric()
38 Thread.sleep(10); in testCounterWithUidMetric()
53 Thread.sleep(10); in testHistogramUniformMetric()
55 Thread.sleep(10); in testHistogramUniformMetric()
57 Thread.sleep(10); in testHistogramUniformMetric()
72 Thread.sleep(10); in testHistogramScaledMetric()
74 Thread.sleep(10); in testHistogramScaledMetric()
76 Thread.sleep(10); in testHistogramScaledMetric()
90 Thread.sleep(10); in testHistogramUniformWithUidMetric()
92 Thread.sleep(10); in testHistogramUniformWithUidMetric()
[all …]
/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/jvmti/allocation-tracking/app/src/android/jvmti/cts/
DJvmtiTrackingTest.java79 enableAllocationTracking(Thread.currentThread(), true); in testTracking()
83 enableAllocationTracking(Thread.currentThread(), false); in testTracking()
124 final Thread thisThread = Thread.currentThread(); in testThread()
126 Thread t = new Thread() { in testThread()
147 enableAllocationTracking(sameThread ? t : Thread.currentThread(), true); in testThread()
175 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DVibratorTests.java47 Thread.sleep(1000); in testOneShotVibration()
54 Thread.sleep(500); in testPredefinedClickVibration()
67 Thread.sleep(500); in testComposedTickThenClickVibration()
74 Thread.sleep(500); in testRepeatedWaveformVibration()
77 Thread.sleep(100); in testRepeatedWaveformVibration()
/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/
DEmulateInputDevice.kt74 Thread.sleep(1000) in <lambda>()
78 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
129 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
147 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
155 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
167 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
195 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
203 Thread.sleep(TOUCHPAD_SCAN_DELAY_MILLIS) in <lambda>()
212 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
222 Thread.sleep(UINPUT_POST_EVENT_DELAY_MILLIS) in <lambda>()
[all …]
/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/tests/tests/media/audio/src/android/media/audio/cts/
DSoundPoolTest.java195 Thread.sleep(waitMsec); in testSoundPoolOp()
198 Thread.sleep(waitMsec); in testSoundPoolOp()
200 Thread.sleep(waitMsec); in testSoundPoolOp()
202 Thread.sleep(waitMsec); in testSoundPoolOp()
204 Thread.sleep(waitMsec); in testSoundPoolOp()
211 Thread.sleep(waitMsec); in testSoundPoolOp()
215 Thread.sleep(waitMsec); in testSoundPoolOp()
220 Thread.sleep(waitMsec * 10); in testSoundPoolOp()
239 Thread.sleep(waitMsec); in testMultiSound()
244 Thread.sleep(waitMsec * 4); in testMultiSound()
[all …]
DVolumeShaperTest.java681 Thread.sleep(WARMUP_TIME_MS); in runTestDuckPlayer()
734 Thread.sleep(WARMUP_TIME_MS); in runTestRampPlayer()
784 Thread.sleep(100 /* millis */); in runTestCornerCasePlayer()
791 Thread.sleep(100 /* millis */); in runTestCornerCasePlayer()
831 Thread.sleep(100 /* millis */); in testPlayerCornerCase2()
866 Thread.sleep(WARMUP_TIME_MS); in testPlayerJoin()
880 Thread.sleep(incrementMs); in testPlayerJoin()
936 Thread.sleep(WARMUP_TIME_MS); in runTestCubicMonotonicPlayer()
953 Thread.sleep(incrementMs); in runTestCubicMonotonicPlayer()
955 Thread.sleep(WARMUP_TIME_MS); in runTestCubicMonotonicPlayer()
[all …]
DLoudnessCodecControllerTest.java149 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in addMediaCodec_withAudioTrack_sendsUpdate()
168 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in addMediaCodecs_triggersUpdate()
218 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in multipleLcc_withRegisteredCodecs_triggerUpdate()
251 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in addMediaCodec_afterRelease_noUpdate()
268 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in audioTrackStart_afterAddMediaCodec_checkUpdateNumber()
273 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in audioTrackStart_afterAddMediaCodec_checkUpdateNumber()
290 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in audioTrackStart_beforeAddMediaCodec_checkUpdateNumber()
294 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in audioTrackStart_beforeAddMediaCodec_checkUpdateNumber()
311 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in addMediaCodec_afterRelease_noSecondUpdate()
315 Thread.sleep(TEST_LOUDNESS_CALLBACK_TIMEOUT.toMillis()); in addMediaCodec_afterRelease_noSecondUpdate()
[all …]
DAudioRecordingConfigurationTest.java67 Thread t = new Thread() { in setUp()
100 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in tearDown()
119 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations()
138 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in testAudioManagerGetActiveRecordConfigurations()
182 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest()
202 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in doCallbackTest()
211 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in doCallbackTest()
235 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testParcel()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerStubActivity.java150 Thread thread = new Thread() { in testReclaimResource()
160 Thread.sleep(5000); // wait for process to launch and allocate all codecs. in testReclaimResource()
183 Thread thread = new Thread() { in testVideoCodecReclaim()
196 Thread.sleep(5000); in testVideoCodecReclaim()
223 Thread thread = new Thread() { in doTestReclaimResource()
236 Thread.sleep(5000); // wait for process to launch and allocate all codecs. in doTestReclaimResource()
273 Thread thread = new Thread() { in doTestCodecImportanceReclaimResource()
/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/
DTestActivityLauncher.java44 Thread thread = in callActivity()
45 new Thread() { in callActivity()
57 Thread thread = in callActivityAndCheckSuccess()
58 new Thread() { in callActivityAndCheckSuccess()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecVendorCommandsTest.java121 private Thread registerVendorCmdListenerWithId() { in registerVendorCmdListenerWithId()
122 return new Thread( in registerVendorCmdListenerWithId()
135 private Thread registerVendorCmdListenerWithoutId() {
136 return new Thread(
152 Thread test = registerVendorCmdListenerWithId();
173 Thread test = registerVendorCmdListenerWithId();
192 Thread test = registerVendorCmdListenerWithoutId();
211 Thread test = registerVendorCmdListenerWithoutId();
/cts/tests/tests/content/src/android/content/cts/
DContextMoreTest.java76 Thread.sleep(0); in testGetSystemService_multiThreaded()
90 final Thread[] threads = new Thread[NUM_THREADS]; in testGetSystemService_multiThreaded()
92 threads[i] = new Thread(tester); in testGetSystemService_multiThreaded()
98 Thread.sleep(10 * 1000); in testGetSystemService_multiThreaded()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DIntraPreviewAction.java140 Thread.sleep(mRecordingDuration); in execute()
168 Thread.sleep(PREVIEW_AUTOFOCUS_SLEEP_MS); in execute()
179 Thread.sleep(mStepDuration); in execute()
181 Thread.sleep(PREVIEW_RECORDING_FINAL_SLEEP_MS); in execute()
217 Thread.sleep(PREVIEW_AUTOFOCUS_SLEEP_MS); in execute()
239 Thread.sleep(mAeAwbRegionDuration); in execute()
241 Thread.sleep(PREVIEW_RECORDING_FINAL_SLEEP_MS); in execute()
/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()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java142 Thread.sleep(1000); in clearNotifications()
146 Thread.sleep(1000); in clearNotifications()
153 Thread.sleep(1000); in performInlineReply()
159 Thread.sleep(1000); in performInlineReply()
167 Thread.sleep(1000); in performInlineReply()
172 Thread.sleep(1000); in performInlineReply()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatable2Callback.java33 private Thread mStartThread;
35 private Thread mEndThread;
71 mStartThread = Thread.currentThread(); in onAnimationStart()
81 mEndThread = Thread.currentThread(); in onAnimationEnd()
/cts/tests/tests/media/player/src/android/media/player/cts/
DJetPlayerTest.java128 Thread.sleep(20000); in testQueueJetSegmentMuteArray()
160 Thread.sleep(10000); in runJet()
171 Thread.sleep(1000); in runJet()
173 Thread.sleep(1000); in runJet()
175 Thread.sleep(1000); in runJet()
177 Thread.sleep(1000); in runJet()
179 Thread.sleep(1000); in runJet()
181 Thread.sleep(30000); in runJet()
/cts/apps/OomCatcher/src/com/android/cts/oomcatcher/
DOomCatcher.java36 Thread logThread;
40 logThread = new Thread() { in onCreate()
46 Thread.sleep(1000); // 1 second in onCreate()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java154 Thread.sleep(DEFAULT_WAIT); in testRepeatingAlarmBlocked()
155 Thread.sleep(2 * interval); in testRepeatingAlarmBlocked()
157 Thread.sleep(interval); in testRepeatingAlarmBlocked()
174 Thread.sleep(DEFAULT_WAIT); in testRepeatingAlarmAllowedWhenAutoRestrictedBucketFeatureOn()
175 Thread.sleep(2 * interval); in testRepeatingAlarmAllowedWhenAutoRestrictedBucketFeatureOn()
177 Thread.sleep(interval); in testRepeatingAlarmAllowedWhenAutoRestrictedBucketFeatureOn()
197 Thread.sleep(waitInterval); in testAlarmClockNotBlocked()
218 Thread.sleep(DEFAULT_WAIT); in tearDown()
252 Thread.sleep(POLL_INTERVAL); in waitForAlarms()
DAppStandbyTests.java132 Thread.sleep(100); in setUpTests()
180 Thread.sleep(freshWindowPoint - startElapsed); in testSimpleQuotaDeferral()
191 Thread.sleep(trigger - SystemClock.elapsedRealtime()); in testSimpleQuotaDeferral()
197 Thread.sleep(desiredTrigger - SystemClock.elapsedRealtime()); in testSimpleQuotaDeferral()
200 Thread.sleep(minTrigger - SystemClock.elapsedRealtime()); in testSimpleQuotaDeferral()
210 Thread.sleep(MIN_FUTURITY); in testActiveQuota()
236 Thread.sleep(10_000); in testNeverQuota()
246 Thread.sleep(MIN_FUTURITY); in testPowerWhitelistedAlarmNotBlocked()
261 Thread.sleep(500); in tearDown()
319 Thread.sleep(POLL_INTERVAL); in waitUntil()
/cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/
DProcStatsTest.java60 Thread.sleep(4000); in testLaunchApp()
65 Thread.sleep(4000); in testLaunchApp()
73 Thread.sleep(4000); in testLaunchApp()
78 Thread.sleep(4000); in testLaunchApp()
/cts/tests/mediapc/src/android/mediapc/cts/
DFrameDropTestBase.java71 private Thread mTranscodeLoadThread = null;
72 private Thread mAudioPlaybackLoadThread = null;
223 private Thread createTranscodeLoad() { in createTranscodeLoad()
224 Thread transcodeLoadThread = new Thread(() -> { in createTranscodeLoad()
236 private Thread createAudioPlaybackLoad() { in createAudioPlaybackLoad()
237 Thread audioPlaybackLoadThread = new Thread(() -> { in createAudioPlaybackLoad()
/cts/tests/tests/simpleperf/CtsSimpleperfDebuggableApp/com/android/simpleperf/debuggable/
DMainActivity.java37 new Thread(new Runnable() { in createBusyThread()
47 Thread.sleep(1); in createBusyThread()

12345678910>>...32