Home
last modified time | relevance | path

Searched refs:cn0DbHzs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/location/java/android/location/
DGnssStatus.java132 public static GnssStatus wrap(int svCount, int[] svidWithFlags, float[] cn0DbHzs, in wrap() argument
142 return new GnssStatus(svCount, svidWithFlags, cn0DbHzs, elevations, azimuths, in wrap()
154 private GnssStatus(int svCount, int[] svidWithFlags, float[] cn0DbHzs, float[] elevations, in GnssStatus() argument
158 mCn0DbHzs = cn0DbHzs; in GnssStatus()
382 float[] cn0DbHzs = new float[svCount];
389 cn0DbHzs[i] = in.readFloat();
396 return new GnssStatus(svCount, svidWithFlags, cn0DbHzs, elevations, azimuths,
482 float[] cn0DbHzs = new float[svCount]; in build() local
491 for (int i = 0; i < cn0DbHzs.length; i++) { in build()
492 cn0DbHzs[i] = mSatellites.get(i).mCn0DbHz; in build()
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssMetrics.java170 float[] cn0DbHzs = new float[gnssStatus.getSatelliteCount()]; in logCn0() local
172 cn0DbHzs[i] = gnssStatus.getCn0DbHz(i); in logCn0()
175 Arrays.sort(cn0DbHzs); in logCn0()
176 mGnssPowerMetrics.reportSignalQuality(cn0DbHzs); in logCn0()
177 if (cn0DbHzs.length < 4) { in logCn0()
180 if (cn0DbHzs[cn0DbHzs.length - 4] > 0.0) { in logCn0()
182 for (int i = cn0DbHzs.length - 4; i < cn0DbHzs.length; i++) { in logCn0()
183 top4AvgCn0 += cn0DbHzs[i]; in logCn0()
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/
DGnssNative.java1119 void reportSvStatus(int svCount, int[] svidWithFlags, float[] cn0DbHzs, in reportSvStatus() argument
1123 GnssStatus gnssStatus = GnssStatus.wrap(svCount, svidWithFlags, cn0DbHzs, elevations, in reportSvStatus()