Searched refs:adminComponent (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 59 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/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 423 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnCallingUser(); in checkIfAutoTimeRequired() local 424 return new EnforcedAdmin(adminComponent, getUserHandleOf(UserHandle.myUserId())); in checkIfAutoTimeRequired() 556 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner() local 557 if (adminComponent != null) { in getDeviceOwner() 559 adminComponent, enforcedRestriction, dpm.getDeviceOwnerUser()); in getDeviceOwner() 578 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner() local 579 if (adminComponent != null) { in getProfileOwner() 580 return new EnforcedAdmin(adminComponent, enforcedRestriction, getUserHandleOf(userId)); in getProfileOwner()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | TransferOwnershipMetadataManager.java | 139 String adminComponent = null; in parseMetadataFile() local 158 adminComponent = parser.getText(); in parseMetadataFile() 166 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile()
|
D | DevicePolicyManagerService.java | 5450 ComponentName adminComponent = null; in lockNow() local 5461 adminComponent = admin == null ? null : admin.info.getComponent(); in lockNow() 5462 if (adminComponent != null) { in lockNow() 5468 if (!isProfileOwner(adminComponent, callingUserId)) { in lockNow() 5500 if (SecurityLog.isLoggingEnabled() && adminComponent != null) { in lockNow() 5504 adminComponent.getPackageName(), callingUserId, affectedUserId); in lockNow() 5513 .setAdmin(adminComponent) in lockNow()
|