Home
last modified time | relevance | path

Searched refs:KEY_FOB (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java31 import static android.hardware.automotive.vehicle.V2_0.UserIdentificationAssociationType.KEY_FOB;
1068 request.associationTypes.add(KEY_FOB); in testGetUserAssociation_requestWithDuplicatedTypes()
1069 request.associationTypes.add(KEY_FOB); in testGetUserAssociation_requestWithDuplicatedTypes()
1081 propResponse.value.int32Values.add(KEY_FOB); // type only, it's missing value in testGetUserAssociation_invalidResponse()
1103 propResponse.value.int32Values.add(KEY_FOB); in testGetUserAssociation_wrongNumberOfAssociationsOnResponse()
1137 propResponse.value.int32Values.add(KEY_FOB); in testGetUserAssociation_requestIdMismatch()
1153 propResponse.value.int32Values.add(KEY_FOB); in testGetUserAssociation_ok()
1164 assertThat(actualAssociation.type).isEqualTo(KEY_FOB); in testGetUserAssociation_ok()
1204 association1.type = KEY_FOB; in testSetUserAssociation_requestWithDuplicatedTypes()
1316 propResponse.value.int32Values.add(KEY_FOB); in testSetUserAssociation_wrongNumberOfAssociationsOnResponse()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHalHelperTest.java30 import static android.hardware.automotive.vehicle.V2_0.UserIdentificationAssociationType.KEY_FOB;
375 assertThat(UserHalHelper.isValidUserIdentificationAssociationType(KEY_FOB)).isTrue(); in testIsValidUserIdentificationAssociationType_valid()
457 request.associationTypes.add(KEY_FOB); in testUserIdentificationGetRequestToVehiclePropValue_missingRequestId()
470 request.associationTypes.add(KEY_FOB); in testUserIdentificationGetRequestToVehiclePropValue_ok()
477 .containsExactly(1, 42, 108, 2, KEY_FOB, CUSTOM_1).inOrder(); in testUserIdentificationGetRequestToVehiclePropValue_ok()
536 prop.value.int32Values.add(KEY_FOB); in testToUserIdentificationResponse_invalidValue()
549 prop.value.int32Values.add(KEY_FOB); in testToUserIdentificationResponse_ok()
563 assertAssociation(response, 0, KEY_FOB, ASSOCIATED_ANOTHER_USER); in testToUserIdentificationResponse_ok()
871 association1.type = KEY_FOB; in testUserIdentificationSetRequestToVehiclePropValue_invalidValue()
885 association1.type = KEY_FOB; in testUserIdentificationSetRequestToVehiclePropValue_missingRequestId()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java25 import static android.hardware.automotive.vehicle.V2_0.UserIdentificationAssociationType.KEY_FOB;
197 VALID_USER_AUTH_TYPES.put(KEY_FOB, UserIdentificationAssociationType.toString(KEY_FOB)); in VALID_USER_AUTH_TYPES.put() argument
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DUserHalHelper.java289 case UserIdentificationAssociationType.KEY_FOB: in isValidUserIdentificationAssociationType()