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

Commit 2ab6d0e6 authored by Shinru Han's avatar Shinru Han Committed by Android (Google) Code Review
Browse files

Merge "Update GnssAssistance AIDL to match framework changes." into main

parents 04b743e2 b6beba8e
Loading
Loading
Loading
Loading
+0 −55
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file 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.gnss_assistance;
/* @hide */
@VintfStability
parcelable BeidouAlmanac {
  int beidouWeekNumber;
  android.hardware.gnss.gnss_assistance.BeidouAlmanac.BeidouSatelliteAlmanac[] satelliteAlmanac;
  @VintfStability
  parcelable BeidouSatelliteAlmanac {
    int prn;
    int svHealth;
    int toaSeconds;
    double eccentricity;
    double deltaI;
    double omega;
    double omega0;
    double omegaDot;
    double rootA;
    double m0;
    double af0;
    double af1;
  }
}
+0 −66
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file 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.gnss_assistance;
/* @hide */
@VintfStability
parcelable GalileoAlmanac {
  long issueDate;
  int weekNumber;
  int toa;
  int iod;
  android.hardware.gnss.gnss_assistance.GalileoAlmanac.GalileoSatelliteAlmanac[] satelliteAlmanac;
  @VintfStability
  parcelable GalileoSatelliteAlmanac {
    int svId;
    android.hardware.gnss.gnss_assistance.GalileoAlmanac.GalileoAlmanacSvHealth svHealth;
    double eccentricity;
    double deltaI;
    double omega;
    double omega0;
    double omegaDot;
    double rootA;
    double m0;
    double af0;
    double af1;
    int weekNumber;
    int toa;
    int iod;
  }
  @VintfStability
  parcelable GalileoAlmanacSvHealth {
    int fNavE5a;
    int iNavE5b;
    int iNavE1b;
  }
}
+8 −6
Original line number Diff line number Diff line
@@ -34,13 +34,15 @@
package android.hardware.gnss.gnss_assistance;
/* @hide */
@VintfStability
parcelable QzssAlmanac {
  int qzssWeekNumber;
  int secondsOfQzssWeek;
  android.hardware.gnss.gnss_assistance.QzssAlmanac.QzssSatelliteAlmanac[] satelliteAlmanac;
parcelable GnssAlmanac {
  long issueDateMs;
  int iod;
  int weekNumber;
  int toaSeconds;
  android.hardware.gnss.gnss_assistance.GnssAlmanac.GnssSatelliteAlmanac[] satelliteAlmanac;
  @VintfStability
  parcelable QzssSatelliteAlmanac {
    int prn;
  parcelable GnssSatelliteAlmanac {
    int svid;
    int svHealth;
    double eccentricity;
    double inclination;
+8 −8
Original line number Diff line number Diff line
@@ -36,10 +36,10 @@ package android.hardware.gnss.gnss_assistance;
@VintfStability
parcelable GnssAssistance {
  android.hardware.gnss.gnss_assistance.GnssAssistance.GpsAssistance gpsAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.GlonassAssistance gloAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.GalileoAssistance galAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.BeidouAssistance bdsAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.QzssAssistance qzsAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.GlonassAssistance glonassAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.GalileoAssistance galileoAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.BeidouAssistance beidouAssistance;
  android.hardware.gnss.gnss_assistance.GnssAssistance.QzssAssistance qzssAssistance;
  @VintfStability
  parcelable GnssSatelliteCorrections {
    int svid;
@@ -47,7 +47,7 @@ parcelable GnssAssistance {
  }
  @VintfStability
  parcelable GpsAssistance {
    android.hardware.gnss.gnss_assistance.GpsAlmanac almanac;
    android.hardware.gnss.gnss_assistance.GnssAlmanac almanac;
    android.hardware.gnss.gnss_assistance.KlobucharIonosphericModel ionosphericModel;
    android.hardware.gnss.gnss_assistance.UtcModel utcModel;
    android.hardware.gnss.gnss_assistance.LeapSecondsModel leapSecondsModel;
@@ -58,7 +58,7 @@ parcelable GnssAssistance {
  }
  @VintfStability
  parcelable GalileoAssistance {
    android.hardware.gnss.gnss_assistance.GalileoAlmanac almanac;
    android.hardware.gnss.gnss_assistance.GnssAlmanac almanac;
    android.hardware.gnss.gnss_assistance.GalileoIonosphericModel ionosphericModel;
    android.hardware.gnss.gnss_assistance.UtcModel utcModel;
    android.hardware.gnss.gnss_assistance.LeapSecondsModel leapSecondsModel;
@@ -77,7 +77,7 @@ parcelable GnssAssistance {
  }
  @VintfStability
  parcelable QzssAssistance {
    android.hardware.gnss.gnss_assistance.QzssAlmanac almanac;
    android.hardware.gnss.gnss_assistance.GnssAlmanac almanac;
    android.hardware.gnss.gnss_assistance.KlobucharIonosphericModel ionosphericModel;
    android.hardware.gnss.gnss_assistance.UtcModel utcModel;
    android.hardware.gnss.gnss_assistance.LeapSecondsModel leapSecondsModel;
@@ -88,7 +88,7 @@ parcelable GnssAssistance {
  }
  @VintfStability
  parcelable BeidouAssistance {
    android.hardware.gnss.gnss_assistance.BeidouAlmanac almanac;
    android.hardware.gnss.gnss_assistance.GnssAlmanac almanac;
    android.hardware.gnss.gnss_assistance.KlobucharIonosphericModel ionosphericModel;
    android.hardware.gnss.gnss_assistance.UtcModel utcModel;
    android.hardware.gnss.gnss_assistance.LeapSecondsModel leapSecondsModel;
+0 −55
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file 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.gnss_assistance;
/* @hide */
@VintfStability
parcelable GpsAlmanac {
  int gpsWeekNumber;
  int secondsOfGpsWeek;
  android.hardware.gnss.gnss_assistance.GpsAlmanac.GpsSatelliteAlmanac[] satelliteAlmanac;
  @VintfStability
  parcelable GpsSatelliteAlmanac {
    int prn;
    int svHealth;
    double eccentricity;
    double inclination;
    double omega;
    double omega0;
    double omegaDot;
    double rootA;
    double m0;
    double af0;
    double af1;
  }
}
Loading