Home
last modified time | relevance | path

Searched refs:profileUserId (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/location/
H A DLocationInjectedServiceBasePreferenceController.java114 final int profileUserId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices() local
117 (profileUserId != UserHandle.USER_NULL in getLocationServices()
118 && mLocationEnabler.getShareLocationEnforcedAdmin(profileUserId) != null) in getLocationServices()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java531 private void prepareAdmin1AsPo(int profileUserId, int targetSdk) throws Exception { in prepareAdmin1AsPo() argument
532 preparePo(profileUserId, admin1, R.raw.comp_profile_owner_same_package, in prepareAdmin1AsPo()
536 private void prepareAdminAnotherPackageAsPo(int profileUserId) throws Exception { in prepareAdminAnotherPackageAsPo() argument
537 preparePo(profileUserId, adminAnotherPackage, R.raw.comp_profile_owner_another_package, in prepareAdminAnotherPackageAsPo()
542 private void preparePo(int profileUserId, ComponentName admin, int profileOwnerXmlResId, in preparePo() argument
544 final File profileDir = getServices().addUser(profileUserId, 0, in preparePo()
546 setUpPackageManagerForFakeAdmin(admin, UserHandle.getUid(profileUserId, adminAppId), in preparePo()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DCrossProfileAppsServiceImplTest.java131 int profileUserId = -1; in setupEnabledProfiles()
133 profileUserId = PROFILE_OF_PRIMARY_USER; in setupEnabledProfiles()
135 profileUserId = PRIMARY_USER; in setupEnabledProfiles()
138 if (profileUserId != -1 && mUserEnabled.get(profileUserId)) { in setupEnabledProfiles()
139 users.add(profileUserId); in setupEnabledProfiles()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DRestrictedListPreference.java124 public void setProfileUserId(int profileUserId) { in setProfileUserId() argument
125 mProfileUserId = profileUserId; in setProfileUserId()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerInternal.java314 @UserIdInt int parentUserId, @UserIdInt int profileUserId); in setDefaultCrossProfileIntentFilters() argument
H A DUserManagerService.java3800 @UserIdInt int profileUserId, UserTypeDetails profileDetails, in setDefaultCrossProfileIntentFilters()
3825 filter.filter, mContext.getOpPackageName(), profileUserId, parentUserId, in setDefaultCrossProfileIntentFilters()
3829 filter.filter, mContext.getOpPackageName(), parentUserId, profileUserId, in setDefaultCrossProfileIntentFilters()
5718 @UserIdInt int parentUserId, @UserIdInt int profileUserId) { in setDefaultCrossProfileIntentFilters() argument
5719 final UserTypeDetails userTypeDetails = getUserTypeDetailsNoChecks(profileUserId); in setDefaultCrossProfileIntentFilters()
5720 final Bundle restrictions = getEffectiveUserRestrictions(profileUserId); in setDefaultCrossProfileIntentFilters()
5722 profileUserId, userTypeDetails, restrictions, parentUserId); in setDefaultCrossProfileIntentFilters()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DRootWindowContainerTests.java1012 final int profileUserId = UserHandle.getUserId(profileUid); in testLockAllProfileTasks() local
1025 mWm.mRoot.lockAllProfileTasks(profileUserId); in testLockAllProfileTasks()
1026 verify(controller).notifyTaskProfileLocked(eq(task.mTaskId), eq(profileUserId)); in testLockAllProfileTasks()
1035 mWm.mRoot.lockAllProfileTasks(profileUserId); in testLockAllProfileTasks()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java1982 int profileUserId = profiles.get(i).id;
1986 intent.putExtra(Intent.EXTRA_USER_HANDLE, profileUserId);
1989 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(profileUserId));
1993 profileUserId);
2001 int profileUserId = profiles.get(i).id;
2005 intent.putExtra(Intent.EXTRA_USER_HANDLE, profileUserId);
2008 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(profileUserId));
2012 profileUserId);
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DChooseLockGeneric.java399 int profileUserId = Utils.getManagedProfileId(mUserManager, mUserId); in addHeaderView() local
401 && profileUserId != UserHandle.USER_NULL) { in addHeaderView()
406 extras.putInt(Intent.EXTRA_USER_ID, profileUserId); in addHeaderView()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java4691 final int profileUserId = caller.getUserId();
4692 Preconditions.checkCallingUser(isManagedProfile(profileUserId));
4697 final int parentUser = getProfileParentId(profileUserId);
16855 mContext.startActivityAsUser(intent, UserHandle.of(profileUserId));
16884 profileUserId, profileOwner, notificationState);
16891 final int parentUserId = getProfileParentId(profileUserId);
16902 int profileUserId, ActiveAdmin profileOwner, boolean unlocked) {
16909 saveSettingsLocked(profileUserId);
16937 saveSettingsLocked(profileUserId);
17014 int profileUserId, ActiveAdmin profileOwner, int notificationState) {
[all …]