Home
last modified time | relevance | path

Searched refs:rateInfo (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/property/
DSubscriptionManager.java229 RateInfo rateInfo = mRateInfoByClient.get(client); in remove() local
230 if (rateInfo.enableVariableUpdateRate) { in remove()
233 float updateRateHz = rateInfo.updateRateHz; in remove()
243 float resolution = rateInfo.resolution; in remove()
492 RateInfo rateInfo = diffRateInfoByPropIdAreaId.get(propertyId, areaId); in getCarSubscription() local
493 if (!areaIdsByRateInfo.containsKey(rateInfo)) { in getCarSubscription()
494 areaIdsByRateInfo.put(rateInfo, new ArrayList<>()); in getCarSubscription()
496 areaIdsByRateInfo.get(rateInfo).add(areaId); in getCarSubscription()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java458 rateStat.rateInfo = new WifiRateInfo(); in randomizePeerInfoStats()
459 rateStat.rateInfo.preamble = r.nextInt() & 0x7FFFFFFF; in randomizePeerInfoStats()
460 rateStat.rateInfo.nss = r.nextInt() & 0x7FFFFFFF; in randomizePeerInfoStats()
461 rateStat.rateInfo.bw = r.nextInt() & 0x7FFFFFFF; in randomizePeerInfoStats()
462 rateStat.rateInfo.rateMcsIdx = 9; in randomizePeerInfoStats()
463 rateStat.rateInfo.bitRateInKbps = 101; in randomizePeerInfoStats()
543 assertEquals(iface.links[0].peers[i].rateStats[j].rateInfo.preamble, in verifyIfaceStats()
545 assertEquals(iface.links[0].peers[i].rateStats[j].rateInfo.nss, in verifyIfaceStats()
547 assertEquals(iface.links[0].peers[i].rateStats[j].rateInfo.bw, in verifyIfaceStats()
549 assertEquals(iface.links[0].peers[i].rateStats[j].rateInfo.rateMcsIdx, in verifyIfaceStats()
[all …]
DWifiStaIfaceHidlImplTest.java271 rateStat.rateInfo.preamble = r.nextInt() & 0x7FFFFFFF; in randomizePeerInfoStats()
272 rateStat.rateInfo.nss = r.nextInt() & 0x7FFFFFFF; in randomizePeerInfoStats()
273 rateStat.rateInfo.bw = r.nextInt() & 0x7FFFFFFF; in randomizePeerInfoStats()
274 rateStat.rateInfo.rateMcsIdx = 9; in randomizePeerInfoStats()
275 rateStat.rateInfo.bitRateInKbps = 101; in randomizePeerInfoStats()
354 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.preamble, in verifyIfaceStats_1_5()
356 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.nss, in verifyIfaceStats_1_5()
358 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.bw, in verifyIfaceStats_1_5()
360 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.rateMcsIdx, in verifyIfaceStats_1_5()
362 assertEquals(iface.peers.get(i).rateStats.get(j).rateInfo.bitRateInKbps, in verifyIfaceStats_1_5()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java781 RateInfo rateInfo = new RateInfo(samplingRateHz, enableVariableUpdateRate, resolution); in createVhalSubscribeOptionsLocked() local
782 int[] filteredAreaIds = filterAreaIdsWithSameRateInfo(property, areaIds, rateInfo); in createVhalSubscribeOptionsLocked()
800 mRateInfoByPropIdAreaId.put(property, filteredAreaIds[j], rateInfo); in createVhalSubscribeOptionsLocked()
807 private int[] filterAreaIdsWithSameRateInfo(int property, int[] areaIds, RateInfo rateInfo) { in filterAreaIdsWithSameRateInfo() argument
826 && (Math.abs(savedRateInfo.updateRateHz - rateInfo.updateRateHz) in filterAreaIdsWithSameRateInfo()
829 == rateInfo.enableVariableUpdateRate) in filterAreaIdsWithSameRateInfo()
830 && savedRateInfo.resolution == rateInfo.resolution) { in filterAreaIdsWithSameRateInfo()
834 toPropertyIdString(property), rateInfo.updateRateHz, in filterAreaIdsWithSameRateInfo()
835 rateInfo.enableVariableUpdateRate, rateInfo.resolution); in filterAreaIdsWithSameRateInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceHidlImpl.java1089 rateStats[j].preamble = staRateStat.rateInfo.preamble; in setIfaceStats_1_5()
1090 rateStats[j].nss = staRateStat.rateInfo.nss; in setIfaceStats_1_5()
1091 rateStats[j].bw = staRateStat.rateInfo.bw; in setIfaceStats_1_5()
1092 rateStats[j].rateMcsIdx = staRateStat.rateInfo.rateMcsIdx; in setIfaceStats_1_5()
1093 rateStats[j].bitRateInKbps = staRateStat.rateInfo.bitRateInKbps; in setIfaceStats_1_5()
1157 rateStats[j].preamble = staRateStat.rateInfo.preamble; in setIfaceStats_1_6()
1158 rateStats[j].nss = staRateStat.rateInfo.nss; in setIfaceStats_1_6()
1159 rateStats[j].bw = staRateStat.rateInfo.bw; in setIfaceStats_1_6()
1160 rateStats[j].rateMcsIdx = staRateStat.rateInfo.rateMcsIdx; in setIfaceStats_1_6()
1161 rateStats[j].bitRateInKbps = staRateStat.rateInfo.bitRateInKbps; in setIfaceStats_1_6()
DWifiStaIfaceAidlImpl.java1439 rateStats[j].preamble = staRateStat.rateInfo.preamble; in setIfaceStatsPerLinkFromAidl()
1440 rateStats[j].nss = staRateStat.rateInfo.nss; in setIfaceStatsPerLinkFromAidl()
1441 rateStats[j].bw = staRateStat.rateInfo.bw; in setIfaceStatsPerLinkFromAidl()
1442 rateStats[j].rateMcsIdx = staRateStat.rateInfo.rateMcsIdx; in setIfaceStatsPerLinkFromAidl()
1443 rateStats[j].bitRateInKbps = staRateStat.rateInfo.bitRateInKbps; in setIfaceStatsPerLinkFromAidl()