/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/test-runner/android/test/ |
H A D | TestLocationProvider.java | 51 private TestLocationProviderThread mThread; field in class:TestLocationProvider 126 if (mThread != null) { 127 mThread.setDone(); 129 mThread.join(); 132 mThread = null; 138 mThread = new TestLocationProviderThread(); 139 mThread.start();
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
H A D | BatteryWaster.java | 42 SpinThread mThread; field in class:BatteryWaster 88 if (mThread == null) { 89 mThread = new SpinThread(); 90 mThread.start(); 98 if (mThread != null) { 99 mThread.quit(); 100 mThread = null;
|
/frameworks/base/services/java/com/android/server/ |
H A D | ViewServer.java | 59 private Thread mThread; field in class:ViewServer 102 if (mThread != null) { 107 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]"); 108 mThread.start(); 124 if (mThread != null) { 125 mThread.interrupt(); 126 mThread = null; 148 return mThread != null && mThread.isAlive(); 157 while (Thread.currentThread() == mThread) { [all...] |
H A D | HardwareService.java | 351 if (mThread != null) { 352 synchronized (mThread) { 353 mThread.mDone = true; 354 mThread.notify(); 356 mThread = null; 377 // mThread better be null here. doCancelVibrate should always be 379 mThread = new VibrateThread(vib); 380 mThread.start(); 469 if (mThread == this) { 470 mThread 504 volatile VibrateThread mThread; field in class:HardwareService [all...] |
H A D | WifiWatchdogService.java | 86 private WifiWatchdogThread mThread; field in class:WifiWatchdogService 269 mThread = new WifiWatchdogThread(); 270 mThread.start();
|
H A D | KeyInputQueue.java | 303 mThread.start(); 492 Thread mThread = new Thread("InputDeviceReader") { field in class:KeyInputQueue
|
/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 | 123 mThread = null; 133 private Thread mThread; field in class:AsyncPlayer 201 if (mThread == null) { 203 mThread = new Thread(); 204 mThread.start(); 212 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 222 if (mWakeLock != null || mThread != null) { 226 + " mThread=" + mThread);
|
/frameworks/base/core/java/android/os/ |
H A D | Looper.java | 61 Thread mThread; field in class:Looper 165 mThread = Thread.currentThread(); 180 return mThread; 186 pw.println(prefix + "mThread=" + mThread);
|
/frameworks/base/core/java/com/android/internal/service/wallpaper/ |
H A D | ImageWallpaper.java | 40 private HandlerThread mThread; field in class:ImageWallpaper 46 mThread = new HandlerThread("Wallpaper", Process.THREAD_PRIORITY_FOREGROUND); 47 mThread.start(); 48 setCallbackLooper(mThread.getLooper()); 58 mThread.quit();
|
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 530 mThread = thread; // NOTE: unused - remove? 544 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/include/media/stagefright/ |
H A D | TimedEventQueue.h | 88 pthread_t mThread; member in struct:android::TimedEventQueue
|
/frameworks/base/libs/utils/ |
H A D | Threads.cpp | 590 mThread(thread_id_t(-1)), 619 mThread = thread_id_t(-1); 629 this, name, priority, stack, &mThread); 632 this, name, priority, stack, &mThread); 638 mThread = thread_id_t(-1); 715 if (mThread == getThreadId()) {
|
/frameworks/base/media/libstagefright/ |
H A D | TimedEventQueue.cpp | 52 pthread_create(&mThread, &attr, ThreadWrapper, this); 71 pthread_join(mThread, &dummy);
|
H A D | MPEG4Writer.cpp | 50 pthread_t mThread; member in class:android::MPEG4Writer::Track 318 pthread_create(&mThread, &attr, ThreadWrapper, this); 332 pthread_join(mThread, &dummy);
|
/frameworks/base/media/libstagefright/omx/ |
H A D | OMX.cpp | 55 pthread_t mThread; member in struct:android::OMX::CallbackDispatcher 73 pthread_create(&mThread, &attr, ThreadWrapper, this); 87 pthread_join(mThread, &dummy);
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 289 Thread mThread; field in class:SensorManager.SensorThread 304 if (mThread == null) { 306 mThread = new Thread(new SensorThreadRunnable(dataChannel), 308 mThread.start(); 325 mThread = null; 388 mThread = null;
|
/frameworks/base/libs/audioflinger/ |
H A D | AudioFlinger.cpp | 1494 t->mThread = this; 2141 mThread(thread), 2317 sp<ThreadBase> thread = mThread.promote(); 2336 sp<ThreadBase> thread = mThread.promote(); 2407 LOGV("getNextBuffer() no more data for track %d on thread %p", mName, mThread.unsafe_get()); 2427 sp<ThreadBase> thread = mThread.promote(); 2461 sp<ThreadBase> thread = mThread.promote(); 2485 sp<ThreadBase> thread = mThread.promote(); 2503 sp<ThreadBase> thread = mThread.promote(); 2579 sp<ThreadBase> thread = mThread [all...] |
H A D | AudioFlinger.h | 293 wp<ThreadBase> mThread; member in class:android::AudioFlinger::ThreadBase::TrackBase 470 wp<ThreadBase>& thread() { return mThread; }
|
/frameworks/base/include/utils/ |
H A D | threads.h | 404 thread_id_t mThread; member in class:android::Thread
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothEventLoop.java | 46 private Thread mThread; field in class:BluetoothEventLoop
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRoot.java | 112 final Thread mThread; field in class:ViewRoot 225 mThread = Thread.currentThread(); 2682 if (mThread != Thread.currentThread()) {
|