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

/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/test-runner/android/test/
H A DTestLocationProvider.java51 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 DBatteryWaster.java42 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 DViewServer.java59 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 DHardwareService.java351 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 DWifiWatchdogService.java86 private WifiWatchdogThread mThread; field in class:WifiWatchdogService
269 mThread = new WifiWatchdogThread();
270 mThread.start();
H A DKeyInputQueue.java303 mThread.start();
492 Thread mThread = new Thread("InputDeviceReader") { field in class:KeyInputQueue
/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/media/java/android/media/
H A DAsyncPlayer.java123 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 DLooper.java61 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 DImageWallpaper.java40 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 DService.java530 mThread = thread; // NOTE: unused - remove?
544 private ActivityThread mThread = null; field in class:Service
H A DInstrumentation.java78 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 DTimedEventQueue.h88 pthread_t mThread; member in struct:android::TimedEventQueue
/frameworks/base/libs/utils/
H A DThreads.cpp590 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 DTimedEventQueue.cpp52 pthread_create(&mThread, &attr, ThreadWrapper, this);
71 pthread_join(mThread, &dummy);
H A DMPEG4Writer.cpp50 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 DOMX.cpp55 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 DSensorManager.java289 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 DAudioFlinger.cpp1494 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 DAudioFlinger.h293 wp<ThreadBase> mThread; member in class:android::AudioFlinger::ThreadBase::TrackBase
470 wp<ThreadBase>& thread() { return mThread; }
/frameworks/base/include/utils/
H A Dthreads.h404 thread_id_t mThread; member in class:android::Thread
/frameworks/base/core/java/android/server/
H A DBluetoothEventLoop.java46 private Thread mThread; field in class:BluetoothEventLoop
/frameworks/base/core/java/android/view/
H A DViewRoot.java112 final Thread mThread; field in class:ViewRoot
225 mThread = Thread.currentThread();
2682 if (mThread != Thread.currentThread()) {

Completed in 548 milliseconds