Home
last modified time | relevance | path

Searched refs:ipcRecver (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/sm8150p/gps/utils/
DLocIpc.cpp322 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable() argument
325 mIpcRecver(move(ipcRecver)) {} in LocIpcRunnable()
344 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening() argument
345 if (ipcRecver != nullptr && ipcRecver->isRecvable()) { in startNonBlockingListening()
347 threadName.append(ipcRecver->getName()); in startNonBlockingListening()
348 mRunnable = new LocIpcRunnable(*this, ipcRecver); in startNonBlockingListening()
356 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening() argument
357 if (ipcRecver.isRecvable()) { in startBlockingListening()
359 ipcRecver.onListenerReady(); in startBlockingListening()
360 while (ipcRecver.recvData()); in startBlockingListening()
[all …]
DLocIpc.h97 static bool startBlockingListening(LocIpcRecver& ipcRecver);
98 static void stopBlockingListening(LocIpcRecver& ipcRecver);
103 bool startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver);
/hardware/qcom/sm7150/gps/utils/
DLocIpc.cpp312 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable() argument
315 mIpcRecver(move(ipcRecver)) {} in LocIpcRunnable()
334 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening() argument
335 if (ipcRecver != nullptr && ipcRecver->isRecvable()) { in startNonBlockingListening()
337 threadName.append(ipcRecver->getName()); in startNonBlockingListening()
338 mRunnable = new LocIpcRunnable(*this, ipcRecver); in startNonBlockingListening()
346 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening() argument
347 if (ipcRecver.isRecvable()) { in startBlockingListening()
349 ipcRecver.onListenerReady(); in startBlockingListening()
350 while (ipcRecver.recvData()); in startBlockingListening()
[all …]
DLocIpc.h97 static bool startBlockingListening(LocIpcRecver& ipcRecver);
98 static void stopBlockingListening(LocIpcRecver& ipcRecver);
103 bool startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver);
/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp312 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable() argument
315 mIpcRecver(move(ipcRecver)) {} in LocIpcRunnable()
334 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening() argument
335 if (ipcRecver != nullptr && ipcRecver->isRecvable()) { in startNonBlockingListening()
337 threadName.append(ipcRecver->getName()); in startNonBlockingListening()
338 mRunnable = new LocIpcRunnable(*this, ipcRecver); in startNonBlockingListening()
346 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening() argument
347 if (ipcRecver.isRecvable()) { in startBlockingListening()
349 ipcRecver.onListenerReady(); in startBlockingListening()
350 while (ipcRecver.recvData()); in startBlockingListening()
[all …]
DLocIpc.h97 static bool startBlockingListening(LocIpcRecver& ipcRecver);
98 static void stopBlockingListening(LocIpcRecver& ipcRecver);
103 bool startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver);