Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/com/android/car/internal/property/
DSubscriptionManager.java77 private static final class RateInfo { class in SubscriptionManager
82 RateInfo(float updateRateHz, boolean enableVariableUpdateRate, float resolution) { in RateInfo() method in SubscriptionManager.RateInfo
100 if (!(other instanceof RateInfo)) { in equals()
103 RateInfo that = (RateInfo) other; in equals()
120 private final ArrayMap<ClientType, RateInfo> mRateInfoByClient;
172 RateInfo getCombinedRateInfo() { in getCombinedRateInfo()
173 return new RateInfo(getMaxUpdateRateHz(), isVariableUpdateRateEnabledForAllClients(), in getCombinedRateInfo()
202 new RateInfo(updateRateHz, enableVariableUpdateRate, resolution)); in add()
229 RateInfo rateInfo = mRateInfoByClient.get(client); in remove()
421 PairSparseArray<RateInfo> diffRateInfoByPropIdAreaId = new PairSparseArray<>(); in diffBetweenCurrentAndStage()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java134 private PairSparseArray<RateInfo> mRateInfoByPropIdAreaId = new PairSparseArray<>();
147 private static final class RateInfo { class in VehicleHal
152 RateInfo(float updateRateHz, boolean enableVariableUpdateRate, float resolution) { in RateInfo() method in VehicleHal.RateInfo
663 PairSparseArray<RateInfo> previousState = cloneState(mRateInfoByPropIdAreaId); in subscribeProperty()
781 RateInfo rateInfo = new RateInfo(samplingRateHz, enableVariableUpdateRate, resolution); in createVhalSubscribeOptionsLocked()
807 private int[] filterAreaIdsWithSameRateInfo(int property, int[] areaIds, RateInfo rateInfo) { in filterAreaIdsWithSameRateInfo()
811 RateInfo savedRateInfo = mRateInfoByPropIdAreaId.get(property, areaIds[i]); in filterAreaIdsWithSameRateInfo()
894 PairSparseArray<RateInfo> previousState = cloneState(mRateInfoByPropIdAreaId); in unsubscribeProperty()
1645 private PairSparseArray<RateInfo> cloneState(PairSparseArray<RateInfo> state) { in cloneState()
1646 PairSparseArray<RateInfo> cloned = new PairSparseArray<>(); in cloneState()