Home
last modified time | relevance | path

Searched refs:runnable (Results 1 – 25 of 27) sorted by relevance

12

/hardware/qcom/sm8150/gps/utils/
DLocThread.cpp50 shared_ptr<LocRunnable> runnable = mRunnable.lock(); in ~LocThreadDelegate() local
51 if (nullptr != runnable) { in ~LocThreadDelegate()
52 runnable->interrupt(); in ~LocThreadDelegate()
55 inline static LocThreadDelegate* create(const char* tName, shared_ptr<LocRunnable> runnable);
60 LocThreadDelegate* LocThreadDelegate::create(const char* tName, shared_ptr<LocRunnable> runnable) { in create() argument
63 if (nullptr != runnable) { in create()
74 threadDelegate = new LocThreadDelegate(lname, runnable); in create()
80 LocThreadDelegate::LocThreadDelegate(const string tName, shared_ptr<LocRunnable> runnable) : in LocThreadDelegate() argument
81 mRunnable(runnable), in LocThreadDelegate()
82 mThread([tName, runnable] { in LocThreadDelegate()
[all …]
DMsgTask.cpp77 void MsgTask::sendMsg(const std::function<void()> runnable) const { in sendMsg()
81 inline RunMsg(const std::function<void()> runnable) : mRunnable(runnable) {} in sendMsg()
85 sendMsg(new RunMsg(runnable)); in sendMsg()
DMsgTask.h51 void sendMsg(const std::function<void()> runnable) const;
/hardware/qcom/sm7250/gps/utils/
DLocThread.cpp50 shared_ptr<LocRunnable> runnable = mRunnable.lock(); in ~LocThreadDelegate() local
51 if (nullptr != runnable) { in ~LocThreadDelegate()
52 runnable->interrupt(); in ~LocThreadDelegate()
55 inline static LocThreadDelegate* create(const char* tName, shared_ptr<LocRunnable> runnable);
60 LocThreadDelegate* LocThreadDelegate::create(const char* tName, shared_ptr<LocRunnable> runnable) { in create() argument
63 if (nullptr != runnable) { in create()
74 threadDelegate = new LocThreadDelegate(lname, runnable); in create()
80 LocThreadDelegate::LocThreadDelegate(const string tName, shared_ptr<LocRunnable> runnable) : in LocThreadDelegate() argument
81 mRunnable(runnable), in LocThreadDelegate()
82 mThread([tName, runnable] { in LocThreadDelegate()
[all …]
DMsgTask.cpp77 void MsgTask::sendMsg(const std::function<void()> runnable) const { in sendMsg()
81 inline RunMsg(const std::function<void()> runnable) : mRunnable(runnable) {} in sendMsg()
85 sendMsg(new RunMsg(runnable)); in sendMsg()
DMsgTask.h51 void sendMsg(const std::function<void()> runnable) const;
/hardware/qcom/sm8150p/gps/utils/
DLocThread.cpp42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocThread.cpp41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
114 if (runnable) { in create()
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
181 if (runnable) { in threadMain()
183 runnable->prerun(); in threadMain()
[all …]
/hardware/qcom/sm7150/gps/utils/
DLocThread.cpp42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/gps/msm8909/utils/
DLocThread.cpp41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
114 if (runnable) { in create()
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
181 if (runnable) { in threadMain()
183 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/gps/msm8996/utils/
DLocThread.cpp41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
114 if (runnable) { in create()
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
181 if (runnable) { in threadMain()
183 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocThread.cpp41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
114 if (runnable) { in create()
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
181 if (runnable) { in threadMain()
183 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/gps/msm8909w_3100/utils/
DLocThread.cpp42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocThread.cpp42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocThread.cpp42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);
/hardware/qcom/gps/msm8998/utils/
DLocThread.cpp42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
[all …]
DLocThread.h79 … bool start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable = true);
80 inline bool start(const char* threadName, LocRunnable* runnable, bool joinable = true) {
81 return start(NULL, threadName, runnable, joinable);

12