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

Commit eb6fc613 authored by Shinru Han's avatar Shinru Han
Browse files

Add the information if the assistance is not available.

Bug: 358381377
Change-Id: I14b9aab88ef99112fd5e405e0419558ddc474aa8
Test: atest VtsHalGnssTargetTest
parent d80d030b
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