Home
last modified time | relevance | path

Searched refs:PairSparseArray (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/util/
DPairSparseArrayUnitTest.java39 PairSparseArray<Integer> map = new PairSparseArray<>(); in test_sizeGetPut()
52 PairSparseArray<Integer> map = new PairSparseArray<>(); in test_appendContainsRemove()
66 PairSparseArray<Integer> map = new PairSparseArray<>(); in test_indexMethods()
85 PairSparseArray<Integer> map = new PairSparseArray<>(16); in test_similarKeys()
119 PairSparseArray<Integer> map = new PairSparseArray<>(12); in test_negativeKeys()
146 PairSparseArray<Integer> map = new PairSparseArray<>(16); in test_getSecondKeysForFirstKey()
169 PairSparseArray<Integer> map = new PairSparseArray<>(16); in test_getFirstKeys()
183 PairSparseArray<Integer> map = new PairSparseArray<>(16); in test_clone()
189 PairSparseArray<Integer> cloned = map.clone(); in test_clone()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DPairSparseArray.java36 public class PairSparseArray<E> implements Cloneable { class
52 public PairSparseArray() { in PairSparseArray() method in PairSparseArray
57 public PairSparseArray(int initialCapacity) { in PairSparseArray() method in PairSparseArray
62 private PairSparseArray(PairSparseArray<E> other) { in PairSparseArray() method in PairSparseArray
69 public PairSparseArray<E> clone() { in clone()
70 return new PairSparseArray<E>(this); in clone()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DSubscriptionManager.java32 import com.android.car.internal.util.PairSparseArray;
262 PairSparseArray<RateInfoForClients<ClientType>> mCurrentRateInfoByClientByPropIdAreaId =
263 new PairSparseArray<>();
264 PairSparseArray<RateInfoForClients<ClientType>> mStagedRateInfoByClientByPropIdAreaId =
265 new PairSparseArray<>();
421 PairSparseArray<RateInfo> diffRateInfoByPropIdAreaId = new PairSparseArray<>(); in diffBetweenCurrentAndStage()
480 PairSparseArray<RateInfo> diffRateInfoByPropIdAreaId) { in getCarSubscription()
522 mStagedRateInfoByClientByPropIdAreaId = new PairSparseArray<>(); in cloneCurrentToStageIfClean()
532 PairSparseArray<RateInfoForClients<ClientType>> states) { in dumpStates()
DCarPropertyEventController.java26 import com.android.car.internal.util.PairSparseArray;
50 private final PairSparseArray<CarPropertyEventTracker> mPropIdToAreaIdToCpeTracker =
51 new PairSparseArray<>();
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java54 import com.android.car.internal.util.PairSparseArray;
105 private final PairSparseArray<HalPropValue> mPropValuesByPropIdAreaId;
107 private final PairSparseArray<Set<FakeVhalSubscriptionClient>>
108 mOnChangeSubscribeClientByPropIdAreaId = new PairSparseArray<>();
110 private final Map<FakeVhalSubscriptionClient, PairSparseArray<ContinuousPropUpdater>>
632 private PairSparseArray<HalPropValue> extractPropValues( in extractPropValues()
635 PairSparseArray<HalPropValue> propValuesByPropIdAreaId = new PairSparseArray<>(); in extractPropValues()
1040 PairSparseArray<ContinuousPropUpdater> updaterByPropIdAreaId = in subscribeContinuousProp()
1044 updaterByPropIdAreaId = new PairSparseArray<>(); in subscribeContinuousProp()
1133 PairSparseArray<ContinuousPropUpdater> updaterByPropIdAreaId = in unsubscribeContinuousProp()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java66 import com.android.car.internal.util.PairSparseArray;
134 private PairSparseArray<RateInfo> mRateInfoByPropIdAreaId = new PairSparseArray<>();
138 private final PairSparseArray<Integer> mAccessByPropIdAreaId = new PairSparseArray<Integer>();
663 PairSparseArray<RateInfo> previousState = cloneState(mRateInfoByPropIdAreaId); in subscribeProperty()
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()
DPropertyHalService.java93 import com.android.car.internal.util.PairSparseArray;
138 private final PairSparseArray<CarPropertyValue> mStaticPropertyIdAreaIdCache =
139 new PairSparseArray<>();
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java44 import com.android.car.internal.util.PairSparseArray;
73 private final PairSparseArray<Set<ListenerInfo>> mListenersByPropIdAreaId =
74 new PairSparseArray<>();
/packages/services/Car/car-lib/
DOWNERS37 per-file src/com/android/car/internal/util/PairSparseArray.java = aaqibismail@google.com, tylertrep…
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java75 import com.android.car.internal.util.PairSparseArray;
1610 PairSparseArray<Object> propertyToAreaId = new PairSparseArray<>(); in validateAreaDisjointness()