Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java349 assertThat(UserHalHelper.isValidUserIdentificationAssociationValue(ASSOCIATED_ANOTHER_USER)) in testIsValidUserIdentificationAssociationValue_valid()
351 assertThat(UserHalHelper.isValidUserIdentificationAssociationValue(ASSOCIATED_CURRENT_USER)) in testIsValidUserIdentificationAssociationValue_valid()
353 assertThat(UserHalHelper.isValidUserIdentificationAssociationValue(NOT_ASSOCIATED_ANY_USER)) in testIsValidUserIdentificationAssociationValue_valid()
355 assertThat(UserHalHelper.isValidUserIdentificationAssociationValue(UNKNOWN)).isTrue(); in testIsValidUserIdentificationAssociationValue_valid()
360 assertThat(UserHalHelper.isValidUserIdentificationAssociationValue(0)).isFalse(); in testIsValidUserIdentificationAssociationValue_invalid()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java265 public static boolean isValidUserIdentificationAssociationValue(int value) { in isValidUserIdentificationAssociationValue() method in UserHalHelper
332 checkArgument(isValidUserIdentificationAssociationValue(association.value), in toUserIdentificationResponse()