Home
last modified time | relevance | path

Searched defs:newUser (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DAddNewProfileTaskTest.java84 UserInfo newUser = new UserInfo(mNewUserId, newUserName, /* flags= */ 0); in createNewUser_success() local
98 UserInfo newUser = new UserInfo(mNewUserId, newUserName, /* flags= */ 0); in userCreated_switchToNewUser() local
112 UserInfo newUser = new UserInfo(mNewUserId, newUserName, /* flags= */ 0); in userCreated_successCalled() local
140 UserInfo newUser = new UserInfo(mNewUserId, newUserName, /* flags= */ 0); in userCreatedOnPassenger_success_stopsAndStartsUser() local
168 UserInfo newUser = new UserInfo(mNewUserId, newUserName, /* flags= */ 0); in userCreatedOnPassenger_failure_doesNotStartUser() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java398 UserHandle newUser = expectRegularUserExists(mMockedUserHandleHelper, USER_ID); in testCreateUser_ok_noflags() local
416 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testCreateUser_ok_admin() local
434 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testCreateUser_ok_admin_setLocale() local
599 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testDefaultBehavior_firstBoot_ok() local
614 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testDefaultBehavior_firstBoot_ok_setLocale() local
632 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testDefaultBehavior_firstBoot_ok_setEmptyLocale() local
650 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testDefaultBehavior_firstBoot_ok_setBlankLocale() local
741 UserHandle newUser = expectAdminUserExists(mMockedUserHandleHelper, USER_ID); in testDefaultBehavior_nonFirstBoot_ok_targetIsCurrentUserWhichIsEphemeral() local
DCarUserServiceTest.java1955 UserHandle newUser = UserHandle.of(42); in testCreateUser_internalHalFailure() local
1975 UserHandle newUser = UserHandle.of(42); in testCreateUser_halFailure() local
1996 UserHandle newUser = UserHandle.of(42); in testCreateUser_halTimeout() local
2017 UserHandle newUser = UserHandle.of(42); in testCreateUser_halServiceThrowsRuntimeException() local
2104 UserHandle newUser = result.getUser(); in testCreateUser_success() local
2138 UserHandle newUser = result.getUser(); in testCreateUser_guest_success() local
2238 UserHandle newUser = result.getUser(); in testCreateUser_success_nullName() local
2452 UserHandle newUser = expectRegularUserExists(mMockedUserHandleHelper, TEST_USER_ID); in testStartUserInBackground_success() local
2489 UserHandle newUser = expectRegularUserExists(mMockedUserHandleHelper, TEST_USER_ID); in testStartUserInBackground_currentUser() local
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java99 public static UserInfo newUser(@UserIdInt int userId) { in newUser() method in UserTestingHelper
108 public static UserInfo newUser(@UserIdInt int userId, @NonNull String userName) { in newUser() method in UserTestingHelper
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java494 UserHandle newUser = result.getUser(); in testCreateUser_success() local
512 UserHandle newUser = result.getUser(); in testCreateUserId_success() local
594 UserHandle newUser = result.getUser(); in testCreateGuest_success() local
829 UserInfo newUser = new UserTestingHelper.UserInfoBuilder(108) in expectServiceCreateUserSucceeds() local
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewControllerTest.java198 int newUser = 999; in onUserChanged_unregisterRegisterReceiver() local
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerTest.java94 UserInfo newUser = createUser("DaNewUserInTheBlock"); in testCreateUser() local
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java661 private void openUserDetails(UserInfo userInfo, boolean newUser) { in openUserDetails()
665 private void openUserDetails(UserInfo userInfo, boolean newUser, Context context) { in openUserDetails()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java247 public static void prepareArgs(@NonNull Bundle bundle, int userId, boolean newUser, in prepareArgs()
254 public static AppRestrictionsFragment newInstance(int userId, boolean newUser, in newInstance()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java211 UserHandle newUser = null; in loadDefaultsFromSettings() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DIdleServiceTest.java403 final UserHandle newUser = userManager.createUser(newUserRequest).getUser(); in createNewUser() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java408 private void assertUserRemoved(int expectedResult, UserInfo newUser, UserInfo removedUser) { in assertUserRemoved()
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java400 UserHandle newUser = replaceGuestIfNeeded(currentUser); in replaceUser() local
DCarUserService.java1433 UserHandle newUser; in handleCreateUser() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java659 UserHandle newUser = new UserHandle(13); in testBindToService_UserAssociatedWithCallSecondary_NonEmergCallECBM_BindsToSecondaryUser() local
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/
DSdkSandboxStorageHostTest.java168 final int newUser = mUserUtils.createAndStartSecondaryUser(); in testSdkDataRootDirectory_IsDestroyedOnUserDeletion() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java594 UserInfo newUser = actualResponse.userToSwitchOrCreate; in testGetUserInfo_successCreateUser() local