Searched refs:profileUserId (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 531 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 131 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()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerInternal.java | 314 @UserIdInt int parentUserId, @UserIdInt int profileUserId); in setDefaultCrossProfileIntentFilters() argument
|
D | UserManagerService.java | 3799 @UserIdInt int profileUserId, UserTypeDetails profileDetails, in setDefaultCrossProfileIntentFilters() 3824 filter.filter, mContext.getOpPackageName(), profileUserId, parentUserId, in setDefaultCrossProfileIntentFilters() 3828 filter.filter, mContext.getOpPackageName(), parentUserId, profileUserId, in setDefaultCrossProfileIntentFilters() 5713 @UserIdInt int parentUserId, @UserIdInt int profileUserId) { in setDefaultCrossProfileIntentFilters() argument 5714 final UserTypeDetails userTypeDetails = getUserTypeDetailsNoChecks(profileUserId); in setDefaultCrossProfileIntentFilters() 5715 final Bundle restrictions = getEffectiveUserRestrictions(profileUserId); in setDefaultCrossProfileIntentFilters() 5717 profileUserId, userTypeDetails, restrictions, parentUserId); in setDefaultCrossProfileIntentFilters()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1949 int profileUserId = profiles.get(i).id; 1953 intent.putExtra(Intent.EXTRA_USER_HANDLE, profileUserId); 1956 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(profileUserId)); 1960 profileUserId); 1968 int profileUserId = profiles.get(i).id; 1972 intent.putExtra(Intent.EXTRA_USER_HANDLE, profileUserId); 1975 intent.putExtra(Intent.EXTRA_USER, UserHandle.of(profileUserId)); 1979 profileUserId);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4637 final int profileUserId = caller.getUserId(); 4638 Preconditions.checkCallingUser(isManagedProfile(profileUserId)); 4643 final int parentUser = getProfileParentId(profileUserId); 16528 private void triggerPolicyComplianceCheckIfNeeded(int profileUserId, boolean suspended) { 16530 final ActiveAdmin profileOwner = getProfileOwnerAdminLocked(profileUserId); 16539 mContext.startActivityAsUser(intent, UserHandle.of(profileUserId)); 16555 private boolean updatePersonalAppsSuspension(int profileUserId, boolean unlocked) { 16558 final ActiveAdmin profileOwner = getProfileOwnerAdminLocked(profileUserId); 16561 updateProfileOffDeadlineLocked(profileUserId, profileOwner, unlocked); 16568 profileUserId, profileOwner, notificationState); [all …]
|