Home
last modified time | relevance | path

Searched refs:numberAssociations (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java309 int numberAssociations = prop.getInt32Value(1); in toUserIdentificationResponse() local
310 checkArgument(numberAssociations >= 1, "invalid number of items on %s", prop); in toUserIdentificationResponse()
313 checkArgument(numberItems == numberAssociations * 2, "number of items mismatch on %s", in toUserIdentificationResponse()
320 response.numberAssociation = numberAssociations; in toUserIdentificationResponse()
322 ArrayList<UserIdentificationAssociation> associations = new ArrayList<>(numberAssociations); in toUserIdentificationResponse()
323 for (int a = 0; a < numberAssociations; a++) { in toUserIdentificationResponse()
452 checkArgument(request.numberAssociations > 0, in toHalPropValue()
454 checkArgument(request.numberAssociations == request.associations.length, in toHalPropValue()
461 intValues.add(request.numberAssociations); in toHalPropValue()
463 for (int i = 0; i < request.numberAssociations; i++) { in toHalPropValue()
DUserHalService.java657 SparseBooleanArray types = new SparseBooleanArray(request.numberAssociations); in setUserAssociation()
658 for (int i = 0; i < request.numberAssociations; i++) { in setUserAssociation()
678 int[] associationTypes = new int[request.numberAssociations]; in setUserAssociation()
679 int[] associationValues = new int[request.numberAssociations]; in setUserAssociation()
680 for (int i = 0; i < request.numberAssociations; i++) { in setUserAssociation()
688 request.userInfo.userId, request.userInfo.flags, request.numberAssociations, in setUserAssociation()
732 if (response.numberAssociation != request.numberAssociations) { in handleOnUserIdentificationAssociation()
734 + request.numberAssociations + ") for request " + request in handleOnUserIdentificationAssociation()
742 for (int i = 0; i < request.numberAssociations; i++) { in handleOnUserIdentificationAssociation()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java871 request.numberAssociations = 1; in testUserIdentificationSetRequestToHalPropValue_wrongNumberOfAssociations()
880 request.numberAssociations = 1; in testUserIdentificationSetRequestToHalPropValue_invalidType()
893 request.numberAssociations = 1; in testUserIdentificationSetRequestToHalPropValue_invalidValue()
908 request.numberAssociations = 1; in testUserIdentificationSetRequestToHalPropValue_missingRequestId()
924 request.numberAssociations = 2; in testUserIdentificationSetRequestToHalPropValue_ok()
DUserHalServiceTest.java1526 request.numberAssociations = 2; in testSetUserAssociation_requestWithDuplicatedTypes()
1952 request.numberAssociations = 1; in validUserIdentificationSetRequest()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java179 int numberAssociations) { in writeCarUserServiceSetUserAuthReq() argument
181 numberAssociations); in writeCarUserServiceSetUserAuthReq()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java2760 int numberAssociations = response.associations.length;
2761 writer.printf("%d associations:\n", numberAssociations);
2762 for (int i = 0; i < numberAssociations; i++) {
2849 request.numberAssociations = requestSize;
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt169 …hod TIRAMISU_0 void writeCarUserServiceSetUserAuthReq(int uid, int userId, int numberAssociations);
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1633 request.numberAssociations = types.length; in setUserIdentificationAssociation()