Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java300 public void setFilters(int parentUserId, int managedProfileUserId) { in setFilters() argument
313 parentUserId, filter.flags); in setFilters()
315 mPackageManager.addCrossProfileIntentFilter(filter.filter, parentUserId, in setFilters()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java853 private void removeManagedProfileFingerprintsAndFinishIfNecessary(final int parentUserId, in removeManagedProfileFingerprintsAndFinishIfNecessary() argument
859 if (!mUserManager.getUserInfo(parentUserId).isManagedProfile()) { in removeManagedProfileFingerprintsAndFinishIfNecessary()
861 final List<UserInfo> profiles = mUserManager.getProfiles(parentUserId); in removeManagedProfileFingerprintsAndFinishIfNecessary()
908 private void removeManagedProfileFacesAndFinishIfNecessary(final int parentUserId, in removeManagedProfileFacesAndFinishIfNecessary() argument
914 if (!mUserManager.getUserInfo(parentUserId).isManagedProfile()) { in removeManagedProfileFacesAndFinishIfNecessary()
916 final List<UserInfo> profiles = mUserManager.getProfiles(parentUserId); in removeManagedProfileFacesAndFinishIfNecessary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java842 private void removeManagedProfileFingerprintsAndFinishIfNecessary(final int parentUserId, in removeManagedProfileFingerprintsAndFinishIfNecessary() argument
848 if (!mUserManager.getUserInfo(parentUserId).isManagedProfile()) { in removeManagedProfileFingerprintsAndFinishIfNecessary()
850 final List<UserInfo> profiles = mUserManager.getProfiles(parentUserId); in removeManagedProfileFingerprintsAndFinishIfNecessary()
897 private void removeManagedProfileFacesAndFinishIfNecessary(final int parentUserId, in removeManagedProfileFacesAndFinishIfNecessary() argument
903 if (!mUserManager.getUserInfo(parentUserId).isManagedProfile()) { in removeManagedProfileFacesAndFinishIfNecessary()
905 final List<UserInfo> profiles = mUserManager.getProfiles(parentUserId); in removeManagedProfileFacesAndFinishIfNecessary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUtils.java94 protected static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() argument
/packages/apps/Settings/src/com/android/settings/
DUtils.java432 public static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() argument
433 int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
435 if (profileId != parentUserId) { in getManagedProfileId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java437 public static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() argument
438 int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
440 if (profileId != parentUserId) { in getManagedProfileId()