Searched refs:numberAssociations (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | UserHalHelper.java | 344 int numberAssociations = prop.value.int32Values.get(1); in toUserIdentificationResponse() local 345 checkArgument(numberAssociations >= 1, "invalid number of items on %s", prop); in toUserIdentificationResponse() 348 checkArgument(numberItems == numberAssociations * 2, "number of items mismatch on %s", in toUserIdentificationResponse() 355 response.numberAssociation = numberAssociations; in toUserIdentificationResponse() 357 for (int a = 0; a < numberAssociations; a++) { in toUserIdentificationResponse() 479 checkArgument(request.numberAssociations > 0, in toVehiclePropValue() 481 checkArgument(request.numberAssociations == request.associations.size(), in toVehiclePropValue() 488 propValue.value.int32Values.add(request.numberAssociations); in toVehiclePropValue() 490 for (int i = 0; i < request.numberAssociations; i++) { in toVehiclePropValue()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | UserHalService.java | 611 SparseBooleanArray types = new SparseBooleanArray(request.numberAssociations); in setUserAssociation() 612 for (int i = 0; i < request.numberAssociations; i++) { in setUserAssociation() 632 int[] associationTypes = new int[request.numberAssociations]; in setUserAssociation() 633 int[] associationValues = new int[request.numberAssociations]; in setUserAssociation() 634 for (int i = 0; i < request.numberAssociations; i++) { in setUserAssociation() 642 request.userInfo.userId, request.userInfo.flags, request.numberAssociations, in setUserAssociation() 684 if (response.numberAssociation != request.numberAssociations) { in handleOnUserIdentificationAssociation() 686 + request.numberAssociations + ") for request " + request in handleOnUserIdentificationAssociation() 694 for (int i = 0; i < request.numberAssociations; i++) { in handleOnUserIdentificationAssociation()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | UserHalHelperTest.java | 846 request.numberAssociations = 1; in testUserIdentificationSetRequestToVehiclePropValue_wrongNumberOfAssociations() 855 request.numberAssociations = 1; in testUserIdentificationSetRequestToVehiclePropValue_invalidType() 868 request.numberAssociations = 1; in testUserIdentificationSetRequestToVehiclePropValue_invalidValue() 883 request.numberAssociations = 1; in testUserIdentificationSetRequestToVehiclePropValue_missingRequestId() 899 request.numberAssociations = 2; in testUserIdentificationSetRequestToVehiclePropValue_ok()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 1293 int numberAssociations = response.associations.size(); 1294 writer.printf("%d associations:\n", numberAssociations); 1295 for (int i = 0; i < numberAssociations; i++) { 1378 request.numberAssociations = requestSize;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 1202 request.numberAssociations = 2; in testSetUserAssociation_requestWithDuplicatedTypes() 1512 request.numberAssociations = 1; in validUserIdentificationSetRequest()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 1164 request.numberAssociations = types.length; in setUserIdentificationAssociation()
|