Home
last modified time | relevance | path

Searched refs:svidWithFlags (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
136 Preconditions.checkState(svidWithFlags.length >= svCount); in wrap()
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
157 mSvidWithFlags = svidWithFlags; in GnssStatus()
381 int[] svidWithFlags = new int[svCount];
388 svidWithFlags[i] = in.readInt();
396 return new GnssStatus(svCount, svidWithFlags, cn0DbHzs, elevations, azimuths,
481 int[] svidWithFlags = new int[svCount]; in build() local
488 for (int i = 0; i < svidWithFlags.length; i++) { in build()
[all …]
/frameworks/base/services/core/jni/gnss/
DGnssCallback.cpp344 jint* svidWithFlags = env->GetIntArrayElements(svidWithFlagArray, 0); in gnssSvStatusCbImpl() local
358 svidWithFlags[i] = (info.svid << SVID_SHIFT_WIDTH) | in gnssSvStatusCbImpl()
365 svidWithFlags[i] |= getHasBasebandCn0DbHzFlag(svStatus); in gnssSvStatusCbImpl()
369 env->ReleaseIntArrayElements(svidWithFlagArray, svidWithFlags, 0); in gnssSvStatusCbImpl()
/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()