Home
last modified time | relevance | path

Searched refs:mThread (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/
DJavaHandlerThread.java24 private final HandlerThread mThread; field in JavaHandlerThread
33 mThread = new HandlerThread(name, priority); in JavaHandlerThread()
43 return mThread.getLooper(); in getLooper()
48 mThread.start(); in maybeStart()
54 new Handler(mThread.getLooper()).post(new Runnable() { in startAndInitialize()
65 new Handler(mThread.getLooper()).post(new Runnable() { in quitThreadSafely()
68 mThread.quit(); in quitThreadSafely()
74 mThread.getLooper().quitSafely(); in quitThreadSafely()
83 mThread.join(); in joinThread()
91 return mThread.getState() != Thread.State.NEW; in hasStarted()
[all …]
DPromise.java40 private final Thread mThread = Thread.currentThread(); field in Promise
285 assert mThread == Thread.currentThread() : "Promise must only be used on a single Thread."; in checkThread()
/external/replicaisland/src/com/replica/replicaisland/
DRenderingWatchDog.java33 private Thread mThread; field in RenderingWatchDog
51 mThread = new Thread(this); in start()
52 mThread.start(); in start()
58 if (mThread == null) { in stop()
64 mThread.join(); in stop()
68 mThread = null; in stop()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DAudioRecordThread.java33 private Thread mThread; field in AudioRecordThread
82 if (mThread == null) { in startAudio()
84 mThread = new Thread(this); in startAudio()
85 mThread.start(); in startAudio()
91 if (mThread != null) { in stopAudio()
93 mThread.join(1000); in stopAudio()
97 mThread = null; in stopAudio()
/external/apache-http/android/src/android/net/http/
DIdleCache.java47 private IdleReaper mThread = null; field in IdleCache
83 if (mThread == null) { in cacheConnection()
84 mThread = new IdleReaper(); in cacheConnection()
85 mThread.start(); in cacheConnection()
162 mThread = null; in run()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthEngine.java43 private Thread mThread; field in SynthEngine
286 mThread = new Thread(new MyRunnable()); in start()
288 mThread.start(); in start()
296 if (mThread != null) { in stop()
298 mThread.interrupt(); in stop()
299 mThread.join(500); in stop()
303 mThread = null; in stop()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dsound_system_echo.cpp49 mThread.reset(new std::thread(std::bind(&SoundSystemEcho::threadLoop, this))); in startThread()
54 mThread->join(); in stopThread()
55 mThread.reset(); in stopThread()
Dsound_system_echo.h56 std::unique_ptr<std::thread> mThread; variable
/external/angle/src/libGLESv2/
Dglobal_state.cpp109 : mThread(thread) in ScopedSyncCurrentContextFromThread()
111 ASSERT(mThread); in ScopedSyncCurrentContextFromThread()
116 SetContextCurrent(mThread, mThread->getContext()); in ~ScopedSyncCurrentContextFromThread()
Dglobal_state.h108 egl::Thread *const mThread;