/frameworks/base/core/java/com/android/server/ |
H A D | ResettableTimeout.java | 64 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 D | WindowManagerPolicyThread.java | 26 static Thread mThread; field in class:WindowManagerPolicyThread 30 mThread = thread; 35 return mThread;
|
/frameworks/base/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 86 if (mThread != NULL || mRunningLocally) { 101 if (mThread != NULL || mRunningLocally) { 105 mThread = new LooperThread(this, canCallJava); 107 status_t err = mThread->run( 110 mThread.clear(); 123 thread = mThread; 125 mThread.clear(); 177 if (mThread == NULL && !mRunningLocally) {
|
/frameworks/base/core/java/android/net/http/ |
H A D | IdleCache.java | 50 private IdleReaper mThread = null; field in class:IdleCache 86 if (mThread == null) { 87 mThread = new IdleReaper(); 88 mThread.start(); 165 mThread = null;
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 121 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/tests/BatteryWaster/src/com/android/batterywaster/ |
H A D | BatteryWaster.java | 43 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/services/java/com/android/server/ |
H A D | VibratorService.java | 232 if (mThread != null) { 233 synchronized (mThread) { 234 mThread.mDone = true; 235 mThread.notify(); 237 mThread = null; 258 // mThread better be null here. doCancelVibrate should always be 260 mThread = new VibrateThread(vib); 261 mThread.start(); 352 if (mThread == this) { 353 mThread 381 volatile VibrateThread mThread; field in class:VibratorService [all...] |
H A D | ViewServer.java | 67 private Thread mThread; field in class:ViewServer 112 if (mThread != null) { 117 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]"); 119 mThread.start(); 135 if (mThread != null) { 137 mThread.interrupt(); 146 mThread = null; 168 return mThread != null && mThread.isAlive(); 175 while (Thread.currentThread() == mThread) { [all...] |
H A D | NotificationPlayer.java | 200 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);
|
H A D | NetworkManagementService.java | 90 private Thread mThread; field in class:NetworkManagementService 110 mThread = new Thread(mConnector, NETD_TAG); 116 service.mThread.start();
|
H A D | WifiWatchdogService.java | 86 private WifiWatchdogThread mThread; field in class:WifiWatchdogService 270 mThread = new WifiWatchdogThread(); 271 mThread.start();
|
H A D | ThrottleService.java | 76 private HandlerThread mThread; field in class:ThrottleService 309 mThread = new HandlerThread(TAG); 310 mThread.start(); 311 mHandler = new MyHandler(mThread.getLooper());
|
/frameworks/base/core/java/com/android/internal/service/wallpaper/ |
H A D | ImageWallpaper.java | 43 private HandlerThread mThread; field in class:ImageWallpaper 53 mThread = new HandlerThread("Wallpaper", Process.THREAD_PRIORITY_FOREGROUND); 54 mThread.start(); 55 setCallbackLooper(mThread.getLooper()); 66 if (mThread != null) { 67 mThread.quit();
|
/frameworks/base/core/java/android/os/ |
H A D | Looper.java | 62 Thread mThread; field in class:Looper 184 mThread = Thread.currentThread(); 199 return mThread; 210 pw.println(prefix + "mThread=" + mThread);
|
/frameworks/base/include/media/stagefright/ |
H A D | AMRWriter.h | 55 pthread_t mThread; member in struct:android::AMRWriter
|
H A D | MPEG4Writer.h | 112 pthread_t mThread; // Thread id for the writer member in class:android::MPEG4Writer
|
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 659 mThread = thread; // NOTE: unused - remove? 673 private ActivityThread mThread = null; field in class:Service
|
H A D | Instrumentation.java | 78 private ActivityThread mThread = null; field in class:Instrumentation 188 mThread.finishInstrumentation(resultCode, results); 261 return mThread.isProfiling(); 270 if (mThread.isProfiling()) { 271 File file = new File(mThread.getProfileFilePath()); 281 if (mThread.isProfiling()) { 312 mThread.getHandler().post(new EmptyRunnable()); 324 mThread.getHandler().post(new EmptyRunnable()); 338 mThread.getHandler().post(sr); 373 String myProc = mThread [all...] |
/frameworks/base/libs/utils/ |
H A D | Threads.cpp | 674 mThread(thread_id_t(-1)), 703 mThread = thread_id_t(-1); 713 this, name, priority, stack, &mThread); 716 this, name, priority, stack, &mThread); 722 mThread = thread_id_t(-1); 779 self->mThread = thread_id_t(-1); 781 self->mThread = thread_id_t(-1); // thread id could be reused 803 if (mThread == getThreadId()) {
|
/frameworks/base/include/media/stagefright/foundation/ |
H A D | ALooper.h | 75 sp<LooperThread> mThread; member in struct:android::ALooper
|
/frameworks/base/media/libstagefright/include/ |
H A D | TimedEventQueue.h | 111 pthread_t mThread; member in struct:android::TimedEventQueue
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 43 private TestThread mThread; field in class:SoundPoolTest 385 mThread = new TestThread(); 386 mThread.start(); 393 mThread.quit(); 394 mThread = null;
|
/frameworks/base/media/libstagefright/ |
H A D | AMRWriter.cpp | 132 pthread_create(&mThread, &attr, ThreadWrapper, this); 156 pthread_join(mThread, &dummy);
|
H A D | TimedEventQueue.cpp | 64 pthread_create(&mThread, &attr, ThreadWrapper, this); 83 pthread_join(mThread, &dummy);
|
/frameworks/base/media/libstagefright/omx/ |
H A D | OMX.cpp | 61 pthread_t mThread; member in struct:android::OMX::CallbackDispatcher 79 pthread_create(&mThread, &attr, ThreadWrapper, this); 93 CHECK(mThread != pthread_self()); 96 pthread_join(mThread, &dummy);
|