Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java443 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerComponent() local
444 return profileOwner != null ? profileOwner.admin : null; in getProfileOwnerComponent()
450 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerName() local
451 return profileOwner != null ? profileOwner.name : null; in getProfileOwnerName()
457 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerPackage() local
458 return profileOwner != null ? profileOwner.packageName : null; in getProfileOwnerPackage()
468 OwnerInfo profileOwner = mProfileOwners.get(userId); in isProfileOwnerOfOrganizationOwnedDevice() local
469 return profileOwner != null ? profileOwner.isOrganizationOwnedDevice : false; in isProfileOwnerOfOrganizationOwnedDevice()
587 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerUserRestrictionsNeedsMigration() local
588 return profileOwner != null && !profileOwner.userRestrictionsMigrated; in getProfileOwnerUserRestrictionsNeedsMigration()
[all …]
DDevicePolicyManagerService.java2198 final ActiveAdmin profileOwner = getProfileOwnerAdminLocked(userId); in maybeSetDefaultProfileOwnerUserRestrictions() local
2203 if (profileOwner == null || !mUserManager.isManagedProfile(userId)) { in maybeSetDefaultProfileOwnerUserRestrictions()
2206 maybeSetDefaultRestrictionsForAdminLocked(userId, profileOwner, in maybeSetDefaultProfileOwnerUserRestrictions()
2209 userId, profileOwner, false /* newOwner */); in maybeSetDefaultProfileOwnerUserRestrictions()
2219 ActiveAdmin profileOwner, boolean newOwner) { in ensureUnknownSourcesRestrictionForProfileOwnerLocked() argument
2222 profileOwner.ensureUserRestrictions().putBoolean( in ensureUnknownSourcesRestrictionForProfileOwnerLocked()
2607 final ActiveAdmin profileOwner = getProfileOwnerLocked(caller); in getOrganizationOwnedProfileOwnerLocked() local
2612 profileOwner.info.getComponent()); in getOrganizationOwnedProfileOwnerLocked()
2614 return profileOwner; in getOrganizationOwnedProfileOwnerLocked()
3793 ComponentName profileOwner = getProfileOwnerAsUser(userHandle);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java750 final ComponentName profileOwner =
753 if (profileOwner == null) {
756 return profileOwner.getPackageName().equals(packageName);
DUserManagerService.java5052 String profileOwner = ""; in runList() local
5061 profileOwner = " (profile-owner)"; in runList()
5075 deviceOwner, profileOwner, in runList()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java8245 ComponentName profileOwner = mService.getProfileOwnerAsUser(myUserId()); in isProfileOwnerApp() local
8246 return profileOwner != null in isProfileOwnerApp()
8247 && profileOwner.getPackageName().equals(packageName); in isProfileOwnerApp()
9434 @NonNull ComponentName profileOwner, @Nullable PersistableBundle adminExtras, in createAndManageUser() argument
9438 return mService.createAndManageUser(admin, name, profileOwner, adminExtras, flags); in createAndManageUser()
DIDevicePolicyManager.aidl257 …eAndManageUser(in ComponentName who, in String name, in ComponentName profileOwner, in Persistable… in createAndManageUser() argument