Home
last modified time | relevance | path

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

/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DUserHalHelper.java287 public static boolean isValidUserIdentificationAssociationType(int type) { in isValidUserIdentificationAssociationType() method in UserHalHelper
362 checkArgument(isValidUserIdentificationAssociationType(association.type), in toUserIdentificationResponse()
461 checkArgument(isValidUserIdentificationAssociationType(type), in toVehiclePropValue()
492 checkArgument(isValidUserIdentificationAssociationType(association.type), in toVehiclePropValue()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHalHelperTest.java375 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(KEY_FOB)).isTrue(); in testIsValidUserIdentificationAssociationType_valid()
376 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(CUSTOM_1)).isTrue(); in testIsValidUserIdentificationAssociationType_valid()
377 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(CUSTOM_2)).isTrue(); in testIsValidUserIdentificationAssociationType_valid()
378 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(CUSTOM_3)).isTrue(); in testIsValidUserIdentificationAssociationType_valid()
379 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(CUSTOM_4)).isTrue(); in testIsValidUserIdentificationAssociationType_valid()
384 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(CUSTOM_4 + 1)).isFalse(); in testIsValidUserIdentificationAssociationType_invalid()