Home
last modified time | relevance | path

Searched refs:profileIds (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java108 String[] profileIds = new String[numProfiles]; in sanitizeDB() local
109 profileIds[0] = Long.toString(oldProfileId); in sanitizeDB()
113 profileIds[i] = Long.toString(profileMapping.keyAt(i)); in sanitizeDB()
115 int itemsDeleted = db.delete(Favorites.TABLE_NAME, whereClause.toString(), profileIds); in sanitizeDB()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java514 final Set<Integer> profileIds; in getVpnApps() local
516 profileIds = new ArraySet<>(); in getVpnApps()
518 profileIds.add(profile.getIdentifier()); in getVpnApps()
521 profileIds = Collections.singleton(UserHandle.myUserId()); in getVpnApps()
531 if (!profileIds.contains(userId)) { in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java515 final Set<Integer> profileIds; in getVpnApps() local
517 profileIds = new ArraySet<>(); in getVpnApps()
519 profileIds.add(profile.getIdentifier()); in getVpnApps()
522 profileIds = Collections.singleton(UserHandle.myUserId()); in getVpnApps()
531 if (!profileIds.contains(userId)) { in getVpnApps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUserManager.java126 public void setProfileIdsWithDisabled(int[] profileIds) { in setProfileIdsWithDisabled() argument
127 profileIdsForUser = profileIds; in setProfileIdsWithDisabled()
/packages/apps/Settings/src/com/android/settings/
DUtils.java433 int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId() local
434 for (int profileId : profileIds) { in getManagedProfileId()
690 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner() local
691 if (ArrayUtils.contains(profileIds, userId)) { in enforceSameOwner()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java438 int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId() local
439 for (int profileId : profileIds) { in getManagedProfileId()
695 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner() local
696 if (ArrayUtils.contains(profileIds, userId)) { in enforceSameOwner()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java550 int[] profileIds = mUm.getEnabledProfileIds(currentUser); in isUserAllowedToLaunchActivity() local
551 for (int id : profileIds) { in isUserAllowedToLaunchActivity()