Loading api/current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -20582,7 +20582,7 @@ package android.location { method public double getAccumulatedDeltaRangeMeters(); method public int getAccumulatedDeltaRangeState(); method public double getAccumulatedDeltaRangeUncertaintyMeters(); method public double getAutomaticGainControlLevelInDb(); method public double getAutomaticGainControlLevelDb(); method public long getCarrierCycles(); method public float getCarrierFrequencyHz(); method public double getCarrierPhase(); Loading @@ -20598,7 +20598,7 @@ package android.location { method public int getState(); method public int getSvid(); method public double getTimeOffsetNanos(); method public boolean hasAutomaticGainControlLevelInDb(); method public boolean hasAutomaticGainControlLevelDb(); method public boolean hasCarrierCycles(); method public boolean hasCarrierFrequencyHz(); method public boolean hasCarrierPhase(); Loading Loading @@ -20692,7 +20692,7 @@ package android.location { method public int getSatelliteCount(); method public int getSvid(int); method public boolean hasAlmanacData(int); method public boolean hasCarrierFrequency(int); method public boolean hasCarrierFrequencyHz(int); method public boolean hasEphemerisData(int); method public boolean usedInFix(int); field public static final int CONSTELLATION_BEIDOU = 5; // 0x5 api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -22082,7 +22082,7 @@ package android.location { method public double getAccumulatedDeltaRangeMeters(); method public int getAccumulatedDeltaRangeState(); method public double getAccumulatedDeltaRangeUncertaintyMeters(); method public double getAutomaticGainControlLevelInDb(); method public double getAutomaticGainControlLevelDb(); method public long getCarrierCycles(); method public float getCarrierFrequencyHz(); method public double getCarrierPhase(); Loading @@ -22098,7 +22098,7 @@ package android.location { method public int getState(); method public int getSvid(); method public double getTimeOffsetNanos(); method public boolean hasAutomaticGainControlLevelInDb(); method public boolean hasAutomaticGainControlLevelDb(); method public boolean hasCarrierCycles(); method public boolean hasCarrierFrequencyHz(); method public boolean hasCarrierPhase(); Loading Loading @@ -22192,7 +22192,7 @@ package android.location { method public int getSatelliteCount(); method public int getSvid(int); method public boolean hasAlmanacData(int); method public boolean hasCarrierFrequency(int); method public boolean hasCarrierFrequencyHz(int); method public boolean hasEphemerisData(int); method public boolean usedInFix(int); field public static final int CONSTELLATION_BEIDOU = 5; // 0x5 api/test-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -20659,7 +20659,7 @@ package android.location { method public double getAccumulatedDeltaRangeMeters(); method public int getAccumulatedDeltaRangeState(); method public double getAccumulatedDeltaRangeUncertaintyMeters(); method public double getAutomaticGainControlLevelInDb(); method public double getAutomaticGainControlLevelDb(); method public long getCarrierCycles(); method public float getCarrierFrequencyHz(); method public double getCarrierPhase(); Loading @@ -20675,7 +20675,7 @@ package android.location { method public int getState(); method public int getSvid(); method public double getTimeOffsetNanos(); method public boolean hasAutomaticGainControlLevelInDb(); method public boolean hasAutomaticGainControlLevelDb(); method public boolean hasCarrierCycles(); method public boolean hasCarrierFrequencyHz(); method public boolean hasCarrierPhase(); Loading Loading @@ -20806,7 +20806,7 @@ package android.location { method public int getSatelliteCount(); method public int getSvid(int); method public boolean hasAlmanacData(int); method public boolean hasCarrierFrequency(int); method public boolean hasCarrierFrequencyHz(int); method public boolean hasEphemerisData(int); method public boolean usedInFix(int); field public static final int CONSTELLATION_BEIDOU = 5; // 0x5 location/java/android/location/GnssMeasurement.java +7 −5 Original line number Diff line number Diff line Loading @@ -670,6 +670,8 @@ public final class GnssMeasurement implements Parcelable { * related to L5 will be filled. * * <p>The value is only available if {@link #hasCarrierFrequencyHz()} is {@code true}. * * @return the carrier frequency of the signal tracked in Hz. */ public float getCarrierFrequencyHz() { return mCarrierFrequencyHz; Loading Loading @@ -888,10 +890,10 @@ public final class GnssMeasurement implements Parcelable { } /** * Returns {@code true} if {@link #getAutomaticGainControlLevelInDb()} is available, * Returns {@code true} if {@link #getAutomaticGainControlLevelDb()} is available, * {@code false} otherwise. */ public boolean hasAutomaticGainControlLevelInDb() { public boolean hasAutomaticGainControlLevelDb() { return isFlagSet(HAS_AUTOMATIC_GAIN_CONTROL); } Loading @@ -908,9 +910,9 @@ public final class GnssMeasurement implements Parcelable { * components) may also affect the typical output of of this value on any given hardware design * in an open sky test - the important aspect of this output is that changes in this value are * indicative of changes on input signal power in the frequency band for this measurement. * <p>The value is only available if {@link #hasAutomaticGainControlLevelInDb()} is {@code true} * <p>The value is only available if {@link #hasAutomaticGainControlLevelDb()} is {@code true} */ public double getAutomaticGainControlLevelInDb() { public double getAutomaticGainControlLevelDb() { return mAutomaticGainControlLevelInDb; } Loading Loading @@ -1064,7 +1066,7 @@ public final class GnssMeasurement implements Parcelable { builder.append(String.format( format, "AgcLevelDb", hasAutomaticGainControlLevelInDb() ? mAutomaticGainControlLevelInDb : null)); hasAutomaticGainControlLevelDb() ? mAutomaticGainControlLevelInDb : null)); return builder.toString(); } Loading location/java/android/location/GnssStatus.java +6 −2 Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ public final class GnssStatus { * * @param satIndex the index of the satellite in the list. */ public boolean hasCarrierFrequency(int satIndex) { public boolean hasCarrierFrequencyHz(int satIndex) { return (mSvidWithFlags[satIndex] & GNSS_SV_FLAGS_HAS_CARRIER_FREQUENCY) != 0; } Loading @@ -239,7 +239,11 @@ public final class GnssStatus { * will be reported for this same satellite, in one all the values related to L1 will be filled, * and in the other all of the values related to L5 will be filled. * * <p>The value is only available if {@link #hasCarrierFrequency(int satIndex)} is {@code true}. * <p>The value is only available if {@link #hasCarrierFrequencyHz(int satIndex)} is {@code true}. * * @param satIndex the index of the satellite in the list. * * @return the carrier frequency of the signal tracked in Hz. */ public float getCarrierFrequencyHz(int satIndex) { return mCarrierFrequencies[satIndex]; Loading Loading
api/current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -20582,7 +20582,7 @@ package android.location { method public double getAccumulatedDeltaRangeMeters(); method public int getAccumulatedDeltaRangeState(); method public double getAccumulatedDeltaRangeUncertaintyMeters(); method public double getAutomaticGainControlLevelInDb(); method public double getAutomaticGainControlLevelDb(); method public long getCarrierCycles(); method public float getCarrierFrequencyHz(); method public double getCarrierPhase(); Loading @@ -20598,7 +20598,7 @@ package android.location { method public int getState(); method public int getSvid(); method public double getTimeOffsetNanos(); method public boolean hasAutomaticGainControlLevelInDb(); method public boolean hasAutomaticGainControlLevelDb(); method public boolean hasCarrierCycles(); method public boolean hasCarrierFrequencyHz(); method public boolean hasCarrierPhase(); Loading Loading @@ -20692,7 +20692,7 @@ package android.location { method public int getSatelliteCount(); method public int getSvid(int); method public boolean hasAlmanacData(int); method public boolean hasCarrierFrequency(int); method public boolean hasCarrierFrequencyHz(int); method public boolean hasEphemerisData(int); method public boolean usedInFix(int); field public static final int CONSTELLATION_BEIDOU = 5; // 0x5
api/system-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -22082,7 +22082,7 @@ package android.location { method public double getAccumulatedDeltaRangeMeters(); method public int getAccumulatedDeltaRangeState(); method public double getAccumulatedDeltaRangeUncertaintyMeters(); method public double getAutomaticGainControlLevelInDb(); method public double getAutomaticGainControlLevelDb(); method public long getCarrierCycles(); method public float getCarrierFrequencyHz(); method public double getCarrierPhase(); Loading @@ -22098,7 +22098,7 @@ package android.location { method public int getState(); method public int getSvid(); method public double getTimeOffsetNanos(); method public boolean hasAutomaticGainControlLevelInDb(); method public boolean hasAutomaticGainControlLevelDb(); method public boolean hasCarrierCycles(); method public boolean hasCarrierFrequencyHz(); method public boolean hasCarrierPhase(); Loading Loading @@ -22192,7 +22192,7 @@ package android.location { method public int getSatelliteCount(); method public int getSvid(int); method public boolean hasAlmanacData(int); method public boolean hasCarrierFrequency(int); method public boolean hasCarrierFrequencyHz(int); method public boolean hasEphemerisData(int); method public boolean usedInFix(int); field public static final int CONSTELLATION_BEIDOU = 5; // 0x5
api/test-current.txt +3 −3 Original line number Diff line number Diff line Loading @@ -20659,7 +20659,7 @@ package android.location { method public double getAccumulatedDeltaRangeMeters(); method public int getAccumulatedDeltaRangeState(); method public double getAccumulatedDeltaRangeUncertaintyMeters(); method public double getAutomaticGainControlLevelInDb(); method public double getAutomaticGainControlLevelDb(); method public long getCarrierCycles(); method public float getCarrierFrequencyHz(); method public double getCarrierPhase(); Loading @@ -20675,7 +20675,7 @@ package android.location { method public int getState(); method public int getSvid(); method public double getTimeOffsetNanos(); method public boolean hasAutomaticGainControlLevelInDb(); method public boolean hasAutomaticGainControlLevelDb(); method public boolean hasCarrierCycles(); method public boolean hasCarrierFrequencyHz(); method public boolean hasCarrierPhase(); Loading Loading @@ -20806,7 +20806,7 @@ package android.location { method public int getSatelliteCount(); method public int getSvid(int); method public boolean hasAlmanacData(int); method public boolean hasCarrierFrequency(int); method public boolean hasCarrierFrequencyHz(int); method public boolean hasEphemerisData(int); method public boolean usedInFix(int); field public static final int CONSTELLATION_BEIDOU = 5; // 0x5
location/java/android/location/GnssMeasurement.java +7 −5 Original line number Diff line number Diff line Loading @@ -670,6 +670,8 @@ public final class GnssMeasurement implements Parcelable { * related to L5 will be filled. * * <p>The value is only available if {@link #hasCarrierFrequencyHz()} is {@code true}. * * @return the carrier frequency of the signal tracked in Hz. */ public float getCarrierFrequencyHz() { return mCarrierFrequencyHz; Loading Loading @@ -888,10 +890,10 @@ public final class GnssMeasurement implements Parcelable { } /** * Returns {@code true} if {@link #getAutomaticGainControlLevelInDb()} is available, * Returns {@code true} if {@link #getAutomaticGainControlLevelDb()} is available, * {@code false} otherwise. */ public boolean hasAutomaticGainControlLevelInDb() { public boolean hasAutomaticGainControlLevelDb() { return isFlagSet(HAS_AUTOMATIC_GAIN_CONTROL); } Loading @@ -908,9 +910,9 @@ public final class GnssMeasurement implements Parcelable { * components) may also affect the typical output of of this value on any given hardware design * in an open sky test - the important aspect of this output is that changes in this value are * indicative of changes on input signal power in the frequency band for this measurement. * <p>The value is only available if {@link #hasAutomaticGainControlLevelInDb()} is {@code true} * <p>The value is only available if {@link #hasAutomaticGainControlLevelDb()} is {@code true} */ public double getAutomaticGainControlLevelInDb() { public double getAutomaticGainControlLevelDb() { return mAutomaticGainControlLevelInDb; } Loading Loading @@ -1064,7 +1066,7 @@ public final class GnssMeasurement implements Parcelable { builder.append(String.format( format, "AgcLevelDb", hasAutomaticGainControlLevelInDb() ? mAutomaticGainControlLevelInDb : null)); hasAutomaticGainControlLevelDb() ? mAutomaticGainControlLevelInDb : null)); return builder.toString(); } Loading
location/java/android/location/GnssStatus.java +6 −2 Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ public final class GnssStatus { * * @param satIndex the index of the satellite in the list. */ public boolean hasCarrierFrequency(int satIndex) { public boolean hasCarrierFrequencyHz(int satIndex) { return (mSvidWithFlags[satIndex] & GNSS_SV_FLAGS_HAS_CARRIER_FREQUENCY) != 0; } Loading @@ -239,7 +239,11 @@ public final class GnssStatus { * will be reported for this same satellite, in one all the values related to L1 will be filled, * and in the other all of the values related to L5 will be filled. * * <p>The value is only available if {@link #hasCarrierFrequency(int satIndex)} is {@code true}. * <p>The value is only available if {@link #hasCarrierFrequencyHz(int satIndex)} is {@code true}. * * @param satIndex the index of the satellite in the list. * * @return the carrier frequency of the signal tracked in Hz. */ public float getCarrierFrequencyHz(int satIndex) { return mCarrierFrequencies[satIndex]; Loading