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.java3025 ComponentName profileOwner = getProfileOwner(userHandle); in isSeparateProfileChallengeAllowed() local
3027 return profileOwner != null && in isSeparateProfileChallengeAllowed()
3028 getTargetSdk(profileOwner.getPackageName(), userHandle) > Build.VERSION_CODES.M; in isSeparateProfileChallengeAllowed()
5761 final ComponentName profileOwner = getProfileOwner(userId); in isProfileOwner() local
5762 return who != null && who.equals(profileOwner); in isProfileOwner()
6153 ComponentName profileOwner = mOwners.getProfileOwnerComponent(userHandle); in getProfileOwnerAdminLocked() local
6154 if (profileOwner == null) { in getProfileOwnerAdminLocked()
6161 if (profileOwner.equals(admin.info.getComponent())) { in getProfileOwnerAdminLocked()
6174 ComponentName profileOwner = getProfileOwner(userHandle); in getProfileOwnerName() local
6175 if (profileOwner == null) { in getProfileOwnerName()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java147 String profileOwner = mSecurityController.getProfileOwnerName(); in createDialog() local
154 mDialog.setMessage(getMessage(deviceOwner, profileOwner, primaryVpn, profileVpn, managed)); in createDialog()
170 private String getMessage(String deviceOwner, String profileOwner, String primaryVpn, in getMessage() argument
185 profileOwner, profileVpn, primaryVpn); in getMessage()
192 profileOwner, profileVpn); in getMessage()
193 } else if (profileOwner != null && primaryUserIsManaged) { in getMessage()
195 profileOwner); in getMessage()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4004 ComponentName profileOwner = mService.getProfileOwner(myUserId()); in isProfileOwnerApp() local
4005 return profileOwner != null in isProfileOwnerApp()
4006 && profileOwner.getPackageName().equals(packageName); in isProfileOwnerApp()
4928 @NonNull ComponentName profileOwner, @Nullable PersistableBundle adminExtras, in createAndManageUser() argument
4932 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