/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/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/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/native/services/surfaceflinger/tests/unittests/ |
H A D | EventControlThreadTest.cpp | 45 std::unique_ptr<EventControlThread> mThread; member in class:android::__anon1891::EventControlThreadTest 61 mThread = std::make_unique<android::impl::EventControlThread>( 87 mThread->setVsyncEnabled(false); 96 mThread->setVsyncEnabled(true); 100 mThread->setVsyncEnabled(false); 109 mThread->setVsyncEnabled(true); 113 mThread->setVsyncEnabled(true);
|
H A D | EventThreadTest.cpp | 84 std::unique_ptr<android::impl::EventThread> mThread; member in class:android::EventThreadTest 113 mThread = 122 sp<MockEventThreadConnection> connection = new MockEventThreadConnection(mThread.get()); 199 mThread->requestNextVsync(mConnection); 232 mThread->setVsyncRate(0, firstConnection); 242 mThread->setVsyncRate(1, secondConnection); 261 mThread->setVsyncRate(1, mConnection); 287 mThread->setVsyncRate(2, mConnection); 317 mThread->setVsyncRate(1, mConnection); 340 mThread [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/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/main/java/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/av/services/oboeservice/ |
H A D | AAudioThread.cpp | 41 // mThread is a pthread_t of unknown size so we need memset(). 42 memset(&mThread, 0, sizeof(mThread)); 76 int err = pthread_create(&mThread, nullptr, AAudioThread_internalThreadProc, this); 81 int err = pthread_setname_np(mThread, mName); 93 int err = pthread_join(mThread, nullptr);
|
H A D | AAudioThread.h | 76 pthread_t mThread; // initialized in constructor member in class:aaudio::AAudioThread
|
/frameworks/native/cmds/lshal/ |
H A D | PipeRelay.cpp | 68 mThread = new RelayThread(mFds[0], os); 69 mInitCheck = mThread->run("RelayThread"); 88 if (mThread != NULL) { 89 mThread->join(); 90 mThread.clear();
|
H A D | PipeRelay.h | 47 sp<RelayThread> mThread; member in struct:android::lshal::PipeRelay
|
/frameworks/support/compat/src/androidTest/java/androidx/core/os/ |
H A D | HandlerCompatTest.java | 39 private final HandlerThread mThread = new HandlerThread("handler-compat-test"); field in class:HandlerCompatTest 43 mThread.start(); 44 mHandler = new Handler(mThread.getLooper()); 48 assertTrue(mThread.quit());
|
/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(); 199 if (mThread == NULL && !mRunningLocally) { 243 if (mThread == NULL) {
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
H A D | SelfDestructiveThread.java | 47 private HandlerThread mThread; field in class:SelfDestructiveThread 92 return mThread != null; 108 if (mThread == null) { 109 mThread = new HandlerThread(mThreadName, mPriority); 110 mThread.start(); 111 mHandler = new Handler(mThread.getLooper(), mCallback); 229 mThread.quit(); 230 mThread = null;
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
H A D | NativeCallbackThread.cpp | 31 mThread(&NativeCallbackThread::threadLoop, this) { 109 if (mThread.get_id() == std::thread::id()) { 112 mThread.detach(); 114 mThread.join();
|
H A D | NativeCallbackThread.h | 37 std::thread mThread; member in class:android::NativeCallbackThread
|
/frameworks/ml/nn/runtime/ |
H A D | Callbacks.cpp | 63 if (mThread.joinable()) { 72 mThread = std::move(asyncThread); 96 if (mThread.joinable()) { 97 mThread.join();
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventControlThread.cpp | 35 pthread_setname_np(mThread.native_handle(), "EventControlThread"); 37 pid_t tid = pthread_gettid_np(mThread.native_handle()); 48 mThread.join();
|
/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 | 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();
|
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();
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 121 mThread = null; 131 private Thread mThread; field in class:AsyncPlayer 231 if (mThread == null) { 233 mThread = new Thread(); 234 mThread.start(); 242 * sound to play, but if the CPU turns off before mThread gets to work, it won't. The 252 if (mWakeLock != null || mThread != null) { 256 + " 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 | 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/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();
|