/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/interfaces/gnss/1.1/vts/functional/ |
D | gnss_hal_test.h | 35 using android::hardware::gnss::V1_1::IGnssCallback; 73 class GnssCallback : public IGnssCallback { 82 Return<void> gnssStatusCb(const IGnssCallback::GnssStatusValue /* status */) override { in gnssStatusCb() 99 Return<void> gnssSetSystemInfoCb(const IGnssCallback::GnssSystemInfo& info) override; 100 Return<void> gnssSvStatusCb(const IGnssCallback::GnssSvStatus& svStatus) override; 146 sp<IGnssCallback> gnss_cb_; // Primary callback interface 152 IGnssCallback::GnssSystemInfo last_info_; 157 list<IGnssCallback::GnssSvStatus> list_gnss_sv_status_;
|
D | gnss_hal_test_cases.cpp | 48 if (last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENTS) { in TEST_F() 96 const list<IGnssCallback::GnssSvStatus> list_gnss_sv_status, const int min_observations) { in FindStrongFrequentNonGpsSource() 116 if ((gnss_sv.svFlag & IGnssCallback::GnssSvFlags::USED_IN_FIX) && in FindStrongFrequentNonGpsSource() 228 (gnss_sv.svFlag & IGnssCallback::GnssSvFlags::USED_IN_FIX)); in TEST_F() 255 (gnss_sv.svFlag & IGnssCallback::GnssSvFlags::USED_IN_FIX)) { in TEST_F() 290 if ((gnss_sv.svFlag & IGnssCallback::GnssSvFlags::USED_IN_FIX) && in TEST_F() 338 (gnss_sv.svFlag & IGnssCallback::GnssSvFlags::USED_IN_FIX)); in TEST_F()
|
D | gnss_hal_test.cpp | 230 const IGnssCallback::GnssSystemInfo& info) { in gnssSetSystemInfoCb() 263 const IGnssCallback::GnssSvStatus& svStatus) { in gnssSvStatusCb()
|
/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/1.0/vts/functional/ |
D | VtsHalGnssV1_0TargetTest.cpp | 34 using android::hardware::gnss::V1_0::IGnssCallback; 266 class GnssCallback : public IGnssCallback { 276 const IGnssCallback::GnssStatusValue /* status */) override { in gnssStatusCb() 280 const IGnssCallback::GnssSvStatus& /* svStatus */) override { in gnssSvStatusCb() 310 const IGnssCallback::GnssSystemInfo& info) override { in gnssSetSystemInfoCb() 320 sp<IGnssCallback> gnss_cb_; // Primary callback interface 332 IGnssCallback::GnssSystemInfo last_info_; 452 if (last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENTS) { in TEST_F() 471 EXPECT_TRUE(last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENTS); in TEST_F()
|
/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 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 …]
|
D | Gnss.h | 64 Return<bool> setCallback(const sp<IGnssCallback>& callback) override; 168 static sp<IGnssCallback> sGnssCbIface;
|
/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; 94 static sp<IGnssCallback> sGnssCallback;
|
D | Gnss.cpp | 17 using GnssSvFlags = IGnssCallback::GnssSvFlags; 20 sp<::android::hardware::gnss::V1_1::IGnssCallback> Gnss::sGnssCallback = nullptr; 29 Return<bool> Gnss::setCallback(const sp<::android::hardware::gnss::V1_0::IGnssCallback>&) { in setCallback() argument 143 const sp<::android::hardware::gnss::V1_1::IGnssCallback>& callback) { in setCallback_1_1() 157 IGnssCallback::GnssSystemInfo gnssInfo = {.yearOfHw = 2018}; in setCallback_1_1() 245 ~static_cast<uint8_t>(IGnssCallback::GnssSvFlags::USED_IN_FIX); in getMockSvStatus()
|
D | GnssConfiguration.h | 27 using GnssSvInfo = V1_0::IGnssCallback::GnssSvInfo;
|
/hardware/interfaces/gnss/1.1/ |
D | IGnssCallback.hal | 19 import @1.0::IGnssCallback; 26 interface IGnssCallback extends @1.0::IGnssCallback {
|
D | Android.bp | 11 "IGnssCallback.hal",
|
D | IGnss.hal | 22 import IGnssCallback; 36 setCallback_1_1(IGnssCallback callback) generates (bool success);
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | Gnss.h | 72 Return<bool> setCallback(const sp<IGnssCallback>& callback) override; 135 sp<IGnssCallback> mGnssCbIface = nullptr;
|
D | Gnss.cpp | 110 Return<bool> Gnss::setCallback(const sp<IGnssCallback>& callback) { in setCallback()
|
/hardware/qcom/gps/msm8998/android/ |
D | Gnss.h | 72 Return<bool> setCallback(const sp<IGnssCallback>& callback) override; 135 sp<IGnssCallback> mGnssCbIface = nullptr;
|
D | Gnss.cpp | 110 Return<bool> Gnss::setCallback(const sp<IGnssCallback>& callback) { in setCallback()
|
/hardware/interfaces/gnss/1.0/ |
D | Android.bp | 18 "IGnssCallback.hal",
|
D | IGnss.hal | 22 import IGnssCallback; 85 setCallback(IGnssCallback callback) generates (bool success); 88 * Starts a location output stream using the IGnssCallback
|
D | IGnssBatching.hal | 29 * For example, if a 1Hz continuous output is underway on the IGnssCallback, 33 * continuous location output on the IGnssCallback.
|
D | IGnssCallback.hal | 24 interface IGnssCallback {
|
/hardware/interfaces/ |
D | current.txt | 76 …92cc1f935150c5048310e84886f14eed2556e8f00636733d204045cc4f android.hardware.gnss@1.0::IGnssCallback 256 …4a17a8bb7923a56bd10493a5483c20007e4c9026fd04287bee7c945a8c android.hardware.gnss@1.0::IGnssCallback 326 …c35bb3a83e65c018bdfde7ae5ebc749ff2bf6b79412ded0bc6c89b97d8 android.hardware.gnss@1.1::IGnssCallback
|