Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java127 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 …]
DSeccompTest.java307 Thread thread = new Thread(new Runnable() {
317 thread.run();
319 thread.join();
/cts/libs/vogar-expect/src/vogar/util/
DThreads.java35 Thread thread = new Thread(r, name + "-" + (nextId++)); in daemonThreadFactory() local
36 thread.setDaemon(true); in daemonThreadFactory()
37 return thread; in daemonThreadFactory()
/cts/tests/tests/media/src/android/media/cts/
DResourceManagerStubActivity.java78 Thread thread = new Thread() { in testReclaimResource() local
101 thread.start(); in testReclaimResource()
102 thread.join(20000 /* millis */); in testReclaimResource()
DDecodeAccuracyTestBase.java1178 private final HandlerThread thread; field in SurfaceViewSnapshot.SynchronousPixelCopy
1183 this.thread = new HandlerThread("PixelCopyHelper"); in SynchronousPixelCopy()
1184 thread.start(); in SynchronousPixelCopy()
1185 this.handler = new Handler(thread.getLooper()); in SynchronousPixelCopy()
1189 thread.quit(); in release()
/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java201 final HandlerThread thread = new HandlerThread("Listener"); in testDropCount() local
202 thread.start(); in testDropCount()
203 final Handler handler = new Handler(thread.getLooper()); in testDropCount()
DPixelCopyTests.java298 HandlerThread thread = new HandlerThread("PixelCopyHelper");
299 thread.start(); in thread.start()
300 sHandler = new Handler(thread.getLooper());
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h114 CommandHandler(RemoteAudio& thread, int command) in CommandHandler() argument
115 : mThread(thread), in CommandHandler()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java1817 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/
DNativeAudioThread.java213 Thread thread = new Thread(new Runnable() { in runDestroy() local
224 thread.start(); in runDestroy()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DDatabaseStatementTest.java288 StatementTestThread thread = new StatementTestThread(mDatabase, statement); in testStatementMultiThreaded() local
289 thread.start(); in testStatementMultiThreaded()
291 thread.join(); in testStatementMultiThreaded()
/cts/tests/tests/content/src/android/content/cts/
DContentQueryMapTest.java272 HandlerThread thread = new HandlerThread("testSetKeepUpdatedWithHandler"); in testSetKeepUpdatedWithHandler() local
273 thread.start(); in testSetKeepUpdatedWithHandler()
274 Handler handler = new Handler(thread.getLooper()); in testSetKeepUpdatedWithHandler()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex19901 java.lang.Thread thread
53446 java.lang.Thread thread
54533 volatile java.lang.Thread thread