Searched refs:mThread (Results 1 - 25 of 47) sorted by last modified time

12

/frameworks/native/include/utils/
H A DThread.h93 thread_id_t mThread; member in class:android::Thread
/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/base/services/java/com/android/server/
H A DBluetoothManagerService.java98 private HandlerThread mThread; field in class:BluetoothManagerService
150 mThread = new HandlerThread("BluetoothManager");
151 mThread.start();
152 mHandler = new BluetoothHandler(mThread.getLooper());
H A DNetworkManagementService.java147 private Thread mThread; field in class:NetworkManagementService
195 mThread = new Thread(mConnector, NETD_TAG);
205 service.mThread.start();
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());
H A DThrottleService.java80 private HandlerThread mThread; field in class:ThrottleService
343 mThread = new HandlerThread(TAG);
344 mThread.start();
345 mHandler = new MyHandler(mThread.getLooper());
363 if (mThread != null) {
364 mThread.quit();
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...]
/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/services/java/com/android/server/connectivity/
H A DTethering.java102 private HandlerThread mThread; field in class:Tethering
149 mThread = new HandlerThread("Tethering");
150 mThread.start();
151 mLooper = mThread.getLooper();
/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/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/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/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/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/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java42 private TestThread mThread; field in class:SoundPoolTest
384 mThread = new TestThread();
385 mThread.start();
392 mThread.quit();
393 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/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/av/media/libstagefright/include/
H A DTimedEventQueue.h111 pthread_t mThread; member in struct:android::TimedEventQueue
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp76 sp<CallbackDispatcherThread> mThread; member in struct:android::OMX::CallbackDispatcher
87 mThread = new CallbackDispatcherThread(this);
88 mThread->run("OMXCallbackDisp", ANDROID_PRIORITY_FOREGROUND);
101 status_t status = mThread->join();
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.cpp46 int err = pthread_create(&mThread, &attr, threadWrapper, this);
63 pthread_join(mThread, &dummy);
H A DDummyRecorder.h35 pthread_t mThread; member in class:android::DummyRecorder
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp548 if (mThread != NULL) {
558 mThread = new NetworkThread(this);
560 status_t err = mThread->run("ANetworkSession", ANDROID_PRIORITY_AUDIO);
563 mThread.clear();
576 if (mThread == NULL) {
580 mThread->requestExit();
582 mThread->requestExitAndWait();
584 mThread.clear();
H A DANetworkSession.h96 sp<Thread> mThread; member in struct:android::ANetworkSession
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1398 sp<ThreadBase> thread = mThread.promote();
4150 mThread(thread),
4389 sp<ThreadBase> thread = mThread.promote();
4544 ALOGV("getNextBuffer() no more data for track %d on thread %p", mName, mThread.unsafe_get());
4580 sp<ThreadBase> thread = mThread.promote();
4622 sp<ThreadBase> thread = mThread.promote();
4657 sp<ThreadBase> thread = mThread.promote();
4680 sp<ThreadBase> thread = mThread.promote();
4727 sp<ThreadBase> thread = mThread.promote();
5438 sp<ThreadBase> thread = mThread
[all...]
H A DAudioFlinger.h457 const wp<ThreadBase> mThread; member in class:android::AudioFlinger::ThreadBase::TrackBase
536 PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {}
546 wp<ThreadBase> mThread; member in class:android::AudioFlinger::ThreadBase::PMDeathRecipient
1008 const wp<ThreadBase>& thread() const { return mThread; }
1660 void setThread(const wp<ThreadBase>& thread) { mThread = thread; }
1661 const wp<ThreadBase>& thread() { return mThread; }
1703 wp<ThreadBase> mThread; // parent thread
1879 friend class AudioFlinger; // for mThread, mEffects
1905 wp<ThreadBase> mThread; // parent mixer thread member in class:android::AudioFlinger::EffectChain

Completed in 8844 milliseconds

12