Searched refs:mThread (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java64 if (mThread == null) {
67 mThread = new T();
68 mThread.start();
74 mThread.interrupt();
87 if (mThread != null) {
88 mThread.interrupt();
89 mThread = null;
110 mThread = null;
129 private Thread mThread; field in class:ResettableTimeout
/frameworks/base/core/java/com/android/internal/view/
H A DWindowManagerPolicyThread.java26 static Thread mThread; field in class:WindowManagerPolicyThread
30 mThread = thread;
35 return mThread;
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp95 if (mThread != NULL || mRunningLocally) {
110 if (mThread != NULL || mRunningLocally) {
114 mThread = new LooperThread(this, canCallJava);
116 status_t err = mThread->run(
119 mThread.clear();
132 thread = mThread;
134 mThread.clear();
188 if (mThread == NULL && !mRunningLocally) {
/frameworks/base/core/java/android/net/http/
H A DIdleCache.java50 private IdleReaper mThread = null; field in class:IdleCache
86 if (mThread == null) {
87 mThread = new IdleReaper();
88 mThread.start();
165 mThread = null;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCanvasTextureViewActivity.java33 private CanvasTextureViewActivity.RenderingThread mThread; field in class:CanvasTextureViewActivity
51 mThread = new RenderingThread(mTextureView);
52 mThread.start();
62 if (mThread != null) mThread.stopRendering();
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java43 SpinThread mThread; field in class:BatteryWaster
123 if (mThread == null) {
124 mThread = new SpinThread();
125 mThread.start();
136 if (mThread != null) {
137 mThread.quit();
138 mThread = null;
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java121 mThread = null;
131 private Thread mThread; field in class:AsyncPlayer
199 if (mThread == null) {
201 mThread = new Thread();
202 mThread.start();
210 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
220 if (mWakeLock != null || mThread != null) {
224 + " mThread=" + mThread);
/frameworks/base/services/java/com/android/server/wm/
H A DViewServer.java68 private Thread mThread; field in class:ViewServer
100 if (mThread != null) {
105 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]");
107 mThread.start();
123 if (mThread != null) {
125 mThread.interrupt();
134 mThread = null;
156 return mThread != null && mThread.isAlive();
163 while (Thread.currentThread() == mThread) {
[all...]
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.h35 pthread_t mThread; member in class:android::DummyRecorder
H A DDummyRecorder.cpp46 int err = pthread_create(&mThread, &attr, threadWrapper, this);
63 pthread_join(mThread, &dummy);
/frameworks/base/core/java/android/os/
H A DLooper.java61 final Thread mThread; field in class:Looper
191 mThread = Thread.currentThread();
249 return mThread;
261 pw.println("mThread=" + mThread);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java200 mThread = null;
227 private CmdThread mThread; field in class:NotificationPlayer
298 if (mThread == null) {
300 mThread = new CmdThread();
301 mThread.start();
309 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The
319 if (mWakeLock != null || mThread != null) {
323 + " mThread=" + mThread);
/frameworks/av/include/media/stagefright/
H A DAMRWriter.h55 pthread_t mThread; member in struct:android::AMRWriter
H A DAACWriter.h57 pthread_t mThread; member in struct:android::AACWriter
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java235 private HandlerThread mThread; field in class:SpellCheckerSession.SpellCheckerSessionListenerImpl
318 if (mThread != null) {
319 mThread.quit();
321 mThread = null;
330 if (session.asBinder() instanceof Binder && mThread == null) {
333 mThread = new HandlerThread("SpellCheckerSession",
335 mThread.start();
336 mAsyncHandler = new Handler(mThread.getLooper()) {
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java59 volatile VibrateThread mThread; field in class:VibratorService
285 if (mThread != null) {
286 synchronized (mThread) {
287 mThread.mDone = true;
288 mThread.notify();
290 mThread = null;
312 // mThread better be null here. doCancelVibrate should always be
314 mThread = new VibrateThread(vib);
315 mThread.start();
510 if (mThread
[all...]
H A DNetworkTimeUpdateService.java83 private HandlerThread mThread; field in class:NetworkTimeUpdateService
108 mThread = new HandlerThread(TAG);
109 mThread.start();
110 mHandler = new MyHandler(mThread.getLooper());
/frameworks/base/services/java/com/android/server/am/
H A DTransferPipe.java41 final Thread mThread;; field in class:TransferPipe
57 mThread = new Thread(this, "TransferPipe");
139 mThread.start();
145 mThread.interrupt();
226 if (mThread.isInterrupted()) {
/frameworks/base/core/java/android/app/
H A DService.java693 mThread = thread; // NOTE: unused - remove?
707 private ActivityThread mThread = null; field in class:Service
/frameworks/av/include/media/stagefright/foundation/
H A DALooper.h75 sp<LooperThread> mThread; member in struct:android::ALooper
/frameworks/native/include/utils/
H A DThread.h93 thread_id_t mThread; member in class:android::Thread
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java61 Thread mThread; field in class:SystemSensorManager.SensorThread
74 if (mThread == null) {
84 mThread = thread;
88 return mThread == null ? false : true;
136 mThread = null;
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDebuggingManager.java58 private Thread mThread; field in class:UsbDebuggingManager
167 mThread = new Thread(UsbDebuggingManager.this);
168 mThread.start();
180 mThread.join();
184 mThread = null;
/frameworks/native/libs/utils/
H A DThreads.cpp694 mThread(thread_id_t(-1)),
726 mThread = thread_id_t(-1);
736 this, name, priority, stack, &mThread);
739 this, name, priority, stack, &mThread);
745 mThread = thread_id_t(-1);
807 self->mThread = thread_id_t(-1);
834 if (mThread == getThreadId()) {
858 if (mThread == getThreadId()) {
881 pthread_t pthread = android_thread_id_t_to_pthread(mThread);
/frameworks/av/include/media/
H A DJetPlayer.h119 sp<JetPlayerThread> mThread; member in class:android::JetPlayer

Completed in 303 milliseconds

12