Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java275 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerComponent() local
276 return profileOwner != null ? profileOwner.admin : null; in getProfileOwnerComponent()
282 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerName() local
283 return profileOwner != null ? profileOwner.name : null; in getProfileOwnerName()
289 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerPackage() local
290 return profileOwner != null ? profileOwner.packageName : null; in getProfileOwnerPackage()
350 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerUserRestrictionsNeedsMigration() local
351 return profileOwner != null && !profileOwner.userRestrictionsMigrated; in getProfileOwnerUserRestrictionsNeedsMigration()
380 OwnerInfo profileOwner = mProfileOwners.get(userId); in setProfileOwnerUserRestrictionsMigrated() local
381 if (profileOwner != null) { in setProfileOwnerUserRestrictionsMigrated()
[all …]
DDevicePolicyManagerService.java3005 ComponentName profileOwner = getProfileOwner(userHandle); in isSeparateProfileChallengeAllowed() local
3007 return profileOwner != null && in isSeparateProfileChallengeAllowed()
3008 getTargetSdk(profileOwner.getPackageName(), userHandle) > Build.VERSION_CODES.M; in isSeparateProfileChallengeAllowed()
5741 final ComponentName profileOwner = getProfileOwner(userId); in isProfileOwner() local
5742 return who != null && who.equals(profileOwner); in isProfileOwner()
6132 ComponentName profileOwner = mOwners.getProfileOwnerComponent(userHandle); in getProfileOwnerAdminLocked() local
6133 if (profileOwner == null) { in getProfileOwnerAdminLocked()
6140 if (profileOwner.equals(admin.info.getComponent())) { in getProfileOwnerAdminLocked()
6153 ComponentName profileOwner = getProfileOwner(userHandle); in getProfileOwnerName() local
6154 if (profileOwner == null) { in getProfileOwnerName()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java136 String profileOwner = mSecurityController.getProfileOwnerName(); in createDialog() local
143 mDialog.setMessage(getMessage(deviceOwner, profileOwner, primaryVpn, profileVpn, managed)); in createDialog()
159 private String getMessage(String deviceOwner, String profileOwner, String primaryVpn, in getMessage() argument
174 profileOwner, profileVpn, primaryVpn); in getMessage()
181 profileOwner, profileVpn); in getMessage()
182 } else if (profileOwner != null && primaryUserIsManaged) { in getMessage()
184 profileOwner); in getMessage()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java3997 ComponentName profileOwner = mService.getProfileOwner(myUserId()); in isProfileOwnerApp() local
3998 return profileOwner != null in isProfileOwnerApp()
3999 && profileOwner.getPackageName().equals(packageName); in isProfileOwnerApp()
4921 @NonNull ComponentName profileOwner, @Nullable PersistableBundle adminExtras, in createAndManageUser() argument
4925 return mService.createAndManageUser(admin, name, profileOwner, adminExtras, flags); in createAndManageUser()
DIDevicePolicyManager.aidl193 …eAndManageUser(in ComponentName who, in String name, in ComponentName profileOwner, in Persistable… in createAndManageUser() argument