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

Commit 8338316c authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8050871 from 2f0101ff to tm-release

Change-Id: I1ba2faf910dd443fe2bb533e2336efb595ab7488
parents c160d719 2f0101ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -393,6 +393,7 @@
        <interface>
        <interface>
            <name>IRemotelyProvisionedComponent</name>
            <name>IRemotelyProvisionedComponent</name>
            <instance>default</instance>
            <instance>default</instance>
            <instance>strongbox</instance>
        </interface>
        </interface>
    </hal>
    </hal>
    <hal format="aidl" optional="true">
    <hal format="aidl" optional="true">
+2 −2
Original line number Original line Diff line number Diff line
@@ -37,8 +37,8 @@ interface IAGnss {
  void setCallback(in android.hardware.gnss.IAGnssCallback callback);
  void setCallback(in android.hardware.gnss.IAGnssCallback callback);
  void dataConnClosed();
  void dataConnClosed();
  void dataConnFailed();
  void dataConnFailed();
  void setServer(in android.hardware.gnss.IAGnssCallback.AGnssType type, in String hostname, in int port);
  void setServer(in android.hardware.gnss.IAGnssCallback.AGnssType type, in @utf8InCpp String hostname, in int port);
  void dataConnOpen(in long networkHandle, in String apn, in android.hardware.gnss.IAGnss.ApnIpType apnIpType);
  void dataConnOpen(in long networkHandle, in @utf8InCpp String apn, in android.hardware.gnss.IAGnss.ApnIpType apnIpType);
  @Backing(type="int") @VintfStability
  @Backing(type="int") @VintfStability
  enum ApnIpType {
  enum ApnIpType {
    INVALID = 0,
    INVALID = 0,
+34 −0
Original line number Original line Diff line number Diff line
@@ -46,7 +46,41 @@ interface IGnss {
  android.hardware.gnss.IAGnss getExtensionAGnss();
  android.hardware.gnss.IAGnss getExtensionAGnss();
  android.hardware.gnss.IGnssDebug getExtensionGnssDebug();
  android.hardware.gnss.IGnssDebug getExtensionGnssDebug();
  android.hardware.gnss.visibility_control.IGnssVisibilityControl getExtensionGnssVisibilityControl();
  android.hardware.gnss.visibility_control.IGnssVisibilityControl getExtensionGnssVisibilityControl();
  void start();
  void stop();
  void injectTime(in long timeMs, in long timeReferenceMs, in int uncertaintyMs);
  void injectLocation(in android.hardware.gnss.GnssLocation location);
  void injectBestLocation(in android.hardware.gnss.GnssLocation location);
  void deleteAidingData(in android.hardware.gnss.IGnss.GnssAidingData aidingDataFlags);
  void setPositionMode(in android.hardware.gnss.IGnss.GnssPositionMode mode, in android.hardware.gnss.IGnss.GnssPositionRecurrence recurrence, in int minIntervalMs, in int preferredAccuracyMeters, in int preferredTimeMs, in boolean lowPowerMode);
  const int ERROR_INVALID_ARGUMENT = 1;
  const int ERROR_INVALID_ARGUMENT = 1;
  const int ERROR_ALREADY_INIT = 2;
  const int ERROR_ALREADY_INIT = 2;
  const int ERROR_GENERIC = 3;
  const int ERROR_GENERIC = 3;
  @Backing(type="int") @VintfStability
  enum GnssPositionMode {
    STANDALONE = 0,
    MS_BASED = 1,
    MS_ASSISTED = 2,
  }
  @Backing(type="int") @VintfStability
  enum GnssPositionRecurrence {
    RECURRENCE_PERIODIC = 0,
    RECURRENCE_SINGLE = 1,
  }
  @Backing(type="int") @VintfStability
  enum GnssAidingData {
    DELETE_EPHEMERIS = 1,
    DELETE_ALMANAC = 2,
    DELETE_POSITION = 4,
    DELETE_TIME = 8,
    DELETE_IONO = 16,
    DELETE_UTC = 32,
    DELETE_HEALTH = 64,
    DELETE_SVDIR = 128,
    DELETE_SVSTEER = 256,
    DELETE_SADATA = 512,
    DELETE_RTI = 1024,
    DELETE_CELLDB_INFO = 32768,
    DELETE_ALL = 65535,
  }
}
}
+52 −0
Original line number Original line Diff line number Diff line
@@ -35,8 +35,60 @@ package android.hardware.gnss;
@VintfStability
@VintfStability
interface IGnssCallback {
interface IGnssCallback {
  void gnssSetCapabilitiesCb(in int capabilities);
  void gnssSetCapabilitiesCb(in int capabilities);
  void gnssStatusCb(in android.hardware.gnss.IGnssCallback.GnssStatusValue status);
  void gnssSvStatusCb(in android.hardware.gnss.IGnssCallback.GnssSvInfo[] svInfoList);
  void gnssLocationCb(in android.hardware.gnss.GnssLocation location);
  void gnssNmeaCb(in long timestamp, in @utf8InCpp String nmea);
  void gnssAcquireWakelockCb();
  void gnssReleaseWakelockCb();
  void gnssSetSystemInfoCb(in android.hardware.gnss.IGnssCallback.GnssSystemInfo info);
  void gnssRequestTimeCb();
  void gnssRequestLocationCb(in boolean independentFromGnss, in boolean isUserEmergency);
  const int CAPABILITY_SCHEDULING = 1;
  const int CAPABILITY_MSB = 2;
  const int CAPABILITY_MSA = 4;
  const int CAPABILITY_SINGLE_SHOT = 8;
  const int CAPABILITY_ON_DEMAND_TIME = 16;
  const int CAPABILITY_GEOFENCING = 32;
  const int CAPABILITY_MEASUREMENTS = 64;
  const int CAPABILITY_NAV_MESSAGES = 128;
  const int CAPABILITY_LOW_POWER_MODE = 256;
  const int CAPABILITY_SATELLITE_BLOCKLIST = 512;
  const int CAPABILITY_SATELLITE_BLOCKLIST = 512;
  const int CAPABILITY_MEASUREMENT_CORRECTIONS = 1024;
  const int CAPABILITY_ANTENNA_INFO = 2048;
  const int CAPABILITY_CORRELATION_VECTOR = 4096;
  const int CAPABILITY_CORRELATION_VECTOR = 4096;
  const int CAPABILITY_SATELLITE_PVT = 8192;
  const int CAPABILITY_SATELLITE_PVT = 8192;
  const int CAPABILITY_MEASUREMENT_CORRECTIONS_FOR_DRIVING = 16384;
  const int CAPABILITY_MEASUREMENT_CORRECTIONS_FOR_DRIVING = 16384;
  @Backing(type="int") @VintfStability
  enum GnssStatusValue {
    NONE = 0,
    SESSION_BEGIN = 1,
    SESSION_END = 2,
    ENGINE_ON = 3,
    ENGINE_OFF = 4,
  }
  @Backing(type="int") @VintfStability
  enum GnssSvFlags {
    NONE = 0,
    HAS_EPHEMERIS_DATA = 1,
    HAS_ALMANAC_DATA = 2,
    USED_IN_FIX = 4,
    HAS_CARRIER_FREQUENCY = 8,
  }
  @VintfStability
  parcelable GnssSvInfo {
    int svid;
    android.hardware.gnss.GnssConstellationType constellation;
    float cN0Dbhz;
    float basebandCN0DbHz;
    float elevationDegrees;
    float azimuthDegrees;
    long carrierFrequencyHz;
    int svFlag;
  }
  @VintfStability
  parcelable GnssSystemInfo {
    int yearOfHw;
    @utf8InCpp String name;
  }
}
}
+3 −2
Original line number Original line Diff line number Diff line
@@ -60,7 +60,7 @@ interface IAGnss {
     * @param hostname Hostname of the AGNSS server.
     * @param hostname Hostname of the AGNSS server.
     * @param port Port number associated with the server.
     * @param port Port number associated with the server.
     */
     */
    void setServer(in AGnssType type, in String hostname, in int port);
    void setServer(in AGnssType type, in @utf8InCpp String hostname, in int port);


    /**
    /**
     * Notifies GNSS that a data connection is available and sets the network handle,
     * Notifies GNSS that a data connection is available and sets the network handle,
@@ -75,5 +75,6 @@ interface IAGnss {
     * @param apn Access Point Name (follows regular APN naming convention).
     * @param apn Access Point Name (follows regular APN naming convention).
     * @param apnIpType Specifies IP type of APN.
     * @param apnIpType Specifies IP type of APN.
     */
     */
    void dataConnOpen(in long networkHandle, in String apn, in ApnIpType apnIpType);
    void dataConnOpen(
            in long networkHandle, in @utf8InCpp String apn, in ApnIpType apnIpType);
}
}
Loading