Home
last modified time | relevance | path

Searched refs:sGnssCallback (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/gnss/aidl/default/
DGnss.cpp46 std::shared_ptr<IGnssCallback> Gnss::sGnssCallback = nullptr; member in aidl::android::hardware::gnss::Gnss
56 sGnssCallback = callback; in setCallback()
65 auto status = sGnssCallback->gnssSetCapabilitiesCb(capabilities); in setCallback()
74 status = sGnssCallback->gnssSetSystemInfoCb(systemInfo); in setCallback()
88 status = sGnssCallback->gnssSetSignalTypeCapabilitiesCb( in setCallback()
161 sGnssCallback = nullptr; in close()
167 if (sGnssCallback == nullptr) { in reportLocation()
172 auto status = sGnssCallback->gnssLocationCb(location); in reportLocation()
188 if (sGnssCallback == nullptr) { in reportSvStatus()
192 auto status = sGnssCallback->gnssSvStatusCb(svInfoList); in reportSvStatus()
[all …]
DGnss.h104 static std::shared_ptr<IGnssCallback> sGnssCallback; variable
/hardware/interfaces/gnss/1.1/default/
DGnss.cpp22 sp<::android::hardware::gnss::V1_1::IGnssCallback> Gnss::sGnssCallback = nullptr; member in android::hardware::gnss::V1_1::implementation::Gnss
151 sGnssCallback = callback; in setCallback_1_1()
154 auto ret = sGnssCallback->gnssSetCapabilitesCb(capabilities); in setCallback_1_1()
161 ret = sGnssCallback->gnssSetSystemInfoCb(gnssInfo); in setCallback_1_1()
167 ret = sGnssCallback->gnssNameCb(gnssName); in setCallback_1_1()
237 if (sGnssCallback == nullptr) { in reportLocation()
241 sGnssCallback->gnssLocationCb(location); in reportLocation()
247 if (sGnssCallback == nullptr) { in reportSvStatus()
251 sGnssCallback->gnssSvStatusCb(svStatus); in reportSvStatus()
DGnss.h91 static sp<IGnssCallback> sGnssCallback; member