Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalHelperTest.java287 infos.numberUsers = 1; in testAddUsersInfo_mismatchNumberUsers()
300 infos.numberUsers = 1; in testAddUsersInfo_success()
997 request.usersInfo.numberUsers = 1; in testRemoveUserRequestToHalPropValue_ok()
1078 request.usersInfo.numberUsers = 1; in testCreateUserRequestToHalPropValue_nullNewUserName()
1131 request.usersInfo.numberUsers = 3; in testCreateUserRequestToHalPropValue_ok()
1200 request.usersInfo.numberUsers = 1; in testSwitchUserRequestToHalPropValue_missingMessageType()
1216 request.usersInfo.numberUsers = 1; in testSwitchUserRequestToHalPropValue_incorrectMessageType()
1233 request.usersInfo.numberUsers = 1; in tesSwitchUserRequestToHalPropValue_ok()
1292 assertThat(usersInfo.numberUsers).isEqualTo(3); in testNewUsersInfo_ok()
1317 assertThat(usersInfo.numberUsers).isEqualTo(2); in testNewUsersInfo_currentUser_ok()
[all …]
DUserHalServiceTest.java201 mUsersInfo.numberUsers = 2; in setFixtures()
1793 .hasSize(initialIndex + 3 + info.numberUsers * 2); in assertUsersInfo()
1803 .isEqualTo(info.numberUsers); in assertUsersInfo()
1806 for (int j = 0; j < info.numberUsers; j++) { in assertUsersInfo()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalHelper.java225 checkArgument(usersInfo.numberUsers == usersInfo.existingUsers.length, in addUsersInfo()
227 usersInfo.numberUsers, usersInfo.existingUsers.length); in addUsersInfo()
230 intValues.add(usersInfo.numberUsers); in addUsersInfo()
231 for (int i = 0; i < usersInfo.numberUsers; i++) { in addUsersInfo()
623 usersInfo.numberUsers = existingUsersSize; in newUsersInfo()
645 Preconditions.checkArgument(usersInfo.numberUsers == usersInfo.existingUsers.length, in checkValid()
646 "sizes mismatch: numberUsers=%d, existingUsers.size=%d", usersInfo.numberUsers, in checkValid()
650 for (int i = 0; i < usersInfo.numberUsers; i++) { in checkValid()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DUserInstanceManager.java198 int numberUsers = perUserDumpHelpers.size(); in dumpPerUserManagers() local
199 if (numberUsers == 0) { in dumpPerUserManagers()
202 writer.printf("%s%d users:\n", prefix, numberUsers); in dumpPerUserManagers()
204 for (int i = 0; i < numberUsers; i++) { in dumpPerUserManagers()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java234 public static void writeCarUserServicePreCreationRequested(int numberUsers, int numberGuests) { in writeCarUserServicePreCreationRequested() argument
235 EventLog.writeEvent(EventLogTags.CAR_USER_SVC_PRE_CREATION_REQUESTED, numberUsers, in writeCarUserServicePreCreationRequested()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java956 assertThat(actual.numberUsers).isEqualTo(mExistingUsers.size()); in assertDefaultUsersInfo()
957 for (int i = 0; i < actual.numberUsers; i++) { in assertDefaultUsersInfo()
1004 infos.numberUsers = mExistingUsers.size(); in newUsersInfo()
1006 infos.existingUsers = new android.hardware.automotive.vehicle.UserInfo[infos.numberUsers]; in newUsersInfo()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt179 … method TIRAMISU_0 void writeCarUserServicePreCreationRequested(int numberUsers, int numberGuests);
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java766 usersInfo.numberUsers); in initBootUser()