Home
last modified time | relevance | path

Searched refs:svInfos (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/location/tests/locationtests/src/android/location/
DGnssStatusTest.java43 List<SatelliteInfo> svInfos = new ArrayList<>(); in testEmptyGnssStatus() local
44 GnssStatus gnssStatus = createGnssStatus(svInfos); in testEmptyGnssStatus()
45 verifyGnssStatus(svInfos, gnssStatus); in testEmptyGnssStatus()
54 List<SatelliteInfo> svInfos = new ArrayList<>(); in testOneSatelliteGnssStatus() local
57 svInfos.add(svInfo); in testOneSatelliteGnssStatus()
58 GnssStatus gnssStatus = createGnssStatus(svInfos); in testOneSatelliteGnssStatus()
59 verifyGnssStatus(svInfos, gnssStatus); in testOneSatelliteGnssStatus()
68 List<SatelliteInfo> svInfos = new ArrayList<>(); in testMultipleSatellitesGnssStatus() local
77 svInfos.add(svInfo1); in testMultipleSatellitesGnssStatus()
78 svInfos.add(svInfo2); in testMultipleSatellitesGnssStatus()
[all …]
DSatelliteInfo.java77 public static int[] getSvidWithFlagsArray(List<SatelliteInfo> svInfos) { in getSvidWithFlagsArray() argument
78 int[] svidWithFlags = new int[svInfos.size()]; in getSvidWithFlagsArray()
79 for (int i = 0; i< svInfos.size(); i++) { in getSvidWithFlagsArray()
80 svidWithFlags[i] = svInfos.get(i).mSvidWithFlag; in getSvidWithFlagsArray()
88 public static float[] getCn0sArray(List<SatelliteInfo> svInfos) { in getCn0sArray() argument
89 float[] cn0s = new float[svInfos.size()]; in getCn0sArray()
90 for (int i = 0; i< svInfos.size(); i++) { in getCn0sArray()
91 cn0s[i] = svInfos.get(i).mCn0DbHz; in getCn0sArray()
99 public static float[] getElevationsArray(List<SatelliteInfo> svInfos) { in getElevationsArray() argument
100 float[] elevations = new float[svInfos.size()]; in getElevationsArray()
[all …]