/hardware/qcom/gps/msm8998/android/location_api/ |
D | GnssAPIClient.cpp | 45 static void convertGnssSvStatus(GnssSvNotification& in, IGnssCallback::GnssSvStatus& out); 47 GnssAPIClient::GnssAPIClient(const sp<IGnssCallback>& gpsCb, in GnssAPIClient() 73 void GnssAPIClient::gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 237 sp<IGnssCallback> gnssCbIface = mGnssCbIface; in onCapabilitiesCb() 245 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 247 data |= IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 249 data |= IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() 251 data |= IGnssCallback::Capabilities::MSB; in onCapabilitiesCb() 253 data |= IGnssCallback::Capabilities::MSA; in onCapabilitiesCb() 261 IGnssCallback::GnssSystemInfo gnssInfo; in onCapabilitiesCb() [all …]
|
D | GnssAPIClient.h | 50 GnssAPIClient(const sp<IGnssCallback>& gpsCb, 57 void gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, 90 sp<IGnssCallback> mGnssCbIface;
|
/hardware/qcom/sdm845/gps/msm8998/android/location_api/ |
D | GnssAPIClient.cpp | 45 static void convertGnssSvStatus(GnssSvNotification& in, IGnssCallback::GnssSvStatus& out); 47 GnssAPIClient::GnssAPIClient(const sp<IGnssCallback>& gpsCb, in GnssAPIClient() 73 void GnssAPIClient::gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 237 sp<IGnssCallback> gnssCbIface = mGnssCbIface; in onCapabilitiesCb() 245 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 247 data |= IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 249 data |= IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() 251 data |= IGnssCallback::Capabilities::MSB; in onCapabilitiesCb() 253 data |= IGnssCallback::Capabilities::MSA; in onCapabilitiesCb() 261 IGnssCallback::GnssSystemInfo gnssInfo; in onCapabilitiesCb() [all …]
|
D | GnssAPIClient.h | 50 GnssAPIClient(const sp<IGnssCallback>& gpsCb, 57 void gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, 90 sp<IGnssCallback> mGnssCbIface;
|
/hardware/qcom/sm8150/gps/android/2.0/location_api/ |
D | GnssAPIClient.cpp | 48 using ::android::hardware::gnss::V2_0::IGnssCallback; 52 static void convertGnssSvStatus(GnssSvNotification& in, V1_0::IGnssCallback::GnssSvStatus& out); 54 hidl_vec<V2_0::IGnssCallback::GnssSvInfo>& out); 56 GnssAPIClient::GnssAPIClient(const sp<V1_0::IGnssCallback>& gpsCb, in GnssAPIClient() 73 GnssAPIClient::GnssAPIClient(const sp<V2_0::IGnssCallback>& gpsCb) : in GnssAPIClient() 153 void GnssAPIClient::gnssUpdateCallbacks(const sp<V1_0::IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 168 void GnssAPIClient::gnssUpdateCallbacks_2_0(const sp<V2_0::IGnssCallback>& gpsCb) in gnssUpdateCallbacks_2_0() 368 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 370 data |= V1_0::IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 372 data |= V1_0::IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() [all …]
|
D | GnssAPIClient.h | 50 GnssAPIClient(const sp<V1_0::IGnssCallback>& gpsCb, 52 GnssAPIClient(const sp<V2_0::IGnssCallback>& gpsCb); 58 void gnssUpdateCallbacks(const sp<V1_0::IGnssCallback>& gpsCb, 60 void gnssUpdateCallbacks_2_0(const sp<V2_0::IGnssCallback>& gpsCb); 98 sp<V1_0::IGnssCallback> mGnssCbIface; 106 sp<V2_0::IGnssCallback> mGnssCbIface_2_0;
|
/hardware/interfaces/gnss/1.1/vts/functional/ |
D | gnss_hal_test.h | 37 using android::hardware::gnss::V1_1::IGnssCallback; 74 class GnssCallback : public IGnssCallback { 83 Return<void> gnssStatusCb(const IGnssCallback::GnssStatusValue /* status */) override { in gnssStatusCb() 100 Return<void> gnssSetSystemInfoCb(const IGnssCallback::GnssSystemInfo& info) override; 101 Return<void> gnssSvStatusCb(const IGnssCallback::GnssSvStatus& svStatus) override; 166 sp<IGnssCallback> gnss_cb_; // Primary callback interface 172 IGnssCallback::GnssSystemInfo last_info_; 177 list<IGnssCallback::GnssSvStatus> list_gnss_sv_status_;
|
/hardware/qcom/sm8150/gps/android/1.1/location_api/ |
D | GnssAPIClient.cpp | 48 using ::android::hardware::gnss::V1_0::IGnssCallback; 52 static void convertGnssSvStatus(GnssSvNotification& in, IGnssCallback::GnssSvStatus& out); 54 GnssAPIClient::GnssAPIClient(const sp<IGnssCallback>& gpsCb, in GnssAPIClient() 85 void GnssAPIClient::gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 318 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 320 data |= IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 322 data |= IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() 324 data |= IGnssCallback::Capabilities::MSB; in onCapabilitiesCb() 326 data |= IGnssCallback::Capabilities::MSA; in onCapabilitiesCb() 334 IGnssCallback::GnssSystemInfo gnssInfo; in onCapabilitiesCb() [all …]
|
D | GnssAPIClient.h | 51 GnssAPIClient(const sp<V1_0::IGnssCallback>& gpsCb, 58 void gnssUpdateCallbacks(const sp<V1_0::IGnssCallback>& gpsCb, 95 sp<V1_0::IGnssCallback> mGnssCbIface;
|
/hardware/qcom/sdm845/gps/sdm845/android/location_api/ |
D | GnssAPIClient.cpp | 47 using ::android::hardware::gnss::V1_0::IGnssCallback; 51 static void convertGnssSvStatus(GnssSvNotification& in, IGnssCallback::GnssSvStatus& out); 53 GnssAPIClient::GnssAPIClient(const sp<IGnssCallback>& gpsCb, in GnssAPIClient() 84 void GnssAPIClient::gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 314 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 316 data |= IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 318 data |= IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() 320 data |= IGnssCallback::Capabilities::MSB; in onCapabilitiesCb() 322 data |= IGnssCallback::Capabilities::MSA; in onCapabilitiesCb() 330 IGnssCallback::GnssSystemInfo gnssInfo; in onCapabilitiesCb() [all …]
|
D | GnssAPIClient.h | 51 GnssAPIClient(const sp<V1_0::IGnssCallback>& gpsCb, 58 void gnssUpdateCallbacks(const sp<V1_0::IGnssCallback>& gpsCb, 95 sp<V1_0::IGnssCallback> mGnssCbIface;
|
/hardware/qcom/sm8150/gps/android/1.0/location_api/ |
D | GnssAPIClient.cpp | 48 using ::android::hardware::gnss::V1_0::IGnssCallback; 52 static void convertGnssSvStatus(GnssSvNotification& in, IGnssCallback::GnssSvStatus& out); 54 GnssAPIClient::GnssAPIClient(const sp<IGnssCallback>& gpsCb, in GnssAPIClient() 85 void GnssAPIClient::gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 318 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 320 data |= IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 322 data |= IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() 324 data |= IGnssCallback::Capabilities::MSB; in onCapabilitiesCb() 326 data |= IGnssCallback::Capabilities::MSA; in onCapabilitiesCb() 334 IGnssCallback::GnssSystemInfo gnssInfo; in onCapabilitiesCb() [all …]
|
D | GnssAPIClient.h | 51 GnssAPIClient(const sp<V1_0::IGnssCallback>& gpsCb, 58 void gnssUpdateCallbacks(const sp<V1_0::IGnssCallback>& gpsCb, 95 sp<V1_0::IGnssCallback> mGnssCbIface;
|
/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | GnssAPIClient.cpp | 46 static void convertGnssSvStatus(GnssSvNotification& in, IGnssCallback::GnssSvStatus& out); 48 GnssAPIClient::GnssAPIClient(const sp<IGnssCallback>& gpsCb, in GnssAPIClient() 79 void GnssAPIClient::gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, in gnssUpdateCallbacks() 294 data |= IGnssCallback::Capabilities::SCHEDULING; in onCapabilitiesCb() 296 data |= IGnssCallback::Capabilities::GEOFENCING; in onCapabilitiesCb() 298 data |= IGnssCallback::Capabilities::MEASUREMENTS; in onCapabilitiesCb() 300 data |= IGnssCallback::Capabilities::MSB; in onCapabilitiesCb() 302 data |= IGnssCallback::Capabilities::MSA; in onCapabilitiesCb() 310 IGnssCallback::GnssSystemInfo gnssInfo; in onCapabilitiesCb() 428 IGnssCallback::GnssSvStatus svStatus; in onGnssSvCb() [all …]
|
D | GnssAPIClient.h | 50 GnssAPIClient(const sp<IGnssCallback>& gpsCb, 57 void gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb, 92 sp<IGnssCallback> mGnssCbIface;
|
/hardware/interfaces/gnss/2.0/default/ |
D | Gnss.cpp | 45 using GnssSvFlags = IGnssCallback::GnssSvFlags; 47 sp<V2_0::IGnssCallback> Gnss::sGnssCallback_2_0 = nullptr; 48 sp<V1_1::IGnssCallback> Gnss::sGnssCallback_1_1 = nullptr; 75 Return<bool> Gnss::setCallback(const sp<V1_0::IGnssCallback>&) { in setCallback() argument 183 Return<bool> Gnss::setCallback_1_1(const sp<V1_1::IGnssCallback>& callback) { in setCallback_1_1() 192 uint32_t capabilities = (uint32_t)V1_0::IGnssCallback::Capabilities::MEASUREMENTS; in setCallback_1_1() 198 V1_1::IGnssCallback::GnssSystemInfo gnssInfo = {.yearOfHw = 2019}; in setCallback_1_1() 273 Return<bool> Gnss::setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) { in setCallback_2_0() 282 using Capabilities = V2_0::IGnssCallback::Capabilities; in setCallback_2_0() 290 V1_1::IGnssCallback::GnssSystemInfo gnssInfo = {.yearOfHw = 2019}; in setCallback_2_0()
|
D | Gnss.h | 43 using GnssSvInfo = V1_0::IGnssCallback::GnssSvInfo; 44 using GnssSvStatus = V1_0::IGnssCallback::GnssSvStatus; 50 Return<bool> setCallback(const sp<V1_0::IGnssCallback>& callback) override; 75 Return<bool> setCallback_1_1(const sp<V1_1::IGnssCallback>& callback) override; 90 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 100 static sp<V2_0::IGnssCallback> sGnssCallback_2_0; 101 static sp<V1_1::IGnssCallback> sGnssCallback_1_1;
|
/hardware/interfaces/gnss/1.0/vts/functional/ |
D | VtsHalGnssV1_0TargetTest.cpp | 36 using android::hardware::gnss::V1_0::IGnssCallback; 258 class GnssCallback : public IGnssCallback { 268 const IGnssCallback::GnssStatusValue /* status */) override { in gnssStatusCb() 272 const IGnssCallback::GnssSvStatus& /* svStatus */) override { in gnssSvStatusCb() 302 const IGnssCallback::GnssSystemInfo& info) override { in gnssSetSystemInfoCb() 312 sp<IGnssCallback> gnss_cb_; // Primary callback interface 324 IGnssCallback::GnssSystemInfo last_info_; 448 if (last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENTS) { in TEST_P() 467 EXPECT_TRUE(last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENTS); in TEST_P() 477 EXPECT_TRUE(last_capabilities_ & IGnssCallback::Capabilities::SCHEDULING); in TEST_P()
|
/hardware/interfaces/gnss/1.1/default/ |
D | Gnss.h | 28 using GnssSvInfo = V1_0::IGnssCallback::GnssSvInfo; 29 using GnssSvStatus = V1_0::IGnssCallback::GnssSvStatus; 40 const sp<::android::hardware::gnss::V1_0::IGnssCallback>& callback) override; 72 const sp<::android::hardware::gnss::V1_1::IGnssCallback>& callback) override; 91 static sp<IGnssCallback> sGnssCallback;
|
D | Gnss.cpp | 18 using GnssSvFlags = IGnssCallback::GnssSvFlags; 21 sp<::android::hardware::gnss::V1_1::IGnssCallback> Gnss::sGnssCallback = nullptr; 30 Return<bool> Gnss::setCallback(const sp<::android::hardware::gnss::V1_0::IGnssCallback>&) { in setCallback() argument 144 const sp<::android::hardware::gnss::V1_1::IGnssCallback>& callback) { in setCallback_1_1() 158 IGnssCallback::GnssSystemInfo gnssInfo = {.yearOfHw = 2018}; in setCallback_1_1() 219 ~static_cast<uint8_t>(IGnssCallback::GnssSvFlags::USED_IN_FIX); in getMockSvStatus()
|
/hardware/interfaces/gnss/1.0/default/ |
D | Gnss.cpp | 29 sp<IGnssCallback> Gnss::sGnssCbIface = nullptr; 100 IGnssCallback::GnssStatusValue status = in statusCb() 101 static_cast<IGnssCallback::GnssStatusValue>(gnssStatus->status); in statusCb() 120 IGnssCallback::GnssSvStatus svStatus; in gnssSvStatusCb() 130 IGnssCallback::GnssSvInfo gnssSvInfo = { in gnssSvStatusCb() 143 ~(static_cast<uint8_t>(IGnssCallback::GnssSvFlags::HAS_CARRIER_FREQUENCY))), in gnssSvStatusCb() 187 IGnssCallback::GnssSvStatus svStatus; in gpsSvStatusCb() 205 IGnssCallback::GnssSvInfo& info = svStatus.gnssSvList[i]; in gpsSvStatusCb() 231 info.svFlag = static_cast<uint8_t>(IGnssCallback::GnssSvFlags::NONE); in gpsSvStatusCb() 240 info.svFlag |= IGnssCallback::GnssSvFlags::HAS_EPHEMERIS_DATA; in gpsSvStatusCb() [all …]
|
/hardware/interfaces/gnss/2.0/ |
D | IGnssCallback.hal | 19 import @1.0::IGnssCallback; 20 import @1.1::IGnssCallback; 29 interface IGnssCallback extends @1.1::IGnssCallback { 33 enum Capabilities : @1.0::IGnssCallback.Capabilities { 87 * @2.0::IGnssCallback.GnssSvInfo.constellation. 89 @1.0::IGnssCallback.GnssSvInfo v1_0;
|
/hardware/qcom/sm8150/gps/android/2.0/ |
D | Gnss.h | 67 Return<bool> setCallback(const sp<V1_0::IGnssCallback>& callback) override; 103 Return<bool> setCallback_1_1(const sp<V1_1::IGnssCallback>& callback) override; 113 Return<bool> setCallback_2_0(const sp<V2_0::IGnssCallback>& callback) override; 158 sp<V1_0::IGnssCallback> mGnssCbIface = nullptr; 160 sp<V1_1::IGnssCallback> mGnssCbIface_1_1 = nullptr; 167 sp<V2_0::IGnssCallback> mGnssCbIface_2_0 = nullptr;
|
/hardware/qcom/sm8150/gps/android/1.1/ |
D | Gnss.h | 63 Return<bool> setCallback(const sp<V1_0::IGnssCallback>& callback) override; 99 Return<bool> setCallback_1_1(const sp<V1_1::IGnssCallback>& callback) override; 139 sp<V1_0::IGnssCallback> mGnssCbIface = nullptr; 140 sp<V1_1::IGnssCallback> mGnssCbIface_1_1 = nullptr;
|
/hardware/qcom/sdm845/gps/sdm845/android/ |
D | Gnss.h | 63 Return<bool> setCallback(const sp<V1_0::IGnssCallback>& callback) override; 99 Return<bool> setCallback_1_1(const sp<V1_1::IGnssCallback>& callback) override; 139 sp<V1_0::IGnssCallback> mGnssCbIface = nullptr; 140 sp<V1_1::IGnssCallback> mGnssCbIface_1_1 = nullptr;
|