Home
last modified time | relevance | path

Searched refs:ahg20 (Results 1 – 13 of 13) sorted by relevance

/device/generic/goldfish/gnss/
Dgnss.h26 namespace ahg20 = ahg::V2_0; variable
35 struct Gnss20 : public ahg20::IGnss {
37 Return<sp<ahg20::IGnssConfiguration>> getExtensionGnssConfiguration_2_0() override;
38 Return<sp<ahg20::IGnssDebug>> getExtensionGnssDebug_2_0() override;
39 Return<sp<ahg20::IAGnss>> getExtensionAGnss_2_0() override;
40 Return<sp<ahg20::IAGnssRil>> getExtensionAGnssRil_2_0() override;
41 Return<sp<ahg20::IGnssMeasurement>> getExtensionGnssMeasurement_2_0() override;
42 Return<bool> setCallback_2_0(const sp<ahg20::IGnssCallback>& callback) override;
46 Return<sp<ahg20::IGnssBatching>> getExtensionGnssBatching_2_0() override;
47 Return<bool> injectBestLocation_2_0(const ahg20::GnssLocation& location) override;
[all …]
Dagnss.h24 namespace ahg20 = ahg::V2_0; variable
30 struct AGnss20 : public ahg20::IAGnss {
31 Return<void> setCallback(const sp<ahg20::IAGnssCallback>& callback) override;
34 Return<bool> setServer(ahg20::IAGnssCallback::AGnssType type,
38 ahg20::IAGnss::ApnIpType apnIpType) override;
Ddata_sink.h24 namespace ahg20 = ahg::V2_0; variable
33 void gnssLocation(const ahg20::GnssLocation&) const;
34 void gnssSvStatus(const hidl_vec<ahg20::IGnssCallback::GnssSvInfo>&) const;
38 void setCallback20(sp<ahg20::IGnssCallback>);
45 sp<ahg20::IGnssCallback> cb20;
Dutil.cpp28 ahg20::ElapsedRealtime makeElapsedRealtime(long long timestampNs) { in makeElapsedRealtime()
29 ahg20::ElapsedRealtime ts = { in makeElapsedRealtime()
30 .flags = ahg20::ElapsedRealtimeFlags::HAS_TIMESTAMP_NS | in makeElapsedRealtime()
31 ahg20::ElapsedRealtimeFlags::HAS_TIME_UNCERTAINTY_NS, in makeElapsedRealtime()
Dgnss.cpp30 Return<sp<ahg20::IGnssConfiguration>> Gnss20::getExtensionGnssConfiguration_2_0() { in getExtensionGnssConfiguration_2_0()
34 Return<sp<ahg20::IGnssDebug>> Gnss20::getExtensionGnssDebug_2_0() { in getExtensionGnssDebug_2_0()
38 Return<sp<ahg20::IAGnss>> Gnss20::getExtensionAGnss_2_0() { in getExtensionAGnss_2_0()
42 Return<sp<ahg20::IAGnssRil>> Gnss20::getExtensionAGnssRil_2_0() { in getExtensionAGnssRil_2_0()
46 Return<sp<ahg20::IGnssMeasurement>> Gnss20::getExtensionGnssMeasurement_2_0() { in getExtensionGnssMeasurement_2_0()
50 Return<bool> Gnss20::setCallback_2_0(const sp<ahg20::IGnssCallback>& callback) { in setCallback_2_0()
54 using Caps = ahg20::IGnssCallback::Capabilities; in setCallback_2_0()
74 Return<sp<ahg20::IGnssBatching>> Gnss20::getExtensionGnssBatching_2_0() { in getExtensionGnssBatching_2_0()
78 Return<bool> Gnss20::injectBestLocation_2_0(const ahg20::GnssLocation& location) { in injectBestLocation_2_0()
Dgnss_measurement.h25 namespace ahg20 = ahg::V2_0; variable
33 struct GnssMeasurement20 : public ahg20::IGnssMeasurement {
37 …Return<GnssMeasurementStatus10> setCallback_2_0(const sp<ahg20::IGnssMeasurementCallback>& callbac…
51 sp<ahg20::IGnssMeasurementCallback> m_callback;
Dgnss_measurement.cpp31 GnssMeasurement20::setCallback_2_0(const sp<ahg20::IGnssMeasurementCallback>& callback, in setCallback_2_0()
75 using GnssMeasurement20 = ahg20::IGnssMeasurementCallback::GnssMeasurement; in update()
79 using GnssMeasurementState20 = ahg20::IGnssMeasurementCallback::GnssMeasurementState; in update()
80 using GnssData = ahg20::IGnssMeasurementCallback::GnssData; in update()
103 ahg20::IGnssMeasurementCallback::GnssMeasurement measurement20 = { in update()
112 .constellation = ahg20::GnssConstellationType::GPS, in update()
Dagnss.cpp21 Return<void> AGnss20::setCallback(const sp<ahg20::IAGnssCallback>& callback) { in setCallback()
34 Return<bool> AGnss20::setServer(ahg20::IAGnssCallback::AGnssType type, in setServer()
45 ahg20::IAGnss::ApnIpType apnIpType) { in dataConnOpen()
Dgnss_hw_listener.h31 bool parse(const char* begin, const char* end, const ahg20::ElapsedRealtime&);
32 bool parseGPRMC(const char* begin, const char* end, const ahg20::ElapsedRealtime&);
33 bool parseGPGGA(const char* begin, const char* end, const ahg20::ElapsedRealtime&);
Dgnss_hw_listener.cpp77 const ahg20::ElapsedRealtime ts = util::makeElapsedRealtime(util::nowNanos()); in consume()
95 const ahg20::ElapsedRealtime& ts) { in parse()
121 const ahg20::ElapsedRealtime& ts) { in parseGPRMC()
157 ahg20::GnssLocation loc20; in parseGPRMC()
208 const ahg20::ElapsedRealtime&) { in parseGPGGA()
250 hidl_vec<ahg20::IGnssCallback::GnssSvInfo> svInfo(nSatellites); in parseGPGGA()
255 info20->constellation = ahg20::GnssConstellationType::GPS; in parseGPGGA()
Dutil.h22 namespace ahg20 = ::android::hardware::gnss::V2_0; variable
28 ahg20::ElapsedRealtime makeElapsedRealtime(long long timestampNs);
Ddata_sink.cpp22 void DataSink::gnssLocation(const ahg20::GnssLocation& loc) const { in gnssLocation()
29 void DataSink::gnssSvStatus(const hidl_vec<ahg20::IGnssCallback::GnssSvInfo>& svInfoList20) const { in gnssSvStatus()
51 void DataSink::setCallback20(sp<ahg20::IGnssCallback> cb) { in setCallback20()
Dgnss_configuration.h22 namespace ahg20 = ahg::V2_0; variable
33 struct GnssConfiguration20 : public ahg20::IGnssConfiguration {