Searched refs:indexOfKeyPair (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/util/ |
D | PairSparseArrayUnitTest.java | 70 assertThat(map.indexOfKeyPair(FIRST_KEY, SECOND_KEY)).isEqualTo(0); in test_indexMethods() 105 assertThat(map.indexOfKeyPair(FIRST_KEY, SECOND_KEY)) in test_similarKeys() 106 .isNotEqualTo(map.indexOfKeyPair(SECOND_KEY, FIRST_KEY)); in test_similarKeys() 135 assertThat(map.indexOfKeyPair(FIRST_KEY, NEGATIVE_FIRST_KEY)) in test_negativeKeys() 136 .isNotEqualTo(map.indexOfKeyPair(NEGATIVE_FIRST_KEY, FIRST_KEY)); in test_negativeKeys() 137 assertThat(map.indexOfKeyPair(NEGATIVE_FIRST_KEY, NEGATIVE_FIRST_KEY)).isGreaterThan(-1); in test_negativeKeys()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | PairSparseArray.java | 120 return indexOfKeyPair(firstKey, secondKey) >= 0; in contains() 155 int index = indexOfKeyPair(firstKey, secondKey); in get() 167 public int indexOfKeyPair(int firstKey, int secondKey) { in indexOfKeyPair() method in PairSparseArray
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 896 int index = mRateInfoByPropIdAreaId.indexOfKeyPair(property, 0); in unsubscribeProperty() 911 int index = mRateInfoByPropIdAreaId.indexOfKeyPair(property, in unsubscribeProperty()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 1048 int indexOfPropIdAreaId = updaterByPropIdAreaId.indexOfKeyPair(propId, areaId); in subscribeContinuousProp()
|