Home
last modified time | relevance | path

Searched refs:LocIpc (Results 1 – 25 of 28) sorted by relevance

12

/hardware/qcom/sdm845/gps/sdm845/utils/
DLocIpc.cpp48 friend LocIpc;
50 LocIpcRunnable(LocIpc& locIpc, const std::string& ipcName) in LocIpcRunnable()
60 LocIpc& mLocIpc;
64 bool LocIpc::startListeningNonBlocking(const std::string& name) { in startListeningNonBlocking()
71 bool LocIpc::startListeningBlocking(const std::string& name) { in startListeningBlocking()
151 void LocIpc::stopListening() { in stopListening()
176 bool LocIpc::send(const char name[], const std::string& data) { in send()
180 bool LocIpc::send(const char name[], const uint8_t data[], uint32_t length) { in send()
199 bool LocIpc::sendData(int fd, const sockaddr_un &addr, const uint8_t data[], uint32_t length) { in sendData()
DLocIpc.h44 class LocIpc {
47 inline LocIpc() : mIpcFd(-1), mStopRequested(false), mRunnable(nullptr) {} in LocIpc() function
48 inline virtual ~LocIpc() { stopListening(); } in ~LocIpc()
133 rtv = LocIpc::sendData(*mSocket, mDestAddr, data, length); in send()
DMakefile.am25 LocIpc.h \
42 LocIpc.cpp \
/hardware/qcom/sm8150/gps/gnss/
DXtraSystemStatusObserver.cpp112 mSender(LocIpc::getLocIpcLocalSender(LOC_IPC_XTRA)), in XtraSystemStatusObserver()
115 auto recver = LocIpc::getLocIpcLocalRecver( in XtraSystemStatusObserver()
135 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateLockStatus()
167 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateConnections()
181 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateTac()
195 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateMccMnc()
209 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateXtraThrottle()
237 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in onStatusRequested()
257 LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()); in startDgnssSource()
264 LocIpc::send(*mSender, in restartDgnssSource()
[all …]
DXtraSystemStatusObserver.h91 LocIpc mIpc;
107 LocIpc::send(mSender, (const uint8_t*)"halinit", sizeof("halinit")); in timeOutCallback()
/hardware/qcom/sm7250/gps/gnss/
DXtraSystemStatusObserver.cpp112 mSender(LocIpc::getLocIpcLocalSender(LOC_IPC_XTRA)), in XtraSystemStatusObserver()
115 auto recver = LocIpc::getLocIpcLocalRecver( in XtraSystemStatusObserver()
135 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateLockStatus()
167 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateConnections()
181 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateTac()
195 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateMccMnc()
209 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateXtraThrottle()
237 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in onStatusRequested()
257 LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()); in startDgnssSource()
264 LocIpc::send(*mSender, in restartDgnssSource()
[all …]
DXtraSystemStatusObserver.h91 LocIpc mIpc;
107 LocIpc::send(mSender, (const uint8_t*)"halinit", sizeof("halinit")); in timeOutCallback()
/hardware/qcom/sm7250/gps/utils/
DLocIpc.cpp309 LocIpc& mLocIpc;
312 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable()
334 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening()
345 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening()
357 void LocIpc::stopNonBlockingListening() { in stopNonBlockingListening()
361 void LocIpc::stopBlockingListening(LocIpcRecver& ipcRecver) { in stopBlockingListening()
367 bool LocIpc::send(LocIpcSender& sender, const uint8_t data[], uint32_t length, int32_t msgId) { in send()
371 shared_ptr<LocIpcSender> LocIpc::getLocIpcLocalSender(const char* localSockName) { in getLocIpcLocalSender()
374 unique_ptr<LocIpcRecver> LocIpc::getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcLocalRecver()
380 shared_ptr<LocIpcSender> LocIpc::getLocIpcQrtrSender(int service, int instance) { in getLocIpcQrtrSender()
[all …]
DMakefile.am25 LocIpc.h \
46 LocIpc.cpp \
DLocIpc.h89 class LocIpc {
91 inline LocIpc() = default;
92 inline virtual ~LocIpc() { in ~LocIpc()
/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp309 LocIpc& mLocIpc;
312 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable()
334 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening()
345 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening()
357 void LocIpc::stopNonBlockingListening() { in stopNonBlockingListening()
361 void LocIpc::stopBlockingListening(LocIpcRecver& ipcRecver) { in stopBlockingListening()
367 bool LocIpc::send(LocIpcSender& sender, const uint8_t data[], uint32_t length, int32_t msgId) { in send()
371 shared_ptr<LocIpcSender> LocIpc::getLocIpcLocalSender(const char* localSockName) { in getLocIpcLocalSender()
374 unique_ptr<LocIpcRecver> LocIpc::getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcLocalRecver()
380 shared_ptr<LocIpcSender> LocIpc::getLocIpcQrtrSender(int service, int instance) { in getLocIpcQrtrSender()
[all …]
DMakefile.am25 LocIpc.h \
46 LocIpc.cpp \
DLocIpc.h89 class LocIpc {
91 inline LocIpc() = default;
92 inline virtual ~LocIpc() { in ~LocIpc()
DAndroid.bp39 "LocIpc.cpp",
/hardware/qcom/sm8150p/gps/utils/
DLocIpc.cpp319 LocIpc& mLocIpc;
322 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable()
344 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening()
356 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening()
368 void LocIpc::stopNonBlockingListening() { in stopNonBlockingListening()
375 void LocIpc::stopBlockingListening(LocIpcRecver& ipcRecver) { in stopBlockingListening()
381 bool LocIpc::send(LocIpcSender& sender, const uint8_t data[], uint32_t length, int32_t msgId) { in send()
385 shared_ptr<LocIpcSender> LocIpc::getLocIpcLocalSender(const char* localSockName) { in getLocIpcLocalSender()
388 unique_ptr<LocIpcRecver> LocIpc::getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcLocalRecver()
394 shared_ptr<LocIpcSender> LocIpc::getLocIpcQrtrSender(int service, int instance) { in getLocIpcQrtrSender()
[all …]
DMakefile.am25 LocIpc.h \
44 LocIpc.cpp \
DLocIpc.h60 class LocIpc {
62 inline LocIpc() : mRunnable(nullptr) {} in LocIpc() function
63 inline virtual ~LocIpc() { in ~LocIpc()
/hardware/qcom/sm7150/gps/utils/
DLocIpc.cpp309 LocIpc& mLocIpc;
312 inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) : in LocIpcRunnable()
334 bool LocIpc::startNonBlockingListening(unique_ptr<LocIpcRecver>& ipcRecver) { in startNonBlockingListening()
346 bool LocIpc::startBlockingListening(LocIpcRecver& ipcRecver) { in startBlockingListening()
358 void LocIpc::stopNonBlockingListening() { in stopNonBlockingListening()
365 void LocIpc::stopBlockingListening(LocIpcRecver& ipcRecver) { in stopBlockingListening()
371 bool LocIpc::send(LocIpcSender& sender, const uint8_t data[], uint32_t length, int32_t msgId) { in send()
375 shared_ptr<LocIpcSender> LocIpc::getLocIpcLocalSender(const char* localSockName) { in getLocIpcLocalSender()
378 unique_ptr<LocIpcRecver> LocIpc::getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, in getLocIpcLocalRecver()
384 shared_ptr<LocIpcSender> LocIpc::getLocIpcQrtrSender(int service, int instance) { in getLocIpcQrtrSender()
[all …]
DMakefile.am25 LocIpc.h \
45 LocIpc.cpp \
DLocIpc.h60 class LocIpc {
62 inline LocIpc() : mRunnable(nullptr) {} in LocIpc() function
63 inline virtual ~LocIpc() { in ~LocIpc()
/hardware/qcom/sm8150p/gps/gnss/
DXtraSystemStatusObserver.cpp105 mSender(LocIpc::getLocIpcLocalSender(LOC_IPC_XTRA)), in XtraSystemStatusObserver()
108 auto recver = LocIpc::getLocIpcLocalRecver( in XtraSystemStatusObserver()
128 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateLockStatus()
160 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateConnections()
174 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateTac()
188 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateMccMnc()
202 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateXtraThrottle()
230 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in onStatusRequested()
DXtraSystemStatusObserver.h70 LocIpc mIpc;
85 LocIpc::send(mSender, (const uint8_t*)"halinit", sizeof("halinit")); in timeOutCallback()
/hardware/qcom/sm7150/gps/gnss/
DXtraSystemStatusObserver.cpp106 mSender(LocIpc::getLocIpcLocalSender(LOC_IPC_XTRA)), in XtraSystemStatusObserver()
109 auto recver = LocIpc::getLocIpcLocalRecver( in XtraSystemStatusObserver()
129 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateLockStatus()
161 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateConnections()
175 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateTac()
189 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateMccMnc()
203 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateXtraThrottle()
231 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in onStatusRequested()
DXtraSystemStatusObserver.h70 LocIpc mIpc;
85 LocIpc::send(mSender, (const uint8_t*)"halinit", sizeof("halinit")); in timeOutCallback()
/hardware/qcom/sdm845/gps/sdm845/gnss/
DXtraSystemStatusObserver.h41 using loc_util::LocIpc;
43 class XtraSystemStatusObserver : public IDataItemObserver, public LocIpc{

12