Searched refs:newUserType (Results 1 – 3 of 3) sorted by relevance
412 UserTypeDetails newUserType = newUserTypeBuilder.createUserTypeDetails(); in testUpgradeProfileType_updateTypeAndFlags() local414 mUserManagerService.upgradeProfileToTypeLU(userInfo, newUserType); in testUpgradeProfileType_updateTypeAndFlags()454 UserTypeDetails newUserType = newUserTypeBuilder.createUserTypeDetails(); in testUpgradeProfileType_updateRestrictions() local456 mUserManagerService.upgradeProfileToTypeLU(userInfo, newUserType); in testUpgradeProfileType_updateRestrictions()
3596 final String newUserType; in emulateSystemUserModeIfNeeded() local3601 newUserType = UserManager.USER_TYPE_FULL_SYSTEM; in emulateSystemUserModeIfNeeded()3605 if (systemUserData.info.userType.equals(newUserType)) { in emulateSystemUserModeIfNeeded()3607 + "%s, returning", newUserType); in emulateSystemUserModeIfNeeded()3612 systemUserData.info.userType, newUserType, in emulateSystemUserModeIfNeeded()3615 systemUserData.info.userType = newUserType; in emulateSystemUserModeIfNeeded()4000 if (newUserType == null) { in upgradeUserTypesLU()4024 + " to " + newUserType.getName()); in upgradeProfileToTypeLU()4037 + newUserType.getMaxAllowedPerParent()); in upgradeProfileToTypeLU()4050 userInfo.userType = newUserType.getName(); in upgradeProfileToTypeLU()[all …]
2928 String newUserType = null; in runCreateUser() local2933 newUserType = UserManager.USER_TYPE_PROFILE_MANAGED; in runCreateUser()2935 newUserType = UserManager.USER_TYPE_FULL_RESTRICTED; in runCreateUser()2937 newUserType = UserManager.USER_TYPE_FULL_GUEST; in runCreateUser()2939 newUserType = UserManager.USER_TYPE_FULL_DEMO; in runCreateUser()2947 newUserType = getNextArgRequired(); in runCreateUser()2953 if (newUserType != null) { in runCreateUser()2954 if (userType != null && !userType.equals(newUserType)) { in runCreateUser()2956 + userType + " and " + newUserType + ")"); in runCreateUser()2959 userType = newUserType; in runCreateUser()