Loading gnss/1.0/IAGnss.hal +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import IAGnssCallback; * Extended interface for AGNSS support. */ interface IAGnss { @export(name="", value_prefix="APN_IP_") enum ApnIpType : uint8_t { INVALID = 0, IPV4 = 1, Loading gnss/1.0/IAGnssCallback.hal +3 −0 Original line number Diff line number Diff line Loading @@ -19,11 +19,13 @@ package android.hardware.gnss@1.0; /** Callback structure for the AGNSS interface. */ interface IAGnssCallback { /** AGNSS type **/ @export(name="", value_prefix="AGPS_") enum AGnssType : uint8_t { TYPE_SUPL = 1, TYPE_C2K = 2 }; @export(name="", value_prefix="GNSS_") enum AGnssStatusValue : uint8_t { /** GNSS requests data connection for AGNSS. */ REQUEST_AGNSS_DATA_CONN = 1, Loading @@ -40,6 +42,7 @@ interface IAGnssCallback { /* * Represents the status of AGNSS augmented to support IPv4. */ @export(name="", value_prefix="GPS_") struct AGnssStatusIpV4 { AGnssType type; AGnssStatusValue status; Loading gnss/1.0/IAGnssRil.hal +3 −0 Original line number Diff line number Diff line Loading @@ -25,12 +25,14 @@ import IAGnssRilCallback; * location, unique subscriber ID, phone number string and network availability changes. */ interface IAGnssRil { @export(name="", value_prefix="AGPS_SETID_TYPE_") enum SetIDType : uint8_t { NONE = 0, IMSI = 1, MSISDM = 2 }; @export(name="", value_prefix="AGPS_RIL_NETWORK_TYPE_") enum NetworkType : uint8_t { MOBILE = 0, WIFI = 1, Loading @@ -41,6 +43,7 @@ interface IAGnssRil { WIMAX = 6, }; @export(name="", value_prefix="AGPS_REF_LOCATION_TYPE_") enum AGnssRefLocationType : uint8_t { GSM_CELLID = 1, UMTS_CELLID = 2, Loading gnss/1.0/IAGnssRilCallback.hal +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ package android.hardware.gnss@1.0; */ interface IAGnssRilCallback { /* Kinds of SET ID that can be requested */ @export(name="", value_prefix="AGPS_RIL_REQUEST_SETID_") enum ID : uint32_t { IMSI = 1 << 0L, MSISDN = 1 << 1L, Loading gnss/1.0/IGnss.hal +4 −1 Original line number Diff line number Diff line Loading @@ -28,9 +28,10 @@ import IGnssGeofencing; import IGnssNi; import IGnssXtra; /* Represents the standard GNSS interface. */ /* Represents the standard GNSS (Global Navigation Satellite System) interface. */ interface IGnss { /* Requested operational mode for GNSS operation. */ @export(name="", value_prefix="GPS_POSITION_MODE_") enum GnssPositionMode : uint8_t { /** Mode for running GNSS standalone (no assistance). */ STANDALONE = 0, Loading @@ -44,6 +45,7 @@ interface IGnss { }; /* Requested recurrence mode for GNSS operation. */ @export(name="", value_prefix="GPS_POSITION_") enum GnssPositionRecurrence : uint32_t { /** Receive GNSS fixes on a recurring basis at a specified period. */ RECURRENCE_PERIODIC = 0, Loading @@ -55,6 +57,7 @@ interface IGnss { * Flags used to specify which aiding data to delete when calling * deleteAidingData(). */ @export(name="", value_prefix="GPS_") enum GnssAidingData : uint16_t { DELETE_EPHEMERIS = 0x0001, DELETE_ALMANAC = 0x0002, Loading Loading
gnss/1.0/IAGnss.hal +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import IAGnssCallback; * Extended interface for AGNSS support. */ interface IAGnss { @export(name="", value_prefix="APN_IP_") enum ApnIpType : uint8_t { INVALID = 0, IPV4 = 1, Loading
gnss/1.0/IAGnssCallback.hal +3 −0 Original line number Diff line number Diff line Loading @@ -19,11 +19,13 @@ package android.hardware.gnss@1.0; /** Callback structure for the AGNSS interface. */ interface IAGnssCallback { /** AGNSS type **/ @export(name="", value_prefix="AGPS_") enum AGnssType : uint8_t { TYPE_SUPL = 1, TYPE_C2K = 2 }; @export(name="", value_prefix="GNSS_") enum AGnssStatusValue : uint8_t { /** GNSS requests data connection for AGNSS. */ REQUEST_AGNSS_DATA_CONN = 1, Loading @@ -40,6 +42,7 @@ interface IAGnssCallback { /* * Represents the status of AGNSS augmented to support IPv4. */ @export(name="", value_prefix="GPS_") struct AGnssStatusIpV4 { AGnssType type; AGnssStatusValue status; Loading
gnss/1.0/IAGnssRil.hal +3 −0 Original line number Diff line number Diff line Loading @@ -25,12 +25,14 @@ import IAGnssRilCallback; * location, unique subscriber ID, phone number string and network availability changes. */ interface IAGnssRil { @export(name="", value_prefix="AGPS_SETID_TYPE_") enum SetIDType : uint8_t { NONE = 0, IMSI = 1, MSISDM = 2 }; @export(name="", value_prefix="AGPS_RIL_NETWORK_TYPE_") enum NetworkType : uint8_t { MOBILE = 0, WIFI = 1, Loading @@ -41,6 +43,7 @@ interface IAGnssRil { WIMAX = 6, }; @export(name="", value_prefix="AGPS_REF_LOCATION_TYPE_") enum AGnssRefLocationType : uint8_t { GSM_CELLID = 1, UMTS_CELLID = 2, Loading
gnss/1.0/IAGnssRilCallback.hal +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ package android.hardware.gnss@1.0; */ interface IAGnssRilCallback { /* Kinds of SET ID that can be requested */ @export(name="", value_prefix="AGPS_RIL_REQUEST_SETID_") enum ID : uint32_t { IMSI = 1 << 0L, MSISDN = 1 << 1L, Loading
gnss/1.0/IGnss.hal +4 −1 Original line number Diff line number Diff line Loading @@ -28,9 +28,10 @@ import IGnssGeofencing; import IGnssNi; import IGnssXtra; /* Represents the standard GNSS interface. */ /* Represents the standard GNSS (Global Navigation Satellite System) interface. */ interface IGnss { /* Requested operational mode for GNSS operation. */ @export(name="", value_prefix="GPS_POSITION_MODE_") enum GnssPositionMode : uint8_t { /** Mode for running GNSS standalone (no assistance). */ STANDALONE = 0, Loading @@ -44,6 +45,7 @@ interface IGnss { }; /* Requested recurrence mode for GNSS operation. */ @export(name="", value_prefix="GPS_POSITION_") enum GnssPositionRecurrence : uint32_t { /** Receive GNSS fixes on a recurring basis at a specified period. */ RECURRENCE_PERIODIC = 0, Loading @@ -55,6 +57,7 @@ interface IGnss { * Flags used to specify which aiding data to delete when calling * deleteAidingData(). */ @export(name="", value_prefix="GPS_") enum GnssAidingData : uint16_t { DELETE_EPHEMERIS = 0x0001, DELETE_ALMANAC = 0x0002, Loading