Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java109 String[] profileIds = new String[numProfiles]; in sanitizeDB() local
110 profileIds[0] = Long.toString(oldProfileId); in sanitizeDB()
114 profileIds[i] = Long.toString(profileMapping.keyAt(i)); in sanitizeDB()
116 int itemsDeleted = db.delete(Favorites.TABLE_NAME, whereClause.toString(), profileIds); in sanitizeDB()
/packages/apps/Settings/src/com/android/settings/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/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()