Home
last modified time | relevance | path

Searched refs:mThread (Results 1 – 25 of 259) sorted by relevance

1234567891011

/aosp12/hardware/qcom/gps/msm8909/utils/
H A DMsgTask.cpp45 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
46 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
47 delete mThread; in MsgTask()
48 mThread = NULL; in MsgTask()
53 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
54 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
55 delete mThread; in MsgTask()
56 mThread = NULL; in MsgTask()
66 LocThread* thread = mThread; in destroy()
69 mThread = NULL; in destroy()
H A DLocThread.cpp205 if (mThread) { in ~LocThread()
206 mThread->bye(); in ~LocThread()
207 mThread = NULL; in ~LocThread()
213 if (!mThread) { in start()
214 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
216 success = (NULL != mThread); in start()
222 if (mThread) { in stop()
223 mThread->stop(); in stop()
224 mThread = NULL; in stop()
/aosp12/hardware/qcom/gps/msm8909w_3100/utils/
H A DMsgTask.cpp44 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
45 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
46 delete mThread; in MsgTask()
47 mThread = NULL; in MsgTask()
52 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
53 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
54 delete mThread; in MsgTask()
55 mThread = NULL; in MsgTask()
65 LocThread* thread = mThread; in destroy()
68 mThread = NULL; in destroy()
H A DLocThread.cpp207 if (mThread) { in ~LocThread()
208 mThread->bye(); in ~LocThread()
209 mThread = NULL; in ~LocThread()
215 if (!mThread) { in start()
216 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
218 success = (NULL != mThread); in start()
224 if (mThread) { in stop()
225 mThread->stop(); in stop()
226 mThread = NULL; in stop()
/aosp12/hardware/qcom/gps/msm8996/utils/
H A DMsgTask.cpp45 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
46 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
47 delete mThread; in MsgTask()
48 mThread = NULL; in MsgTask()
53 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
54 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
55 delete mThread; in MsgTask()
56 mThread = NULL; in MsgTask()
66 LocThread* thread = mThread; in destroy()
69 mThread = NULL; in destroy()
H A DLocThread.cpp205 if (mThread) { in ~LocThread()
206 mThread->bye(); in ~LocThread()
207 mThread = NULL; in ~LocThread()
213 if (!mThread) { in start()
214 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
216 success = (NULL != mThread); in start()
222 if (mThread) { in stop()
223 mThread->stop(); in stop()
224 mThread = NULL; in stop()
/aosp12/hardware/qcom/gps/msm8998/utils/
H A DMsgTask.cpp44 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
45 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
46 delete mThread; in MsgTask()
47 mThread = NULL; in MsgTask()
52 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
53 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
54 delete mThread; in MsgTask()
55 mThread = NULL; in MsgTask()
65 LocThread* thread = mThread; in destroy()
68 mThread = NULL; in destroy()
H A DLocThread.cpp207 if (mThread) { in ~LocThread()
208 mThread->bye(); in ~LocThread()
209 mThread = NULL; in ~LocThread()
215 if (!mThread) { in start()
216 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
218 success = (NULL != mThread); in start()
224 if (mThread) { in stop()
225 mThread->stop(); in stop()
226 mThread = NULL; in stop()
/aosp12/hardware/qcom/sdm845/gps/msm8909/utils/
H A DMsgTask.cpp45 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
46 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
47 delete mThread; in MsgTask()
48 mThread = NULL; in MsgTask()
53 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
54 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
55 delete mThread; in MsgTask()
56 mThread = NULL; in MsgTask()
66 LocThread* thread = mThread; in destroy()
69 mThread = NULL; in destroy()
H A DLocThread.cpp205 if (mThread) { in ~LocThread()
206 mThread->bye(); in ~LocThread()
207 mThread = NULL; in ~LocThread()
213 if (!mThread) { in start()
214 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
216 success = (NULL != mThread); in start()
222 if (mThread) { in stop()
223 mThread->stop(); in stop()
224 mThread = NULL; in stop()
/aosp12/hardware/qcom/sdm845/gps/msm8998/utils/
H A DMsgTask.cpp44 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
45 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
46 delete mThread; in MsgTask()
47 mThread = NULL; in MsgTask()
52 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
53 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
54 delete mThread; in MsgTask()
55 mThread = NULL; in MsgTask()
65 LocThread* thread = mThread; in destroy()
68 mThread = NULL; in destroy()
H A DLocThread.cpp207 if (mThread) { in ~LocThread()
208 mThread->bye(); in ~LocThread()
209 mThread = NULL; in ~LocThread()
215 if (!mThread) { in start()
216 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
218 success = (NULL != mThread); in start()
224 if (mThread) { in stop()
225 mThread->stop(); in stop()
226 mThread = NULL; in stop()
/aosp12/hardware/qcom/sdm845/gps/sdm845/utils/
H A DMsgTask.cpp46 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
47 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
48 delete mThread; in MsgTask()
49 mThread = NULL; in MsgTask()
54 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
55 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
56 delete mThread; in MsgTask()
57 mThread = NULL; in MsgTask()
67 LocThread* thread = mThread; in destroy()
70 mThread = NULL; in destroy()
/aosp12/hardware/qcom/sdm845/gps/msm8996/utils/
H A DMsgTask.cpp45 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
46 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
47 delete mThread; in MsgTask()
48 mThread = NULL; in MsgTask()
53 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
54 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
55 delete mThread; in MsgTask()
56 mThread = NULL; in MsgTask()
66 LocThread* thread = mThread; in destroy()
69 mThread = NULL; in destroy()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsTaskScheduler.java50 private HandlerThread mThread; field in ContactsTaskScheduler
75 Log.v(TAG, "[" + mName + "] " + mThread + " dispatching " + msg.what); in handleMessage()
89 return mThread != null; in isRunning()
105 mThread.start(); in scheduleTask()
106 mHandler = new MyHandler(mThread.getLooper()); in scheduleTask()
109 Log.v(TAG, "[" + mName + "] " + mThread + " started."); in scheduleTask()
134 Log.v(TAG, "[" + mName + "] " + mThread + " stopping..."); in stopThread()
136 if (mThread != null) { in stopThread()
137 mThread.quit(); in stopThread()
140 mThread.join(); in stopThread()
[all …]
/aosp12/hardware/qcom/sm8150p/gps/utils/
H A DMsgTask.cpp45 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
46 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
47 delete mThread; in MsgTask()
48 mThread = NULL; in MsgTask()
53 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
54 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
55 delete mThread; in MsgTask()
56 mThread = NULL; in MsgTask()
66 LocThread* thread = mThread; in destroy()
69 mThread = NULL; in destroy()
/aosp12/hardware/qcom/sm7150/gps/utils/
H A DMsgTask.cpp45 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
46 if (!mThread->start(tCreator, threadName, this, joinable)) { in MsgTask()
47 delete mThread; in MsgTask()
48 mThread = NULL; in MsgTask()
53 mQ(msg_q_init2()), mThread(new LocThread()) { in MsgTask()
54 if (!mThread->start(threadName, this, joinable)) { in MsgTask()
55 delete mThread; in MsgTask()
56 mThread = NULL; in MsgTask()
66 LocThread* thread = mThread; in destroy()
69 mThread = NULL; in destroy()
H A DLocThread.cpp207 if (mThread) { in ~LocThread()
208 mThread->bye(); in ~LocThread()
209 mThread = NULL; in ~LocThread()
215 if (!mThread) { in start()
216 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()
218 success = (NULL != mThread); in start()
224 if (mThread) { in stop()
225 mThread->stop(); in stop()
226 mThread = NULL; in stop()
/aosp12/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java64 if (mThread == null) { in go()
67 mThread = new T(); in go()
68 mThread.start(); in go()
74 mThread.interrupt(); in go()
87 if (mThread != null) { in cancel()
88 mThread.interrupt(); in cancel()
89 mThread = null; in cancel()
110 mThread = null; in run()
131 private Thread mThread; field in ResettableTimeout
/aosp12/frameworks/av/services/audioflinger/
H A DPatchPanel.h87 mThread = other.mThread;
108 sp<ThreadType> thread() const { return mThread; } in thread()
118 if (mThread != 0) { in closeConnections()
120 mThread->deletePatchTrack(mTrack); in closeConnections()
129 mThread = thread;
135 mThread->addPatchTrack(mTrack); in setTrackAndPeer()
144 swap(mThread, other.mThread); in swap()
156 sp<ThreadType> mThread;
174 mThread = other.mThread; in Patch()
189 swap(mThread, other.mThread); in swap()
[all …]
/aosp12/hardware/qcom/sm7250/gps/utils/
H A DLocThread.cpp46 thread mThread; member in loc_util::LocThreadDelegate
82 mThread([tName, runnable] { in LocThreadDelegate()
89 mThread.detach();
96 if (!mThread) { in start()
97 mThread = LocThreadDelegate::create(tName, runnable); in start()
99 success = (NULL != mThread); in start()
105 if (nullptr != mThread) { in stop()
106 delete mThread; in stop()
107 mThread = nullptr; in stop()
/aosp12/hardware/qcom/sm8150/gps/utils/
H A DLocThread.cpp46 thread mThread; member in loc_util::LocThreadDelegate
82 mThread([tName, runnable] { in LocThreadDelegate()
89 mThread.detach();
96 if (!mThread) { in start()
97 mThread = LocThreadDelegate::create(tName, runnable); in start()
99 success = (NULL != mThread); in start()
105 if (nullptr != mThread) { in stop()
106 delete mThread; in stop()
107 mThread = nullptr; in stop()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DEventThreadTest.cpp117 std::unique_ptr<impl::EventThread> mThread; member in android::EventThreadTest
308 mThread->requestNextVsync(mConnection); in TEST_F()
316 mThread->requestNextVsync(mConnection); in TEST_F()
374 mThread->setVsyncRate(1, mConnection); in TEST_F()
400 mThread->setVsyncRate(2, mConnection); in TEST_F()
430 mThread->setVsyncRate(1, mConnection); in TEST_F()
521 mThread->setDuration(321ns, 456ns); in TEST_F()
552 mThread->onModeChanged(mode); in TEST_F()
563 mThread->onModeChanged(mode); in TEST_F()
573 mThread->onModeChanged(mode); in TEST_F()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DServiceThreadRule.java29 private ServiceThread mThread; field in ServiceThreadRule
32 return mThread; in getThread()
40 mThread = new ServiceThread("TestServiceThread", Process.THREAD_PRIORITY_DEFAULT, in apply()
42 mThread.start(); in apply()
46 mThread.getThreadHandler().runWithScissors(mThread::quit, 0 /* timeout */); in apply()
/aosp12/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DMemoryAccessTask.java29 private WorkThread mThread; field in MemoryAccessTask
51 if (mThread != null) { in start()
55 mThread = new WorkThread(); in start()
56 mThread.start(); in start()
60 if (mThread != null) { in stop()
65 mThread.join(); in stop()

1234567891011