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

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

Merge "Add the information if the assistance is not available." into main

parents d6f3641f eb6fc613
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ import android.hardware.gnss.GnssSignalType;
/**
 * Contains parameters to provide additional information dependent on the GNSS constellation.
 *
 * If svid is -1, the AuxiliaryInformation is not available.
 *
 * @hide
 */
@VintfStability
@@ -49,6 +51,8 @@ parcelable AuxiliaryInformation {
     * - QZSS:    183-206
     * - Galileo: 1-36
     * - Beidou:  1-63
     *
     * If it is -1, the AuxiliaryInformation is not available.
     */
    int svid;

+3 −1
Original line number Diff line number Diff line
@@ -18,7 +18,9 @@ package android.hardware.gnss.gnss_assistance;

/**
 * Contains Galileo ionospheric model.
 * This is Defined in Galileo-OS-SIS-ICD-v2.1, 5.1.6.
 * This is defined in Galileo-OS-SIS-ICD-v2.1, 5.1.6.
 *
 * If all coefficients are 0, the GalileoIonosphericModel is not available.
 *
 * @hide
 */
+6 −1
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ package android.hardware.gnss.gnss_assistance;
 * Contains Glonass almanac data.
 * This is defined in Glonass ICD v5.1, section 4.5.
 *
 * If issueDateMs is -1, the GlonassAlmanac is not available.
 *
 * @hide
 */
@VintfStability
@@ -77,7 +79,10 @@ parcelable GlonassAlmanac {
        double omega;
    }

    /** Almanac issue date in milliseconds (UTC). */
    /**
     * Almanac issue date in milliseconds (UTC).
     * If it is -1, the GlonassAlmanac is not available.
     */
    long issueDateMs;

    /** Array of GlonassSatelliteAlmanac. */
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@ package android.hardware.gnss.gnss_assistance;
 * For QZSS, this is defined in IS-QZSS-PNT section 4.1.2.6.
 * For Galileo, this is defined in Galileo-OS-SIS-ICD-v2.1 section 5.1.10.
 *
 * If weekNumber is -1, the GnssAlmanac is not available.
 *
 * @hide
 */
@VintfStability
@@ -44,6 +46,7 @@ parcelable GnssAlmanac {

    /**
     * Almanac reference week number.
     * If it is -1, the GnssAlmanac is not available.
     *
     * For GPS and QZSS, this is GPS week number (modulo 1024).
     * For Beidou, this is Baidou week number (modulo 8192).
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ package android.hardware.gnss.gnss_assistance;
 * Contains Klobuchar ionospheric model coefficients used by GPS, BDS, QZSS.
 * This is defined in IS-GPS-200 20.3.3.5.1.7.
 *
 * If all coefficients are 0, the KlobucharIonosphericModel is not available.
 *
 * @hide
 */
@VintfStability
Loading