Home
last modified time | relevance | path

Searched refs:mRunnable (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/sm8150p/gps/utils/
DLocThread.cpp35 LocRunnable* mRunnable; member in LocThreadDelegate
53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
101 mRunnable = NULL; in LocThreadDelegate()
139 if (mRunnable) { in stop()
140 mRunnable = NULL; in stop()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain()
197 locThread->mRunnable = NULL; in threadMain()
DLocIpc.h62 inline LocIpc() : mRunnable(nullptr) {} in LocIpc()
117 LocIpcRunnable *mRunnable; variable
DLocIpc.cpp348 mRunnable = new LocIpcRunnable(*this, ipcRecver); in startNonBlockingListening()
349 return mThread.start(threadName.c_str(), mRunnable); in startNonBlockingListening()
369 if (mRunnable) { in stopNonBlockingListening()
370 mRunnable->abort(); in stopNonBlockingListening()
371 mRunnable = nullptr; in stopNonBlockingListening()
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocThread.cpp34 LocRunnable* mRunnable; member in LocThreadDelegate
52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
99 mRunnable = NULL; in LocThreadDelegate()
137 if (mRunnable) { in stop()
138 mRunnable = NULL; in stop()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain()
195 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/sm7150/gps/utils/
DLocThread.cpp35 LocRunnable* mRunnable; member in LocThreadDelegate
53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
101 mRunnable = NULL; in LocThreadDelegate()
139 if (mRunnable) { in stop()
140 mRunnable = NULL; in stop()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain()
197 locThread->mRunnable = NULL; in threadMain()
DLocIpc.cpp338 mRunnable = new LocIpcRunnable(*this, ipcRecver); in startNonBlockingListening()
339 return mThread.start(threadName.c_str(), mRunnable); in startNonBlockingListening()
359 if (mRunnable) { in stopNonBlockingListening()
360 mRunnable->abort(); in stopNonBlockingListening()
361 mRunnable = nullptr; in stopNonBlockingListening()
DLocIpc.h62 inline LocIpc() : mRunnable(nullptr) {} in LocIpc()
117 LocIpcRunnable *mRunnable; variable
/hardware/qcom/gps/msm8909/utils/
DLocThread.cpp34 LocRunnable* mRunnable; member in LocThreadDelegate
52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
99 mRunnable = NULL; in LocThreadDelegate()
137 if (mRunnable) { in stop()
138 mRunnable = NULL; in stop()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain()
195 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/gps/msm8996/utils/
DLocThread.cpp34 LocRunnable* mRunnable; member in LocThreadDelegate
52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
99 mRunnable = NULL; in LocThreadDelegate()
137 if (mRunnable) { in stop()
138 mRunnable = NULL; in stop()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain()
195 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocThread.cpp34 LocRunnable* mRunnable; member in LocThreadDelegate
52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
99 mRunnable = NULL; in LocThreadDelegate()
137 if (mRunnable) { in stop()
138 mRunnable = NULL; in stop()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain()
195 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/gps/msm8909w_3100/utils/
DLocThread.cpp35 LocRunnable* mRunnable; member in LocThreadDelegate
53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
101 mRunnable = NULL; in LocThreadDelegate()
139 if (mRunnable) { in stop()
140 mRunnable = NULL; in stop()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain()
197 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocThread.cpp35 LocRunnable* mRunnable; member in LocThreadDelegate
53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
68 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
101 mRunnable = NULL; in LocThreadDelegate()
139 if (mRunnable) { in stop()
140 mRunnable = NULL; in stop()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain()
197 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocThread.cpp35 LocRunnable* mRunnable; member in LocThreadDelegate
53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
101 mRunnable = NULL; in LocThreadDelegate()
139 if (mRunnable) { in stop()
140 mRunnable = NULL; in stop()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain()
197 locThread->mRunnable = NULL; in threadMain()
DLocIpc.cpp65 mRunnable = new LocIpcRunnable(*this, name); in startListeningNonBlocking()
68 return mThread.start(threadName.c_str(), mRunnable); in startListeningNonBlocking()
156 if (mRunnable) { in stopListening()
158 socketName = (reinterpret_cast<LocIpcRunnable *>(mRunnable))->mIpcName.c_str(); in stopListening()
160 mRunnable = nullptr; in stopListening()
DLocIpc.h47 inline LocIpc() : mIpcFd(-1), mStopRequested(false), mRunnable(nullptr) {} in LocIpc()
98 LocRunnable *mRunnable; variable
/hardware/qcom/gps/msm8998/utils/
DLocThread.cpp35 LocRunnable* mRunnable; member in LocThreadDelegate
53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning()
68 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
101 mRunnable = NULL; in LocThreadDelegate()
139 if (mRunnable) { in stop()
140 mRunnable = NULL; in stop()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain()
197 locThread->mRunnable = NULL; in threadMain()
/hardware/qcom/sm7250/gps/utils/
DMsgTask.cpp79 const std::function<void()> mRunnable; in sendMsg() member
81 inline RunMsg(const std::function<void()> runnable) : mRunnable(runnable) {} in sendMsg()
83 inline virtual void proc() const override { mRunnable(); } in sendMsg()
DLocThread.cpp45 weak_ptr<LocRunnable> mRunnable; member in loc_util::LocThreadDelegate
50 shared_ptr<LocRunnable> runnable = mRunnable.lock(); in ~LocThreadDelegate()
81 mRunnable(runnable), in LocThreadDelegate()
/hardware/qcom/sm8150/gps/utils/
DMsgTask.cpp79 const std::function<void()> mRunnable; in sendMsg() member
81 inline RunMsg(const std::function<void()> runnable) : mRunnable(runnable) {} in sendMsg()
83 inline virtual void proc() const override { mRunnable(); } in sendMsg()
DLocThread.cpp45 weak_ptr<LocRunnable> mRunnable; member in loc_util::LocThreadDelegate
50 shared_ptr<LocRunnable> runnable = mRunnable.lock(); in ~LocThreadDelegate()
81 mRunnable(runnable), in LocThreadDelegate()