/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/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 152 for (ThreadModel thread : process.getThreads()) { in findThread() 153 if (thread.getId() == id) { in findThread() 154 return thread; in findThread() 184 ThreadModel thread = findThread(result.getModel(), result.getTid()); in testBeginEndSection() local 185 assertNotNull(thread); in testBeginEndSection() 186 assertEquals(2, thread.getSlices().size()); in testBeginEndSection() 187 Slice sdkSlice = thread.getSlices().get(0); in testBeginEndSection() 189 Slice ndkSlice = thread.getSlices().get(1); in testBeginEndSection() 248 ThreadModel thread = findThread(result.getModel(), result.getPid()); in testTracingContent() local 249 SliceQueriesKt.iterSlices(thread, (Slice slice) -> { in testTracingContent()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0415/ |
D | poc.cpp | 56 pthread_t thread; in main() local 57 pthread_create(&thread, NULL, start2, &bufferProducer); in main() 71 pthread_join(thread, NULL); in main()
|
/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/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/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 | 288 final HandlerThread thread = new HandlerThread("EventListenerHandlerThread"); in testClearKeyApis() local 289 thread.start(); in testClearKeyApis() 290 Handler handler = new Handler(thread.getLooper()); in testClearKeyApis() 293 thread.interrupt(); in testClearKeyApis()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 46 jthread thread ATTRIBUTE_UNUSED, in ObjectAllocated() 72 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() argument 76 thread); in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9515/ |
D | poc.c | 70 pthread_t thread; in main() local 71 if (pthread_create(&thread, NULL, uaf_worker, NULL)) in main()
|
/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/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/tests/tests/security/src/android/security/cts/ |
D | RenderTarget.java | 64 HandlerThread thread = new HandlerThread("RenderTarget-GL"); 65 thread.start(); in thread.start() 66 sHandler = new Handler(thread.getLooper(), new RenderTargetThread());
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TracingControllerTest.java | 160 Thread thread = new Thread(r); 161 thread.setName(EXECUTOR_THREAD_PREFIX + "_" + threadCount.incrementAndGet()); 162 return thread;
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FrameMetricsListenerTest.java | 153 final HandlerThread thread = new HandlerThread("Listener"); in testDropCount() local 154 thread.start(); in testDropCount() 164 new Handler(thread.getLooper()))); in testDropCount()
|
/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/opengl/src/android/opengl/cts/ |
D | EglConfigCtsActivity.java | 99 Thread thread = new Thread() { in runConfigTests() local 129 thread.start(); in runConfigTests()
|
/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/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/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/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 299 pthread_t thread; in TEST() local 300 EXPECT_EQ(0, pthread_create(&thread, NULL, clientFunction, &data)); in TEST() 313 EXPECT_EQ(0, pthread_join(thread, &ret_val)); in TEST()
|
/cts/hostsidetests/jvmti/allocation-tracking/app/src/android/jvmti/cts/ |
D | JvmtiTrackingTest.java | 171 private static native void enableAllocationTracking(Thread thread, boolean enable); in enableAllocationTracking() argument
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 93 jthread thread ATTRIBUTE_UNUSED, in ClassPrepareCallback()
|