Searched refs:profileIds (Results 1 – 9 of 9) sorted by relevance
89 final Set<Integer> profileIds = new HashSet<>(); in updateState_workProfile_shouldShowOnlyWorkProfileApps() local90 profileIds.add(4); in updateState_workProfile_shouldShowOnlyWorkProfileApps()91 profileIds.add(5); in updateState_workProfile_shouldShowOnlyWorkProfileApps()92 mUserManager.setManagedProfiles(profileIds); in updateState_workProfile_shouldShowOnlyWorkProfileApps()105 final Set<Integer> profileIds = new HashSet<>(); in updateState_Personal_shouldShowOnlyPersonalApps() local107 profileIds.add(i); in updateState_Personal_shouldShowOnlyPersonalApps()109 mUserManager.setManagedProfiles(profileIds); in updateState_Personal_shouldShowOnlyPersonalApps()
97 final Set<Integer> profileIds = new HashSet<>(); in getTabId_setWorkId_getCorrectTab() local98 profileIds.add(10); in getTabId_setWorkId_getCorrectTab()99 mUserManager.setManagedProfiles(profileIds); in getTabId_setWorkId_getCorrectTab()114 final Set<Integer> profileIds = new HashSet<>(); in getTabId_setPersonalIdByIntent_getCorrectTab() local115 profileIds.add(10); in getTabId_setPersonalIdByIntent_getCorrectTab()116 mUserManager.setManagedProfiles(profileIds); in getTabId_setPersonalIdByIntent_getCorrectTab()
142 public void setProfileIdsWithDisabled(int[] profileIds) { in setProfileIdsWithDisabled() argument143 profileIdsForUser = profileIds; in setProfileIdsWithDisabled()156 public void setManagedProfiles(Set<Integer> profileIds) { in setManagedProfiles() argument158 mManagedProfiles.addAll(profileIds); in setManagedProfiles()
159 String[] profileIds = new String[numProfiles]; in sanitizeDB() local160 profileIds[0] = Long.toString(oldProfileId); in sanitizeDB()162 profileIds[i] = Long.toString(profileMapping.keyAt(i)); in sanitizeDB()164 final String[] args = new String[profileIds.length]; in sanitizeDB()167 int itemsDeleted = db.delete(Favorites.TABLE_NAME, where, profileIds); in sanitizeDB()
516 final Set<Integer> profileIds; in getVpnApps() local518 profileIds = new ArraySet<>(); in getVpnApps()520 profileIds.add(profile.getIdentifier()); in getVpnApps()523 profileIds = Collections.singleton(UserHandle.myUserId()); in getVpnApps()533 if (!profileIds.contains(userId)) { in getVpnApps()
76 final int[] profileIds = mUm.getProfileIdsWithDisabled(UserHandle.myUserId()); in RedactNotificationPreferenceController() local78 for (int profileId : profileIds) { in RedactNotificationPreferenceController()
304 final int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId() local305 for (int profileId : profileIds) { in getManagedProfileId()
589 int[] profileIds = mUm.getEnabledProfileIds(currentUser); in isUserAllowedToLaunchActivity() local592 if (profileIds == null) { in isUserAllowedToLaunchActivity()595 for (int id : profileIds) { in isUserAllowedToLaunchActivity()
462 final int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId() local463 for (int profileId : profileIds) { in getManagedProfileId()719 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner() local720 if (ArrayUtils.contains(profileIds, userId)) { in enforceSameOwner()