/frameworks/support/compat/java/android/support/v4/provider/ |
H A D | SelfDestructiveThread.java | 46 private HandlerThread mThread; field in class:SelfDestructiveThread 91 return mThread != null; 107 if (mThread == null) { 108 mThread = new HandlerThread(mThreadName, mPriority); 109 mThread.start(); 110 mHandler = new Handler(mThread.getLooper(), mCallback); 228 mThread.quit(); 229 mThread = null;
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | FragmentRetainInstanceSupport.java | 110 final Thread mThread = new Thread() { field in class:FragmentRetainInstanceSupport.RetainedFragment 166 mThread.start(); 184 synchronized (mThread) { 186 mThread.notify(); 197 synchronized (mThread) { 200 mThread.notify(); 215 synchronized (mThread) { 218 mThread.notify(); 228 synchronized (mThread) { 230 mThread [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | FragmentRetainInstanceSupport.java | 110 final Thread mThread = new Thread() { field in class:FragmentRetainInstanceSupport.RetainedFragment 166 mThread.start(); 184 synchronized (mThread) { 186 mThread.notify(); 197 synchronized (mThread) { 200 mThread.notify(); 215 synchronized (mThread) { 218 mThread.notify(); 228 synchronized (mThread) { 230 mThread [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasObexClientSession.java | 58 private HandlerThread mThread; field in class:BluetoothMasObexClientSession 108 mThread = new HandlerThread("BluetoothMasObexClientSessionThread"); 109 mThread.start(); 110 mHandler = new ObexClientHandler(mThread.getLooper(), this); 130 mThread.quit();
|
/frameworks/native/cmds/lshal/ |
H A D | PipeRelay.cpp | 69 mThread = new RelayThread(mFds[0], os); 70 mInitCheck = mThread->run("RelayThread"); 89 if (mThread != NULL) { 90 mThread->join(); 91 mThread.clear();
|
H A D | PipeRelay.h | 48 sp<RelayThread> mThread; member in struct:android::lshal::PipeRelay
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.cpp | 380 mThread(new DispSyncThread(name)), 384 mThread->run("DispSync", PRIORITY_URGENT_DISPLAY + PRIORITY_MORE_FAVORABLE); 388 if (sched_setscheduler(mThread->getTid(), SCHED_FIFO, ¶m) != 0) { 466 mThread->updateModel(mPeriod, mPhase, mReferenceTime); 487 return mThread->hasAnyEventListeners(); 504 return mThread->addEventListener(name, phase, callback); 516 return mThread->removeEventListener(callback); 524 mThread->updateModel(mPeriod, mPhase, mReferenceTime); 587 mThread->updateModel(mPeriod, mPhase, mReferenceTime);
|
H A D | DispSync.h | 171 // mThread is the thread from which all the callbacks are called. 172 sp<DispSyncThread> mThread; member in class:android::DispSync
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | MemoryAccessTask.java | 29 private WorkThread mThread; field in class:MemoryAccessTask 51 if (mThread != null) { 55 mThread = new WorkThread(); 56 mThread.start(); 60 if (mThread != null) { 65 mThread.join();
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | EditTextTypeActivity.java | 35 Thread mThread; field in class:EditTextTypeActivity 74 mThread = new Thread(new Runnable() { 100 mThread.start();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
H A D | TileLifecycleManagerTest.java | 65 private HandlerThread mThread; field in class:TileLifecycleManagerTest 82 mThread = new HandlerThread("TestThread"); 83 mThread.start(); 84 mHandler = new Handler(mThread.getLooper()); 94 mThread.quit();
|
H A D | TileServiceManagerTest.java | 41 private HandlerThread mThread; field in class:TileServiceManagerTest 47 mThread = new HandlerThread("TestThread"); 48 mThread.start(); 49 mHandler = new Handler(mThread.getLooper()); 62 mThread.quit();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkManagementService.java | 221 private final Thread mThread; field in class:NetworkManagementService 327 mThread = new Thread(mConnector, NETD_TAG); 343 mThread = null; 351 service.mThread.start();
|
H A D | VibratorService.java | 91 private volatile VibrateThread mThread; field in class:VibratorService 442 if (mThread != null) { 443 mThread.cancel(); 444 mThread = null; 497 // mThread better be null here. doCancelVibrate should always be 500 mThread = new VibrateThread(waveform, vib.mUid, vib.mUsageHint); 501 mThread.start(); 858 mThread.mForceStop = true; 859 mThread.notify();
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | InstrumentationReporter.java | 37 Thread mThread; field in class:InstrumentationReporter 64 mThread = null; 133 if (mThread == null) { 134 mThread = new MyThread(); 135 mThread.start();
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | EventConditionProvider.java | 70 private final HandlerThread mThread; field in class:EventConditionProvider 79 mThread = new HandlerThread(TAG, Process.THREAD_PRIORITY_BACKGROUND); 80 mThread.start(); 81 mWorker = new Handler(mThread.getLooper());
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ViewServer.java | 71 private Thread mThread; field in class:ViewServer 103 if (mThread != null) { 108 mThread = new Thread(this, "Remote View Server [port=" + mPort + "]"); 110 mThread.start(); 126 if (mThread != null) { 128 mThread.interrupt(); 137 mThread = null; 159 return mThread != null && mThread.isAlive(); 166 while (Thread.currentThread() == mThread) { [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 279 sp<BufferProducerThread> mThread; member in class:android::JTvInputHal::Connection 359 if (connection.mSourceHandle == NULL && connection.mThread == NULL) { 424 if (connection.mThread != NULL) { 425 connection.mThread->shutdown(); 426 connection.mThread.clear(); 537 if (connection.mThread == NULL) { 541 thread = connection.mThread;
|
/frameworks/base/services/net/java/android/net/util/ |
H A D | BlockingSocketReader.java | 45 private final Thread mThread; field in class:BlockingSocketReader 67 mThread = new Thread(() -> { mainLoop(); }); 83 mThread.start();
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDebuggingManager.java | 66 private UsbDebuggingThread mThread; field in class:UsbDebuggingManager 219 mThread = new UsbDebuggingThread(); 220 mThread.start(); 230 if (mThread != null) { 231 mThread.stopListening(); 232 mThread = null; 251 if (mThread != null) { 252 mThread.sendResponse("OK"); 258 if (mThread != null) { 259 mThread [all...] |
/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/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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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 | HardwareCanvasSurfaceViewActivity.java | 41 private HardwareCanvasSurfaceViewActivity.RenderingThread mThread; field in class:HardwareCanvasSurfaceViewActivity 91 mThread = new RenderingThread(holder); 92 mThread.start(); 97 mThread.setSize(width, height); 102 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();
|