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.java300 int numberAssociations = prop.getInt32Value(1); in toUserIdentificationResponse() local
301 checkArgument(numberAssociations >= 1, "invalid number of items on %s", prop); in toUserIdentificationResponse()
304 checkArgument(numberItems == numberAssociations * 2, "number of items mismatch on %s", in toUserIdentificationResponse()
311 response.numberAssociation = numberAssociations; in toUserIdentificationResponse()
313 ArrayList<UserIdentificationAssociation> associations = new ArrayList<>(numberAssociations); in toUserIdentificationResponse()
314 for (int a = 0; a < numberAssociations; a++) { in toUserIdentificationResponse()
443 checkArgument(request.numberAssociations > 0, in toHalPropValue()
445 checkArgument(request.numberAssociations == request.associations.length, in toHalPropValue()
452 intValues.add(request.numberAssociations); in toHalPropValue()
454 for (int i = 0; i < request.numberAssociations; i++) { in toHalPropValue()
DUserHalService.java658 SparseBooleanArray types = new SparseBooleanArray(request.numberAssociations); in setUserAssociation()
659 for (int i = 0; i < request.numberAssociations; i++) { in setUserAssociation()
679 int[] associationTypes = new int[request.numberAssociations]; in setUserAssociation()
680 int[] associationValues = new int[request.numberAssociations]; in setUserAssociation()
681 for (int i = 0; i < request.numberAssociations; i++) { in setUserAssociation()
689 request.userInfo.userId, request.userInfo.flags, request.numberAssociations, in setUserAssociation()
733 if (response.numberAssociation != request.numberAssociations) { in handleOnUserIdentificationAssociation()
735 + request.numberAssociations + ") for request " + request in handleOnUserIdentificationAssociation()
743 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.java1325 request.numberAssociations = 2; in testSetUserAssociation_requestWithDuplicatedTypes()
1671 request.numberAssociations = 1; in validUserIdentificationSetRequest()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java215 int numberAssociations) { in writeCarUserServiceSetUserAuthReq() argument
217 numberAssociations); in writeCarUserServiceSetUserAuthReq()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1982 int numberAssociations = response.associations.length;
1983 writer.printf("%d associations:\n", numberAssociations);
1984 for (int i = 0; i < numberAssociations; i++) {
2071 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.java1559 request.numberAssociations = types.length; in setUserIdentificationAssociation()