/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 127 HandlerThread thread = new HandlerThread("testIsIdle"); in testIsIdle() local 128 thread.start(); in testIsIdle() 131 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 136 Handler handler = new Handler(thread.getLooper()); in testIsIdle() 156 assertFalse(thread.getLooper().getQueue().isIdle()); in testIsIdle() 162 assertTrue(thread.getLooper().getQueue().isIdle()); in testIsIdle() 164 thread.quitSafely(); in testIsIdle() 272 AssertableHandlerThread thread = new AssertableHandlerThread(); in testFileDescriptorCallbacks() local 273 thread.start(); in testFileDescriptorCallbacks() 277 final MessageQueue queue = thread.getLooper().getQueue(); in testFileDescriptorCallbacks() [all …]
|
D | SeccompTest.java | 314 Thread thread = new Thread(new Runnable() { 324 thread.run(); 326 thread.join();
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | Threads.java | 35 Thread thread = new Thread(r, name + "-" + (nextId++)); in daemonThreadFactory() local 36 thread.setDaemon(true); in daemonThreadFactory() 37 return thread; in daemonThreadFactory()
|
/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 34 HandlerThread thread = new HandlerThread("PixelCopyHelper"); 35 thread.start(); in thread.start() 36 sHandler = new Handler(thread.getLooper());
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdCtsForegroundService.java | 75 HandlerThread thread = new HandlerThread("ServiceStartArguments", in onCreate() local 77 thread.start(); in onCreate() 80 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 101 HandlerThread thread = new HandlerThread("ServiceStartArguments", in onCreate() local 103 thread.start(); in onCreate() 106 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ResourceManagerStubActivity.java | 78 Thread thread = new Thread() { in testReclaimResource() local 101 thread.start(); in testReclaimResource() 102 thread.join(20000 /* millis */); in testReclaimResource()
|
D | MediaCasTest.java | 279 final HandlerThread thread = new HandlerThread("EventListenerHandlerThread"); in testClearKeyApis() local 280 thread.start(); in testClearKeyApis() 281 Handler handler = new Handler(thread.getLooper()); in testClearKeyApis() 283 thread.interrupt(); in testClearKeyApis()
|
D | DecodeAccuracyTestBase.java | 1424 private final HandlerThread thread; field in SurfaceViewSnapshot.SynchronousPixelCopy 1429 this.thread = new HandlerThread("PixelCopyHelper"); in SynchronousPixelCopy() 1430 thread.start(); in SynchronousPixelCopy() 1431 this.handler = new Handler(thread.getLooper()); in SynchronousPixelCopy() 1435 if (thread.isAlive()) { in release() 1436 thread.quit(); in release()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleForegroundService.java | 71 HandlerThread thread = new HandlerThread("ServiceStartArguments", in onCreate() local 73 thread.start(); in onCreate() 76 mServiceLooper = thread.getLooper(); in onCreate()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 45 jthread thread ATTRIBUTE_UNUSED, in ObjectAllocated() 71 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() argument 75 thread); in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RenderTarget.java | 61 HandlerThread thread = new HandlerThread("RenderTarget-GL"); 62 thread.start(); in thread.start() 63 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
|
/cts/suite/audio_quality/lib/include/audio/ |
D | RemoteAudio.h | 114 CommandHandler(RemoteAudio& thread, int command) in CommandHandler() argument 115 : mThread(thread), in CommandHandler()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TracingControllerTest.java | 158 Thread thread = new Thread(r); 159 thread.setName(EXECUTOR_THREAD_PREFIX + "_" + threadCount.incrementAndGet()); 160 return thread;
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FrameMetricsListenerTest.java | 152 final HandlerThread thread = new HandlerThread("Listener"); in testDropCount() local 153 thread.start(); in testDropCount() 163 new Handler(thread.getLooper()))); in testDropCount()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 1817 public synchronized void threadExiting(GLThread thread) { in threadExiting() argument 1819 Log.i("GLThread", "exiting tid=" + thread.getId()); in threadExiting() 1821 thread.mExited = true; in threadExiting() 1822 if (mEglOwner == thread) { in threadExiting() 1835 public boolean tryAcquireEglContextLocked(GLThread thread) { in tryAcquireEglContextLocked() argument 1836 if (mEglOwner == thread || mEglOwner == null) { in tryAcquireEglContextLocked() 1837 mEglOwner = thread; in tryAcquireEglContextLocked() 1859 public void releaseEglContextLocked(GLThread thread) { in releaseEglContextLocked() argument 1860 if (mEglOwner == thread) { in releaseEglContextLocked()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAudioThread.java | 213 Thread thread = new Thread(new Runnable() { in runDestroy() local 224 thread.start(); in runDestroy()
|
/cts/hostsidetests/jvmti/run-tests/ |
D | Android.mk | 30 src/1934-jvmti-signal-thread/src/art/Threads.java \ 72 src/931-agent-thread/src/art/Test931.java \ 112 src/1915-get-set-local-current-thread/src/art/Test1915.java \ 128 src/1934-jvmti-signal-thread/src/art/Test1934.java \ 129 src/1936-thread-end-events/src/art/Test1936.java \
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | DatabaseStatementTest.java | 288 StatementTestThread thread = new StatementTestThread(mDatabase, statement); in testStatementMultiThreaded() local 289 thread.start(); in testStatementMultiThreaded() 291 thread.join(); in testStatementMultiThreaded()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 272 pthread_t thread; in TEST() local 273 EXPECT_EQ(0, pthread_create(&thread, NULL, clientFunction, &data)); in TEST() 286 EXPECT_EQ(0, pthread_join(thread, &ret_val)); in TEST()
|
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/ |
D | JvmtiTrackingTest.java | 173 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking() argument
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentQueryMapTest.java | 272 HandlerThread thread = new HandlerThread("testSetKeepUpdatedWithHandler"); in testSetKeepUpdatedWithHandler() local 273 thread.start(); in testSetKeepUpdatedWithHandler() 274 Handler handler = new Handler(thread.getLooper()); in testSetKeepUpdatedWithHandler()
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 93 jthread thread ATTRIBUTE_UNUSED, in ClassPrepareCallback()
|
/cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/ |
D | JvmtiRunTestBasedTest.java | 95 main_thread.setUncaughtExceptionHandler((thread, e) -> { final_throw[0] = e; }); in testRunTest() argument
|
/cts/tests/jdwp/runner/host-side/resources/expectations/ |
D | external_oj_libjdwp_art_failures.txt | 8 description: "Test fails due to unexpectedly getting the thread-groups of zombie threads",
|