Searched refs:communalProfile (Results 1 – 3 of 3) sorted by relevance
54 final int communalProfile = mUmi.getCommunalProfileId(); in createCommunalProfileIfNeeded() local55 if (communalProfile != UserHandle.USER_NULL) { in createCommunalProfileIfNeeded()56 Slogf.d(TAG, "Found existing Communal Profile, userId=%d", communalProfile); in createCommunalProfileIfNeeded()75 final int communalProfile = umi.getCommunalProfileId(); in removeCommunalProfileIfPresent() local76 if (communalProfile == UserHandle.USER_NULL) { in removeCommunalProfileIfPresent()79 Slogf.d(TAG, "Removing existing Communal Profile, userId=%d", communalProfile); in removeCommunalProfileIfPresent()80 final boolean removeSucceeded = umi.removeUserEvenWhenDisallowed(communalProfile); in removeCommunalProfileIfPresent()82 Slogf.e(TAG, "Failed to remove Communal Profile, userId=%d", communalProfile); in removeCommunalProfileIfPresent()
129 UserHandle communalProfile = mUserManager.getCommunalProfile(); in removeExistingUsers() local130 int communalProfileId = communalProfile != null in removeExistingUsers()131 ? communalProfile.getIdentifier() : UserHandle.USER_NULL; in removeExistingUsers()294 final UserHandle communalProfile = mUserManager.getCommunalProfile(); in testGetProfilesIncludingCommunal() local302 if (communalProfile != null) mainsExpected.add(communalProfile.getIdentifier()); in testGetProfilesIncludingCommunal()309 if (communalProfile != null) othersExpected.add(communalProfile.getIdentifier()); in testGetProfilesIncludingCommunal()
5299 final UserHandle communalProfile = getCommunalProfile(); in getProfilesIncludingCommunal() local5300 if (communalProfile != null) { in getProfilesIncludingCommunal()5301 final UserInfo communalInfo = getUserInfo(communalProfile.getIdentifier()); in getProfilesIncludingCommunal()