Searched refs:mThread (Results 1 - 25 of 34) 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/base/media/libstagefright/foundation/
H A DALooper.cpp86 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 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.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/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/services/java/com/android/server/
H A DVibratorService.java232 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 DViewServer.java67 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 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);
H A DNetworkManagementService.java90 private Thread mThread; field in class:NetworkManagementService
110 mThread = new Thread(mConnector, NETD_TAG);
116 service.mThread.start();
H A DWifiWatchdogService.java86 private WifiWatchdogThread mThread; field in class:WifiWatchdogService
270 mThread = new WifiWatchdogThread();
271 mThread.start();
H A DThrottleService.java76 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 DImageWallpaper.java43 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 DLooper.java62 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 DAMRWriter.h55 pthread_t mThread; member in struct:android::AMRWriter
H A DMPEG4Writer.h112 pthread_t mThread; // Thread id for the writer member in class:android::MPEG4Writer
/frameworks/base/core/java/android/app/
H A DService.java659 mThread = thread; // NOTE: unused - remove?
673 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/libs/utils/
H A DThreads.cpp674 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 DALooper.h75 sp<LooperThread> mThread; member in struct:android::ALooper
/frameworks/base/media/libstagefright/include/
H A DTimedEventQueue.h111 pthread_t mThread; member in struct:android::TimedEventQueue
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java43 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 DAMRWriter.cpp132 pthread_create(&mThread, &attr, ThreadWrapper, this);
156 pthread_join(mThread, &dummy);
H A DTimedEventQueue.cpp64 pthread_create(&mThread, &attr, ThreadWrapper, this);
83 pthread_join(mThread, &dummy);
/frameworks/base/media/libstagefright/omx/
H A DOMX.cpp61 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);

Completed in 477 milliseconds

12