Home
last modified time | relevance | path

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

1234

/frameworks/base/services/core/jni/gnss/
DGnssMeasurement.h35 namespace android::gnss {
42 const android::hardware::gnss::IGnssMeasurementInterface::Options& options) = 0;
48 GnssMeasurement(const sp<android::hardware::gnss::IGnssMeasurementInterface>& iGnssMeasurement);
51 const android::hardware::gnss::IGnssMeasurementInterface::Options& options) override;
55 const sp<android::hardware::gnss::IGnssMeasurementInterface> mIGnssMeasurement;
61 const sp<android::hardware::gnss::V1_0::IGnssMeasurement>& iGnssMeasurement);
64 const android::hardware::gnss::IGnssMeasurementInterface::Options& options) override;
68 const sp<android::hardware::gnss::V1_0::IGnssMeasurement> mIGnssMeasurement_V1_0;
74 const sp<android::hardware::gnss::V1_1::IGnssMeasurement>& iGnssMeasurement);
77 const android::hardware::gnss::IGnssMeasurementInterface::Options& options) override;
[all …]
DGnssCallback.h35 namespace android::gnss {
61 class GnssCallbackAidl : public hardware::gnss::BnGnssCallback {
65 const std::vector<android::hardware::gnss::GnssSignalType>& signalTypes) override;
68 binder::Status gnssLocationCb(const hardware::gnss::GnssLocation& location) override;
81 struct GnssCallbackHidl : public hardware::gnss::V2_1::IGnssCallback {
83 const hardware::gnss::V1_0::GnssLocation& location) override;
85 const hardware::gnss::V1_0::IGnssCallback::GnssStatusValue status) override;
87 const hardware::gnss::V1_0::IGnssCallback::GnssSvStatus& svStatus) override { in gnssSvStatusCb()
88 return gnssSvStatusCbImpl<hardware::gnss::V1_0::IGnssCallback::GnssSvStatus, in gnssSvStatusCb()
89 hardware::gnss::V1_0::IGnssCallback::GnssSvInfo>(svStatus); in gnssSvStatusCb()
[all …]
DGnssMeasurementCallback.h35 namespace android::gnss {
54 class GnssMeasurementCallbackAidl : public hardware::gnss::BnGnssMeasurementCallback {
57 android::binder::Status gnssMeasurementCb(const hardware::gnss::GnssData& data) override;
61 const hardware::gnss::GnssMeasurement& measurement,
65 JNIEnv* env, const std::vector<hardware::gnss::GnssMeasurement>& measurements);
67 const std::vector<hardware::gnss::GnssData::GnssAgc>& agcs);
69 void translateAndSetGnssData(const hardware::gnss::GnssData& data);
71 void translateGnssClock(JNIEnv* env, const hardware::gnss::GnssData& data, JavaObject& object);
80 class GnssMeasurementCallbackHidl : public hardware::gnss::V2_1::IGnssMeasurementCallback {
84 const hardware::gnss::V2_1::IGnssMeasurementCallback::GnssData& data) override;
[all …]
DGnss.cpp26 namespace android::gnss { namespace
30 using GnssLocationAidl = hardware::gnss::GnssLocation;
31 using GnssLocation_V1_0 = hardware::gnss::V1_0::GnssLocation;
32 using GnssLocation_V2_0 = hardware::gnss::V2_0::GnssLocation;
33 using IAGnssAidl = hardware::gnss::IAGnss;
34 using IAGnssRilAidl = hardware::gnss::IAGnssRil;
35 using IGnssAidl = hardware::gnss::IGnss;
36 using IGnss_V1_0 = hardware::gnss::V1_0::IGnss;
37 using IGnss_V1_1 = hardware::gnss::V1_1::IGnss;
38 using IGnss_V2_0 = hardware::gnss::V2_0::IGnss;
[all …]
DUtils.cpp41 namespace gnss { namespace
55 using GnssLocation_V1_0 = android::hardware::gnss::V1_0::GnssLocation;
56 using GnssLocation_V2_0 = android::hardware::gnss::V2_0::GnssLocation;
164 jobject translateGnssLocation(JNIEnv* env, const android::hardware::gnss::GnssLocation& location) { in translateGnssLocation()
168 if (flags & android::hardware::gnss::GnssLocation::HAS_LAT_LONG) { in translateGnssLocation()
172 if (flags & android::hardware::gnss::GnssLocation::HAS_ALTITUDE) { in translateGnssLocation()
175 if (flags & android::hardware::gnss::GnssLocation::HAS_SPEED) { in translateGnssLocation()
178 if (flags & android::hardware::gnss::GnssLocation::HAS_BEARING) { in translateGnssLocation()
181 if (flags & android::hardware::gnss::GnssLocation::HAS_HORIZONTAL_ACCURACY) { in translateGnssLocation()
184 if (flags & android::hardware::gnss::GnssLocation::HAS_VERTICAL_ACCURACY) { in translateGnssLocation()
[all …]
DAndroid.bp11 name: "libservices.core-gnss",
12 defaults: ["libservices.core-gnss-libs"],
55 name: "libservices.core-gnss-libs",
64 "android.hardware.gnss-V3-cpp",
65 "android.hardware.gnss@1.0",
66 "android.hardware.gnss@1.1",
67 "android.hardware.gnss@2.0",
68 "android.hardware.gnss@2.1",
69 "android.hardware.gnss.measurement_corrections@1.0",
70 "android.hardware.gnss.visibility_control@1.0",
DGnssGeofenceCallback.h35 namespace android::gnss {
48 class GnssGeofenceCallbackAidl : public hardware::gnss::BnGnssGeofenceCallback {
52 const hardware::gnss::GnssLocation& location,
55 const hardware::gnss::GnssLocation& lastLocation) override;
62 class GnssGeofenceCallbackHidl : public hardware::gnss::V1_0::IGnssGeofenceCallback {
66 int32_t geofenceId, const hardware::gnss::V1_0::GnssLocation& location,
67 hardware::gnss::V1_0::IGnssGeofenceCallback::GeofenceTransition transition,
68 hardware::gnss::V1_0::GnssUtcTime timestamp) override;
70 hardware::gnss::V1_0::IGnssGeofenceCallback::GeofenceAvailability status,
71 const hardware::gnss::V1_0::GnssLocation& location) override;
[all …]
DGnssDebug.cpp24 using android::hardware::gnss::IGnssDebug;
25 using IGnssDebug_V1_0 = android::hardware::gnss::V1_0::IGnssDebug;
26 using IGnssDebug_V2_0 = android::hardware::gnss::V2_0::IGnssDebug;
28 namespace android::gnss { namespace
87 const android::hardware::gnss::V1_0::IGnssDebug::SatelliteData& GnssDebugUtil::getSatelliteData( in getSatelliteData()
88 const hardware::hidl_vec<android::hardware::gnss::V1_0::IGnssDebug::SatelliteData>& in getSatelliteData()
94 const android::hardware::gnss::V1_0::IGnssDebug::SatelliteData& GnssDebugUtil::getSatelliteData( in getSatelliteData()
95 const hardware::hidl_vec<android::hardware::gnss::V2_0::IGnssDebug::SatelliteData>& in getSatelliteData()
101 const android::hardware::gnss::IGnssDebug::SatelliteData& GnssDebugUtil::getSatelliteData( in getSatelliteData()
102 const std::vector<android::hardware::gnss::IGnssDebug::SatelliteData>& satelliteDataArray, in getSatelliteData()
[all …]
DMeasurementCorrections.h32 namespace android::gnss {
75 const sp<android::hardware::gnss::measurement_corrections::
81 const sp<android::hardware::gnss::measurement_corrections::IMeasurementCorrectionsInterface>
88 const sp<android::hardware::gnss::measurement_corrections::V1_0::
94 const sp<android::hardware::gnss::measurement_corrections::V1_0::IMeasurementCorrections>
101 const sp<android::hardware::gnss::measurement_corrections::V1_1::
107 const sp<android::hardware::gnss::measurement_corrections::V1_1::IMeasurementCorrections>
112 static android::hardware::gnss::measurement_corrections::V1_0::SingleSatCorrection
114 static android::hardware::gnss::measurement_corrections::SingleSatCorrection
119 android::hardware::gnss::measurement_corrections::V1_1::SingleSatCorrection>&
[all …]
DGnssDebug.h35 namespace android::gnss {
45 GnssDebug(const sp<android::hardware::gnss::IGnssDebug>& iGnssDebug);
49 const sp<android::hardware::gnss::IGnssDebug> mIGnssDebug;
54 GnssDebug_V1_0(const sp<android::hardware::gnss::V1_0::IGnssDebug>& iGnssDebug);
58 const sp<android::hardware::gnss::V1_0::IGnssDebug> mIGnssDebug_V1_0;
63 GnssDebug_V2_0(const sp<android::hardware::gnss::V2_0::IGnssDebug>& iGnssDebug);
67 const sp<android::hardware::gnss::V2_0::IGnssDebug> mIGnssDebug_V2_0;
84 const static android::hardware::gnss::V1_0::IGnssDebug::SatelliteData& getSatelliteData(
85 const hardware::hidl_vec<android::hardware::gnss::V1_0::IGnssDebug::SatelliteData>&
89 const static android::hardware::gnss::V1_0::IGnssDebug::SatelliteData& getSatelliteData(
[all …]
DGnssGeofenceCallback.cpp21 namespace android::gnss { namespace
38 android::hardware::gnss::V1_0::IGnssGeofenceCallback::GeofenceAvailability;
39 using GeofenceStatus = android::hardware::gnss::V1_0::IGnssGeofenceCallback::GeofenceStatus;
40 using GeofenceTransition = android::hardware::gnss::V1_0::IGnssGeofenceCallback::GeofenceTransition;
42 using GnssLocationAidl = android::hardware::gnss::GnssLocation;
43 using GnssLocation_V1_0 = android::hardware::gnss::V1_0::GnssLocation;
95 hardware::gnss::V1_0::GnssUtcTime timestamp) { in gnssGeofenceTransitionCb()
133 if (status != hardware::gnss::IGnssGeofenceCallback::OPERATION_SUCCESS) { in gnssGeofenceAddCb()
143 if (status != hardware::gnss::IGnssGeofenceCallback::OPERATION_SUCCESS) { in gnssGeofenceRemoveCb()
153 if (status != hardware::gnss::IGnssGeofenceCallback::OPERATION_SUCCESS) { in gnssGeofencePauseCb()
[all …]
DAGnssCallback.h37 namespace android::gnss {
51 class AGnssCallbackAidl : public android::hardware::gnss::BnAGnssCallback {
59 class AGnssCallback_V1_0 : public android::hardware::gnss::V1_0::IAGnssCallback {
63 const android::hardware::gnss::V1_0::IAGnssCallback::AGnssStatusIpV6& agps_status)
67 const android::hardware::gnss::V1_0::IAGnssCallback::AGnssStatusIpV4& agps_status)
77 class AGnssCallback_V2_0 : public android::hardware::gnss::V2_0::IAGnssCallback {
81 android::hardware::gnss::V2_0::IAGnssCallback::AGnssType type,
82 android::hardware::gnss::V2_0::IAGnssCallback::AGnssStatusValue status) override;
DGnssBatching.h34 namespace android::gnss {
50 GnssBatching(const sp<android::hardware::gnss::IGnssBatching>& iGnssBatching);
59 const sp<android::hardware::gnss::IGnssBatching> mIGnssBatching;
64 GnssBatching_V1_0(const sp<android::hardware::gnss::V1_0::IGnssBatching>& iGnssBatching);
73 const sp<android::hardware::gnss::V1_0::IGnssBatching> mIGnssBatching_V1_0;
78 GnssBatching_V2_0(const sp<android::hardware::gnss::V2_0::IGnssBatching>& iGnssBatching);
82 const sp<android::hardware::gnss::V2_0::IGnssBatching> mIGnssBatching_V2_0;
DGnssBatchingCallback.cpp21 namespace android::gnss { namespace
33 using GnssLocationAidl = android::hardware::gnss::GnssLocation;
34 using GnssLocation_V1_0 = android::hardware::gnss::V1_0::GnssLocation;
35 using GnssLocation_V2_0 = android::hardware::gnss::V2_0::GnssLocation;
43 const std::vector<android::hardware::gnss::GnssLocation>& locations) { in gnssLocationBatchCb()
DGnssBatchingCallback.h36 namespace android::gnss {
46 class GnssBatchingCallbackAidl : public hardware::gnss::BnGnssBatchingCallback {
50 const std::vector<android::hardware::gnss::GnssLocation>& locations) override;
53 class GnssBatchingCallback_V1_0 : public hardware::gnss::V1_0::IGnssBatchingCallback {
57 const hardware::hidl_vec<hardware::gnss::V1_0::GnssLocation>& locations) override;
60 class GnssBatchingCallback_V2_0 : public hardware::gnss::V2_0::IGnssBatchingCallback {
64 const hardware::hidl_vec<hardware::gnss::V2_0::GnssLocation>& locations) override;
DGnssNavigationMessage.h33 namespace android::gnss {
45 GnssNavigationMessageAidl(const sp<android::hardware::gnss::IGnssNavigationMessageInterface>&
51 const sp<android::hardware::gnss::IGnssNavigationMessageInterface> mIGnssNavigationMessage;
56 GnssNavigationMessageHidl(const sp<android::hardware::gnss::V1_0::IGnssNavigationMessage>&
62 const sp<android::hardware::gnss::V1_0::IGnssNavigationMessage> mIGnssNavigationMessageHidl;
DGnssAntennaInfo.h33 namespace android::gnss {
44 GnssAntennaInfoAidl(const sp<android::hardware::gnss::IGnssAntennaInfo>& iGnssAntennaInfo);
49 const sp<android::hardware::gnss::IGnssAntennaInfo> mIGnssAntennaInfoAidl;
55 const sp<android::hardware::gnss::V2_1::IGnssAntennaInfo>& iGnssAntennaInfo);
60 const sp<android::hardware::gnss::V2_1::IGnssAntennaInfo> mIGnssAntennaInfo_V2_1;
DGnssMeasurementCallback.cpp21 namespace android::gnss { namespace
24 using hardware::gnss::CorrelationVector;
25 using hardware::gnss::ElapsedRealtime;
26 using hardware::gnss::GnssClock;
27 using hardware::gnss::GnssData;
28 using hardware::gnss::GnssMeasurement;
29 using hardware::gnss::SatellitePvt;
30 using GnssAgc = hardware::gnss::GnssData::GnssAgc;
609 const hardware::gnss::V2_1::IGnssMeasurementCallback::GnssData& data) { in gnssMeasurementCb_2_1()
615 const hardware::gnss::V2_0::IGnssMeasurementCallback::GnssData& data) { in gnssMeasurementCb_2_0()
[all …]
DGnssConfiguration.h35 namespace android::gnss {
94 GnssConfiguration(const sp<android::hardware::gnss::IGnssConfiguration>& iGnssConfiguration);
107 const sp<android::hardware::gnss::IGnssConfiguration> mIGnssConfiguration;
113 const sp<android::hardware::gnss::V1_0::IGnssConfiguration>& iGnssConfiguration);
126 const sp<android::hardware::gnss::V1_0::IGnssConfiguration> mIGnssConfiguration_V1_0;
132 const sp<android::hardware::gnss::V1_1::IGnssConfiguration>& iGnssConfiguration);
139 const sp<android::hardware::gnss::V1_1::IGnssConfiguration> mIGnssConfiguration_V1_1;
145 const sp<android::hardware::gnss::V2_0::IGnssConfiguration>& iGnssConfiguration);
152 const sp<android::hardware::gnss::V2_0::IGnssConfiguration> mIGnssConfiguration_V2_0;
158 const sp<android::hardware::gnss::V2_1::IGnssConfiguration>& iGnssConfiguration);
[all …]
DGnssPsds.h33 namespace android::gnss {
44 GnssPsdsAidl(const sp<android::hardware::gnss::IGnssPsds>& iGnssPsds);
49 const sp<android::hardware::gnss::IGnssPsds> mIGnssPsds;
54 GnssPsdsHidl(const sp<android::hardware::gnss::V1_0::IGnssXtra>& iGnssXtra);
59 const sp<android::hardware::gnss::V1_0::IGnssXtra> mIGnssXtra;
DGnssVisibilityControl.h32 namespace android::gnss {
45 const sp<android::hardware::gnss::visibility_control::IGnssVisibilityControl>&
51 const sp<android::hardware::gnss::visibility_control::IGnssVisibilityControl>
58 const sp<android::hardware::gnss::visibility_control::V1_0::IGnssVisibilityControl>&
64 const sp<android::hardware::gnss::visibility_control::V1_0::IGnssVisibilityControl>
DGnss.h49 namespace android::gnss {
119 sp<hardware::gnss::IGnssPowerIndication> getGnssPowerIndicationInterface();
120 sp<hardware::gnss::V1_0::IGnssNi> getGnssNiInterface();
125 sp<hardware::gnss::V1_0::IGnss> gnssHal = nullptr;
126 sp<hardware::gnss::V1_1::IGnss> gnssHal_V1_1 = nullptr;
127 sp<hardware::gnss::V2_0::IGnss> gnssHal_V2_0 = nullptr;
128 sp<hardware::gnss::V2_1::IGnss> gnssHal_V2_1 = nullptr;
129 sp<hardware::gnss::IGnss> gnssHalAidl = nullptr;
DAGnss.h32 namespace android::gnss {
47 AGnss(const sp<android::hardware::gnss::IAGnss>& iAGnss);
55 const sp<android::hardware::gnss::IAGnss> mIAGnss;
60 AGnss_V1_0(const sp<android::hardware::gnss::V1_0::IAGnss>& iAGnss);
68 const sp<android::hardware::gnss::V1_0::IAGnss> mIAGnss_V1_0;
73 AGnss_V2_0(const sp<android::hardware::gnss::V2_0::IAGnss>& iAGnss);
81 const sp<android::hardware::gnss::V2_0::IAGnss> mIAGnss_V2_0;
DGnssAntennaInfoCallback.h33 namespace android::gnss {
41 class GnssAntennaInfoCallbackAidl : public android::hardware::gnss::BnGnssAntennaInfoCallback {
51 : public android::hardware::gnss::V2_1::IGnssAntennaInfoCallback {
56 android::hardware::gnss::V2_1::IGnssAntennaInfoCallback::GnssAntennaInfo>&
108 const android::hardware::gnss::IGnssAntennaInfoCallback::GnssAntennaInfo& in getCarrierFrequencyMHz()
114 const android::hardware::gnss::V2_1::IGnssAntennaInfoCallback::GnssAntennaInfo& in getCarrierFrequencyMHz()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp92 using android::hardware::gnss::V1_0::GnssLocationFlags;
93 using android::hardware::gnss::V1_0::IGnssNavigationMessage;
94 using android::hardware::gnss::V1_0::IGnssNavigationMessageCallback;
95 using android::hardware::gnss::V1_0::IGnssNi;
96 using android::hardware::gnss::V1_0::IGnssNiCallback;
97 using android::hardware::gnss::V1_0::IGnssXtra;
98 using android::hardware::gnss::V1_0::IGnssXtraCallback;
99 using android::hardware::gnss::V2_0::ElapsedRealtimeFlags;
103 using GnssConstellationType_V1_0 = android::hardware::gnss::V1_0::GnssConstellationType;
104 using GnssConstellationType_V2_0 = android::hardware::gnss::V2_0::GnssConstellationType;
[all …]

1234