Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java399 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnCallingUser(); in checkIfAutoTimeRequired() local
400 return new EnforcedAdmin(adminComponent, UserHandle.myUserId()); in checkIfAutoTimeRequired()
534 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOrDeviceOwner() local
535 if (adminComponent != null) { in getProfileOrDeviceOwner()
536 return new EnforcedAdmin(adminComponent, enforcedRestriction, userId); in getProfileOrDeviceOwner()
539 adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getProfileOrDeviceOwner()
540 if (adminComponent != null) { in getProfileOrDeviceOwner()
541 return new EnforcedAdmin(adminComponent, enforcedRestriction, userId); in getProfileOrDeviceOwner()
557 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner() local
558 if (adminComponent != null) { in getDeviceOwner()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java139 String adminComponent = null; in parseMetadataFile() local
158 adminComponent = parser.getText(); in parseMetadataFile()
166 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile()
DDevicePolicyManagerService.java5132 final ComponentName adminComponent = admin.info.getComponent(); in lockNow() local
5137 if (!isProfileOwner(adminComponent, callingUserId)) { in lockNow()
5172 adminComponent.getPackageName(), callingUserId, affectedUserId); in lockNow()