/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | AddNewProfileTaskTest.java | 84 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/ |
D | InitialUserSetterTest.java | 398 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
|
D | CarUserServiceTest.java | 1955 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/ |
D | UserTestingHelper.java | 99 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/ |
D | CarUserManagerUnitTest.java | 494 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/ |
D | StatusIconPanelViewControllerTest.java | 198 int newUser = 999; in onUserChanged_unregisterRegisterReceiver() local
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUserManagerTest.java | 94 UserInfo newUser = createUser("DaNewUserInTheBlock"); in testCreateUser() local
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserSettings.java | 661 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/ |
D | AppRestrictionsFragment.java | 247 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/ |
D | PreferredServices.java | 211 UserHandle newUser = null; in loadDefaultsFromSettings() local
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IdleServiceTest.java | 403 final UserHandle newUser = userManager.createUser(newUserRequest).getUser(); in createNewUser() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/ |
D | ProfileHelperTest.java | 408 private void assertUserRemoved(int expectedResult, UserInfo newUser, UserInfo removedUser) { in assertUserRemoved()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | InitialUserSetter.java | 400 UserHandle newUser = replaceGuestIfNeeded(currentUser); in replaceUser() local
|
D | CarUserService.java | 1433 UserHandle newUser; in handleCreateUser() local
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallControllerTests.java | 659 UserHandle newUser = new UserHandle(13); in testBindToService_UserAssociatedWithCallSecondary_NonEmergCallECBM_BindsToSecondaryUser() local
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/src/com/android/tests/sdksandbox/host/ |
D | SdkSandboxStorageHostTest.java | 168 final int newUser = mUserUtils.createAndStartSecondaryUser(); in testSdkDataRootDirectory_IsDestroyedOnUserDeletion() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 594 UserInfo newUser = actualResponse.userToSwitchOrCreate; in testGetUserInfo_successCreateUser() local
|