Home
last modified time | relevance | path

Searched refs:adminComponent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java59 ComponentName adminComponent = userContext.getSystemService( in getProfileOrDeviceOwner() local
61 if (adminComponent != null) { in getProfileOrDeviceOwner()
62 return new EnforcedAdmin(adminComponent, enforcedRestriction, user); in getProfileOrDeviceOwner()
65 adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getProfileOrDeviceOwner()
66 if (adminComponent != null) { in getProfileOrDeviceOwner()
67 return new EnforcedAdmin(adminComponent, enforcedRestriction, user); in getProfileOrDeviceOwner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java140 String adminComponent = null; in parseMetadataFile() local
159 adminComponent = parser.getText(); in parseMetadataFile()
167 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java539 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner() local
540 if (adminComponent != null) { in getDeviceOwner()
542 adminComponent, enforcedRestriction, dpm.getDeviceOwnerUser()); in getDeviceOwner()
561 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner() local
562 if (adminComponent != null) { in getProfileOwner()
563 return new EnforcedAdmin(adminComponent, enforcedRestriction, getUserHandleOf(userId)); in getProfileOwner()