Home
last modified time | relevance | path

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

12

/hardware/qcom/gps/msm8909/utils/
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()
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()
DLocThread.h63 LocThreadDelegate* mThread; variable
65 inline LocThread() : mThread(NULL) {} in LocThread()
89 inline bool isRunning() { return NULL != mThread; } in isRunning()
DLocTimer.cpp145 LocThread* mThread; member in LocTimerPollTask
399 : mFd(epoll_create(2)), mThread(new LocThread()) { in LocTimerPollTask()
404 if (!mThread->start("LocTimerPollTask", this)) { in LocTimerPollTask()
405 delete mThread; in LocTimerPollTask()
406 mThread = NULL; in LocTimerPollTask()
418 if (mThread) { in destroy()
419 LocThread* thread = mThread; in destroy()
420 mThread = NULL; in destroy()
/hardware/qcom/gps/msm8996/utils/
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()
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()
DLocThread.h63 LocThreadDelegate* mThread; variable
65 inline LocThread() : mThread(NULL) {} in LocThread()
89 inline bool isRunning() { return NULL != mThread; } in isRunning()
DLocTimer.cpp145 LocThread* mThread; member in LocTimerPollTask
397 : mFd(epoll_create(2)), mThread(new LocThread()) { in LocTimerPollTask()
402 if (!mThread->start("LocTimerPollTask", this)) { in LocTimerPollTask()
403 delete mThread; in LocTimerPollTask()
404 mThread = NULL; in LocTimerPollTask()
416 if (mThread) { in destroy()
417 LocThread* thread = mThread; in destroy()
418 mThread = NULL; in destroy()
/hardware/qcom/gps/msm8998/utils/
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()
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()
DLocThread.h63 LocThreadDelegate* mThread; variable
65 inline LocThread() : mThread(NULL) {} in LocThread()
89 inline bool isRunning() { return NULL != mThread; } in isRunning()
DLocTimer.cpp145 LocThread* mThread; member in LocTimerPollTask
397 : mFd(epoll_create(2)), mThread(new LocThread()) { in LocTimerPollTask()
402 if (!mThread->start("LocTimerPollTask", this)) { in LocTimerPollTask()
403 delete mThread; in LocTimerPollTask()
404 mThread = NULL; in LocTimerPollTask()
416 if (mThread) { in destroy()
417 LocThread* thread = mThread; in destroy()
418 mThread = NULL; in destroy()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
DVsyncEventObserver.cpp56 mThread = new VsyncEventPollThread(this); in initialize()
57 if (!mThread.get()) { in initialize()
61 mThread->run("VsyncEventObserver", PRIORITY_URGENT_DISPLAY); in initialize()
78 if (mThread.get()) { in deinitialize()
79 mThread->requestExitAndWait(); in deinitialize()
80 mThread = NULL; in deinitialize()
DSoftVsyncObserver.cpp54 mThread = new VsyncEventPollThread(this); in initialize()
55 if (!mThread.get()) { in initialize()
58 mThread->run("SoftVsyncObserver", PRIORITY_URGENT_DISPLAY); in initialize()
73 if (mThread.get()) { in deinitialize()
74 mThread->requestExitAndWait(); in deinitialize()
75 mThread = NULL; in deinitialize()
DUeventObserver.cpp51 mThread = new UeventObserverThread(this); in initialize()
52 if (!mThread.get()) { in initialize()
108 if (mThread.get()) { in deinitialize()
109 mThread->requestExitAndWait(); in deinitialize()
110 mThread = NULL; in deinitialize()
122 if (mThread.get()) { in start()
123 mThread->run("UeventObserver", PRIORITY_URGENT_DISPLAY); in start()
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DVsyncEventObserver.cpp57 mThread = new VsyncEventPollThread(this); in initialize()
58 if (!mThread.get()) { in initialize()
62 mThread->run("VsyncEventObserver", PRIORITY_URGENT_DISPLAY); in initialize()
79 if (mThread.get()) { in deinitialize()
80 mThread->requestExitAndWait(); in deinitialize()
81 mThread = NULL; in deinitialize()
DSoftVsyncObserver.cpp58 mThread = new VsyncEventPollThread(this); in initialize()
59 if (!mThread.get()) { in initialize()
62 mThread->run("SoftVsyncObserver", PRIORITY_URGENT_DISPLAY); in initialize()
77 if (mThread.get()) { in deinitialize()
78 mThread->requestExitAndWait(); in deinitialize()
79 mThread = NULL; in deinitialize()
DUeventObserver.cpp51 mThread = new UeventObserverThread(this); in initialize()
52 if (!mThread.get()) { in initialize()
108 if (mThread.get()) { in deinitialize()
109 mThread->requestExitAndWait(); in deinitialize()
110 mThread = NULL; in deinitialize()
122 if (mThread.get()) { in start()
123 mThread->run("UeventObserver", PRIORITY_URGENT_DISPLAY); in start()
DMultiDisplayObserver.cpp199 if (mThread.get()) { in initMDSClientAsync()
204 mThread = new MDSClientInitThread(this); in initMDSClientAsync()
205 if (mThread.get() == NULL) { in initMDSClientAsync()
211 mThread->run("MDSClientInitThread", PRIORITY_URGENT_DISPLAY); in initMDSClientAsync()
250 if (mThread.get()) { in deinitialize()
252 detachedThread = mThread; in deinitialize()
253 mThread = NULL; in deinitialize()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DHdcpControl.cpp69 mThread = new HdcpControlThread(this); in startHdcp()
70 if (!mThread.get()) { in startHdcp()
78 mThread = NULL; in startHdcp()
90 mThread->run("HdcpControl", PRIORITY_NORMAL); in startHdcp()
126 mThread = new HdcpControlThread(this); in startHdcpAsync()
127 if (!mThread.get()) { in startHdcpAsync()
140 mThread->run("HdcpControl", PRIORITY_NORMAL); in startHdcpAsync()
163 if (mThread.get()) { in stopHdcp()
164 mThread->requestExitAndWait(); in stopHdcp()
165 mThread = NULL; in stopHdcp()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DHdcpControl.cpp70 mThread = new HdcpControlThread(this); in startHdcp()
71 if (!mThread.get()) { in startHdcp()
79 mThread = NULL; in startHdcp()
91 mThread->run("HdcpControl", PRIORITY_NORMAL); in startHdcp()
127 mThread = new HdcpControlThread(this); in startHdcpAsync()
128 if (!mThread.get()) { in startHdcpAsync()
141 mThread->run("HdcpControl", PRIORITY_NORMAL); in startHdcpAsync()
164 if (mThread.get()) { in stopHdcp()
165 mThread->requestExitAndWait(); in stopHdcp()
166 mThread = NULL; in stopHdcp()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DExternalDevice.cpp74 if (mThread.get()) { in deinitialize()
75 mThread->join(); in deinitialize()
76 mThread = NULL; in deinitialize()
96 if (mThread.get()) { in setDrmMode()
97 mThread->join(); in setDrmMode()
98 mThread = NULL; in setDrmMode()
112 mThread = new ModeSettingThread(this); in setDrmMode()
113 if (!mThread.get()) { in setDrmMode()
118 mThread->run("ModeSettingsThread", PRIORITY_URGENT_DISPLAY); in setDrmMode()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DExternalDevice.cpp73 if (mThread.get()) { in deinitialize()
74 mThread->join(); in deinitialize()
75 mThread = NULL; in deinitialize()
109 if (mThread.get()) { in setDrmMode()
110 mThread->join(); in setDrmMode()
111 mThread = NULL; in setDrmMode()
125 mThread = new ModeSettingThread(this); in setDrmMode()
126 if (!mThread.get()) { in setDrmMode()
131 mThread->run("ModeSettingsThread", PRIORITY_URGENT_DISPLAY); in setDrmMode()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.h77 mThread { &VehicleEmulator::rxThread, this} {
105 std::thread mThread; variable
/hardware/intel/img/hwcomposer/merrifield/common/base/
DSimpleThread.h34 sp<THREADNAME> mThread;

12