/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/core/java/android/os/ |
H A D | Looper.java | 72 final Thread mThread; field in class:Looper 188 mThread = Thread.currentThread(); 195 return Thread.currentThread() == mThread; 253 return mThread; 278 return "Looper (" + mThread.getName() + ", tid " + mThread.getId()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HardwareCanvasSurfaceViewActivity.java | 34 private HardwareCanvasSurfaceViewActivity.RenderingThread mThread; field in class:HardwareCanvasSurfaceViewActivity 54 mThread = new RenderingThread(holder.getSurface()); 55 mThread.start(); 60 mThread.setSize(width, height); 65 if (mThread != null) mThread.stopRendering();
|
H A D | CanvasTextureViewActivity.java | 33 private CanvasTextureViewActivity.RenderingThread mThread; field in class:CanvasTextureViewActivity 51 mThread = new RenderingThread(mTextureView); 52 mThread.start(); 62 if (mThread != null) mThread.stopRendering();
|
H A D | HardwareCanvasTextureViewActivity.java | 34 private HardwareCanvasTextureViewActivity.RenderingThread mThread; field in class:HardwareCanvasTextureViewActivity 52 mThread = new RenderingThread(mTextureView); 53 mThread.start(); 63 if (mThread != null) mThread.stopRendering();
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 102 if (mThread != NULL || mRunningLocally) { 117 if (mThread != NULL || mRunningLocally) { 121 mThread = new LooperThread(this, canCallJava); 123 status_t err = mThread->run( 126 mThread.clear(); 139 thread = mThread; 141 mThread.clear(); 195 if (mThread == NULL && !mRunningLocally) {
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 120 mThread = null; 130 private Thread mThread; field in class:AsyncPlayer 229 if (mThread == null) { 231 mThread = new Thread(); 232 mThread.start(); 240 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 250 if (mWakeLock != null || mThread != null) { 254 + " 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/core/java/com/android/server/wm/ |
H A D | ViewServer.java | 68 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/av/media/libstagefright/tests/ |
H A D | DummyRecorder.h | 35 pthread_t mThread; member in class:android::DummyRecorder
|
H A D | DummyRecorder.cpp | 46 int err = pthread_create(&mThread, &attr, threadWrapper, this); 63 pthread_join(mThread, &dummy);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDebuggingManager.java | 65 private UsbDebuggingThread mThread; field in class:UsbDebuggingManager 218 mThread = new UsbDebuggingThread(); 219 mThread.start(); 229 if (mThread != null) { 230 mThread.stopListening(); 231 mThread = null; 250 if (mThread != null) { 251 mThread.sendResponse("OK"); 257 if (mThread != null) { 258 mThread [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 216 mThread = null; 249 private CmdThread mThread; field in class:NotificationPlayer 350 if (mThread == null) { 352 mThread = new CmdThread(); 353 mThread.start(); 361 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 371 if (mWakeLock != null || mThread != null) { 375 + " mThread=" + mThread);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.cpp | 204 if (mStreams[idx].mThread != NULL) { 209 mStreams[idx].mThread = new WebmFrameEmptySourceThread( 213 mStreams[idx].mThread = new WebmFrameMediaSourceThread( 246 if (mStreams[i].mThread == NULL) { 250 status_t status = mStreams[i].mThread->stop(); 255 int64_t durationUs = mStreams[i].mThread->getDurationUs(); 401 mStreams[kAudioIndex].mThread->resume(); 402 mStreams[kVideoIndex].mThread->resume(); 485 mStreams[kAudioIndex].mThread->start(); 486 mStreams[kVideoIndex].mThread [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | AMRWriter.h | 54 pthread_t mThread; member in struct:android::AMRWriter
|
H A D | AACWriter.h | 57 pthread_t mThread; member in struct:android::AACWriter
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Device.java | 45 private final HandlerThread mThread; field in class:Device 62 mThread = new HandlerThread("HidDeviceHandler"); 63 mThread.start(); 64 mHandler = new DeviceHandler(mThread.getLooper());
|
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerSession.java | 260 private HandlerThread mThread; field in class:SpellCheckerSession.SpellCheckerSessionListenerImpl 348 if (mThread != null) { 349 mThread.quit(); 353 mThread = null; 391 if (session.asBinder() instanceof Binder && mThread == null) { 395 mThread = new HandlerThread("SpellCheckerSession", 397 mThread.start(); 398 mAsyncHandler = new Handler(mThread.getLooper()) {
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
H A D | DirectStatementService.java | 126 private HandlerThread mThread; field in class:DirectStatementService 131 mThread = new HandlerThread("DirectStatementService thread", 133 mThread.start(); 134 onCreate(AbstractStatementRetriever.createDirectRetriever(this), mThread.getLooper(), 158 if (mThread != null) { 159 mThread.quit();
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | TransferPipe.java | 41 final Thread mThread;; field in class:TransferPipe 57 mThread = new Thread(this, "TransferPipe"); 139 mThread.start(); 145 mThread.interrupt(); 238 if (mThread.isInterrupted()) {
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 53 private ReaderThread mThread; field in class:Transport 86 if (mThread == null) { 93 mThread.quit(); 168 mThread = new ReaderThread(); 169 mThread.start();
|
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 705 mThread = thread; // NOTE: unused - remove? 719 private ActivityThread mThread = null; field in class:Service
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiOutputPort.java | 51 private final Thread mThread = new Thread() { field in class:MidiOutputPort 99 mThread.start();
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ALooper.h | 80 sp<LooperThread> mThread; member in struct:android::ALooper
|