Home
last modified time | relevance | path

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

12345678910>>...16

/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.java77 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/
DSoundPoolTest.java153 Thread.sleep(waitMsec); in testSoundPoolOp()
156 Thread.sleep(waitMsec); in testSoundPoolOp()
158 Thread.sleep(waitMsec); in testSoundPoolOp()
160 Thread.sleep(waitMsec); in testSoundPoolOp()
162 Thread.sleep(waitMsec); in testSoundPoolOp()
169 Thread.sleep(waitMsec); in testSoundPoolOp()
173 Thread.sleep(waitMsec); in testSoundPoolOp()
178 Thread.sleep(waitMsec * 10); in testSoundPoolOp()
189 Thread.sleep(waitMsec); in testMultiSound()
194 Thread.sleep(waitMsec * 4); in testMultiSound()
[all …]
DVolumeShaperTest.java592 Thread.sleep(WARMUP_TIME_MS); in testPlayerDuck()
617 Thread.sleep(WARMUP_TIME_MS); in testPlayerRamp()
651 Thread.sleep(100 /* millis */); in testPlayerCornerCase()
658 Thread.sleep(100 /* millis */); in testPlayerCornerCase()
700 Thread.sleep(100 /* millis */); in testPlayerCornerCase2()
734 Thread.sleep(WARMUP_TIME_MS); in testPlayerJoin()
748 Thread.sleep(incrementMs); in testPlayerJoin()
779 Thread.sleep(WARMUP_TIME_MS); in testPlayerCubicMonotonic()
797 Thread.sleep(incrementMs); in testPlayerCubicMonotonic()
799 Thread.sleep(WARMUP_TIME_MS); in testPlayerCubicMonotonic()
[all …]
DJetPlayerTest.java107 Thread.sleep(20000); in testQueueJetSegmentMuteArray()
139 Thread.sleep(10000); in runJet()
150 Thread.sleep(1000); 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(30000); in runJet()
DAudioRecordingConfigurationTest.java64 Thread t = new Thread() { in setUp()
97 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in tearDown()
116 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testAudioManagerGetActiveRecordConfigurations()
132 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in testAudioManagerGetActiveRecordConfigurations()
172 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest()
175 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest()
187 Thread.sleep(SLEEP_AFTER_STOP_FOR_INACTIVITY_MS); in doCallbackTest()
196 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in doCallbackTest()
220 Thread.sleep(TEST_TIMING_TOLERANCE_MS); in testParcel()
DResourceManagerStubActivity.java78 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()
DMediaPlayerTest.java174 Thread.sleep(500); in testVorbisCrash()
229 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
245 Thread.sleep(SLEEP_TIME); in testPlayAudioFromDataURI()
281 Thread.sleep(SLEEP_TIME);
299 Thread.sleep(SLEEP_TIME);
329 Thread.sleep(SLEEP_TIME); // Delay each track to be able to ear them
334 Thread.sleep(SLEEP_TIME);
364 Thread.sleep(duration * 4); // allow for several loops in testPlayAudioLooping()
371 Thread.sleep(SLEEP_TIME); in testPlayAudioLooping()
413 Thread.sleep(SLEEP_TIME); in testPlayMidi()
[all …]
DVisualizerTest.java46 private Thread mListenerThread;
137 Thread.sleep(100); in test2_0PollingCapture()
175 Thread.sleep(100); in test2_1ListenerCapture()
233 Thread.sleep(100); in test3_0MeasurementModeNone()
265 Thread.sleep(100); in test4_0MeasurementModePeakRms()
318 Thread.sleep(100); in test4_1MeasurePeakRms()
327 Thread.sleep(50); in test4_1MeasurePeakRms()
390 Thread.sleep(100); in test4_2MeasurePeakRmsLongMP3()
399 Thread.sleep(50); in test4_2MeasurePeakRmsLongMP3()
490 mListenerThread = new Thread() { in createListenerLooper()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java73 Thread.sleep(1); in testRetrieveSecurityLogs()
87 Thread.sleep(2); in testRetrieveSecurityLogs()
111 Thread.sleep(1); in testRequestBugreport()
128 Thread.sleep(1); in testGetLastNetworkLogRetrievalTime()
174 Thread.sleep(500); in testIsDefaultInputMethodSet()
178 Thread.sleep(500); in testIsDefaultInputMethodSet()
182 Thread.sleep(500); in testIsDefaultInputMethodSet()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java122 Thread.sleep(1000); in clearNotifications()
126 Thread.sleep(1000); in clearNotifications()
133 Thread.sleep(1000); in performInlineReply()
139 Thread.sleep(1000); in performInlineReply()
147 Thread.sleep(1000); in performInlineReply()
152 Thread.sleep(1000); in performInlineReply()
/cts/tools/vm-tests-tf/src/util/build/
DExecuteFile.java154 Thread suckOut = null; in run()
155 Thread suckErr = null; in run()
156 Thread suckIn = null; in run()
182 suckIn = new Thread( in run()
191 suckOut = new Thread(new ThreadCharactersStreamSucker(proc.getInputStream(), in run()
194 suckOut = new Thread( in run()
202 suckErr = new Thread(new ThreadCharactersStreamSucker(proc.getErrorStream(), in run()
205 suckErr = new Thread( in run()
/cts/libs/vogar-expect/src/vogar/util/
DThreads.java34 public synchronized Thread newThread(Runnable r) { in daemonThreadFactory()
35 Thread thread = new Thread(r, name + "-" + (nextId++)); in daemonThreadFactory()
/cts/tests/tests/os/src/android/os/cts/
DVibratorTest.java65 new Thread(new Runnable() { in testVibrateMultiThread()
75 new Thread(new Runnable() { in testVibrateMultiThread()
93 Thread.sleep(10000); in sleep()
DSystemClockTest.java27 Thread.sleep(100); in testCurrentThreadTimeMillis()
36 Thread.sleep(100); in testElapsedRealtime()
73 Thread.sleep(100); in testUptimeMillis()
DAsyncTaskTest.java105 Thread.sleep(COMPUTE_TIME / 2); in testCancelWithInterrupt()
109 Thread.sleep(DURATION); in testCancelWithInterrupt()
118 Thread.sleep(COMPUTE_TIME / 2); in testCancel()
122 Thread.sleep(DURATION); in testCancel()
130 Thread.sleep(DURATION); in testCancelTooLate()
241 Thread.sleep(COMPUTE_TIME); in doInBackground()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DTrivialRecorder.java37 Thread mReaderThread = null;
70 mReaderThread = new Thread(this); in start()
83 Thread.sleep(10); in shutDown()
DTrivialPlayer.java36 Thread mFillerThread = null;
77 mFillerThread = new Thread(this); in start()
90 Thread.sleep(10); in shutDown()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java204 Thread.sleep(1000); in testFullDisk()
206 Thread.sleep(2000); in testFullDisk()
208 Thread.sleep(1000); in testFullDisk()
210 Thread.sleep(2000); in testFullDisk()
212 Thread.sleep(1000); in testFullDisk()
231 Thread.sleep(500); in waitForIdle()
/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/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/
DCustomizationTest.java47 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/tests/tests/media/libmediandkjni/
Dnative_media_utils.h53 class Thread {
55 Thread() in Thread() function
58 virtual ~Thread() { in ~Thread()
62 Thread(const Thread& ) = delete;
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java58 Thread.sleep(TASK_SWITCH_SLOW_WAIT_TIME_MS); in testGlActivitySwitchingFast()
82 Thread.sleep(1000); in setUp()
91 Thread.sleep(5000); in setUp()
115 Thread.sleep(waitTimeMs); in runTaskSwitchTest()
/cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/
DProcStatsTest.java65 Thread.sleep(4000); in testLaunchApp()
70 Thread.sleep(4000); in testLaunchApp()
78 Thread.sleep(4000); in testLaunchApp()
83 Thread.sleep(4000); in testLaunchApp()
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/
DSustainedPerformanceHostTest.java162 Thread.sleep(600000); in setUpEnvironment()
204 Thread dhrystone = new Thread(new Dhrystone(true, 1)); in testShader()
205 Thread dhrystone1 = new Thread(new Dhrystone(true, 2)); in testShader()
208 Thread.sleep(testDuration); in testShader()

12345678910>>...16