Searched refs:userProfileId (Results 1 – 4 of 4) sorted by relevance
155 int userProfileId = userProfileHandle.getIdentifier(); in fromUser() local157 if (UserUtils.isManagedProfile(userProfileId, context)) { in fromUser()158 managedProfilesUserIds[managedProfilesUserIdsLen++] = userProfileId; in fromUser()159 if (UserUtils.isProfileRunning(userProfileId, context)) { in fromUser()161 userProfileId; in fromUser()163 } else if (UserUtils.isPrivateProfile(userProfileId, context)) { in fromUser()164 privateProfileUserId = userProfileId; in fromUser()165 privateProfileRunning = UserUtils.isProfileRunning(userProfileId, context); in fromUser()
88 public void setUserProfileId(@NonNull final UUID userProfileId) { in setUserProfileId() argument89 Objects.requireNonNull(userProfileId); in setUserProfileId()91 mSharedPreferences.edit().putString(USER_PROFILE_ID_KEY, userProfileId.toString()).commit(); in setUserProfileId()
38 void setUserProfileId(@NonNull UUID userProfileId); in setUserProfileId() argument
1083 public void removeUser(int userProfileId) { in removeUser() argument1089 mUserManager.removeUserEvenWhenDisallowed(userProfileId); in removeUser()