Home
last modified time | relevance | path

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

/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 \
DAndroid.mk34 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()
DAndroid.mk30 LocIpc.cpp
/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()
DAndroid.mk30 LocIpc.cpp \
/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()
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()
DAndroid.bp30 "LocIpc.cpp",
/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/sm8150/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/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/sdm845/gps/sdm845/gnss/
DXtraSystemStatusObserver.h41 using loc_util::LocIpc;
43 class XtraSystemStatusObserver : public IDataItemObserver, public LocIpc{