Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e710964 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add IGnssConfiguration AIDL HAL (hardware/interfaces)"

parents 647b2cfa 1e1a6765
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
// edit this file. It looks like you are doing that because you have modified
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
// from an interface or a field from a parcelable and it broke the build. That
// breakage is intended.
//
// You must not make a backward incompatible changes to the AIDL files built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.gnss;
@VintfStability
parcelable BlocklistedSource {
  android.hardware.gnss.GnssConstellationType constellation;
  int svid;
}
+29 −0
Original line number Diff line number Diff line
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
// edit this file. It looks like you are doing that because you have modified
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
// from an interface or a field from a parcelable and it broke the build. That
// breakage is intended.
//
// You must not make a backward incompatible changes to the AIDL files built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.gnss;
@Backing(type="int") @VintfStability
enum GnssConstellationType {
  UNKNOWN = 0,
  GPS = 1,
  SBAS = 2,
  GLONASS = 3,
  QZSS = 4,
  BEIDOU = 5,
  GALILEO = 6,
  IRNSS = 7,
}
+4 −0
Original line number Diff line number Diff line
@@ -18,5 +18,9 @@
package android.hardware.gnss;
@VintfStability
interface IGnss {
  void setCallback(in android.hardware.gnss.IGnssCallback callback);
  void close();
  android.hardware.gnss.IGnssPsds getExtensionPsds();
  android.hardware.gnss.IGnssConfiguration getExtensionGnssConfiguration();
  const int ERROR_INVALID_ARGUMENT = 1;
}
+23 −0
Original line number Diff line number Diff line
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
// edit this file. It looks like you are doing that because you have modified
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
// from an interface or a field from a parcelable and it broke the build. That
// breakage is intended.
//
// You must not make a backward incompatible changes to the AIDL files built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.gnss;
@VintfStability
interface IGnssCallback {
  void gnssSetCapabilitiesCb(in int capabilities);
  const int CAPABILITY_SATELLITE_BLOCKLIST = 1;
}
+35 −0
Original line number Diff line number Diff line
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL interface (or parcelable). Do not try to
// edit this file. It looks like you are doing that because you have modified
// an AIDL interface in a backward-incompatible way, e.g., deleting a function
// from an interface or a field from a parcelable and it broke the build. That
// breakage is intended.
//
// You must not make a backward incompatible changes to the AIDL files built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.gnss;
@VintfStability
interface IGnssConfiguration {
  void setSuplVersion(in int version);
  void setSuplMode(in int mode);
  void setLppProfile(in int lppProfile);
  void setGlonassPositioningProtocol(in int protocol);
  void setEmergencySuplPdn(in boolean enable);
  void setEsExtensionSec(in int emergencyExtensionSeconds);
  void setBlocklist(in android.hardware.gnss.BlocklistedSource[] blocklist);
  const int SUPL_MODE_MSB = 1;
  const int SUPL_MODE_MSA = 2;
  const int LPP_PROFILE_USER_PLANE = 1;
  const int LPP_PROFILE_CONTROL_PLANE = 2;
  const int GLONASS_POS_PROTOCOL_RRC_CPLANE = 1;
  const int GLONASS_POS_PROTOCOL_RRLP_UPLANE = 2;
  const int GLONASS_POS_PROTOCOL_LPP_UPLANE = 4;
}
Loading