Home
last modified time | relevance | path

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

/hardware/qcom/gps/msm8998/android/location_api/
DGnssAPIClient.cpp45 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 …]
DGnssAPIClient.h50 GnssAPIClient(const sp<IGnssCallback>& gpsCb,
57 void gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb,
90 sp<IGnssCallback> mGnssCbIface;
/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test.h35 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_;
Dgnss_hal_test_cases.cpp48 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()
Dgnss_hal_test.cpp230 const IGnssCallback::GnssSystemInfo& info) { in gnssSetSystemInfoCb()
263 const IGnssCallback::GnssSvStatus& svStatus) { in gnssSvStatusCb()
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DGnssAPIClient.cpp46 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 …]
DGnssAPIClient.h50 GnssAPIClient(const sp<IGnssCallback>& gpsCb,
57 void gnssUpdateCallbacks(const sp<IGnssCallback>& gpsCb,
92 sp<IGnssCallback> mGnssCbIface;
/hardware/interfaces/gnss/1.0/vts/functional/
DVtsHalGnssV1_0TargetTest.cpp34 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/
DGnss.cpp29 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 …]
DGnss.h64 Return<bool> setCallback(const sp<IGnssCallback>& callback) override;
168 static sp<IGnssCallback> sGnssCbIface;
/hardware/interfaces/gnss/1.1/default/
DGnss.h28 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;
DGnss.cpp17 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()
DGnssConfiguration.h27 using GnssSvInfo = V1_0::IGnssCallback::GnssSvInfo;
/hardware/interfaces/gnss/1.1/
DIGnssCallback.hal19 import @1.0::IGnssCallback;
26 interface IGnssCallback extends @1.0::IGnssCallback {
DAndroid.bp11 "IGnssCallback.hal",
DIGnss.hal22 import IGnssCallback;
36 setCallback_1_1(IGnssCallback callback) generates (bool success);
/hardware/qcom/gps/msm8909w_3100/android/
DGnss.h72 Return<bool> setCallback(const sp<IGnssCallback>& callback) override;
135 sp<IGnssCallback> mGnssCbIface = nullptr;
DGnss.cpp110 Return<bool> Gnss::setCallback(const sp<IGnssCallback>& callback) { in setCallback()
/hardware/qcom/gps/msm8998/android/
DGnss.h72 Return<bool> setCallback(const sp<IGnssCallback>& callback) override;
135 sp<IGnssCallback> mGnssCbIface = nullptr;
DGnss.cpp110 Return<bool> Gnss::setCallback(const sp<IGnssCallback>& callback) { in setCallback()
/hardware/interfaces/gnss/1.0/
DAndroid.bp18 "IGnssCallback.hal",
DIGnss.hal22 import IGnssCallback;
85 setCallback(IGnssCallback callback) generates (bool success);
88 * Starts a location output stream using the IGnssCallback
DIGnssBatching.hal29 * For example, if a 1Hz continuous output is underway on the IGnssCallback,
33 * continuous location output on the IGnssCallback.
DIGnssCallback.hal24 interface IGnssCallback {
/hardware/interfaces/
Dcurrent.txt76 …92cc1f935150c5048310e84886f14eed2556e8f00636733d204045cc4f android.hardware.gnss@1.0::IGnssCallback
256 …4a17a8bb7923a56bd10493a5483c20007e4c9026fd04287bee7c945a8c android.hardware.gnss@1.0::IGnssCallback
326 …c35bb3a83e65c018bdfde7ae5ebc749ff2bf6b79412ded0bc6c89b97d8 android.hardware.gnss@1.1::IGnssCallback