Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DSetDeviceOwnerPolicyTask.java77 ComponentName adminComponent = in run() local
79 String adminPackage = adminComponent.getPackageName(); in run()
82 setActiveAdmin(adminComponent, userId); in run()
83 success = setDeviceOwner(adminComponent, in run()
88 mDevicePolicyManager.setDeviceOwnerType(adminComponent, DEVICE_OWNER_TYPE_FINANCED); in run()
DCreateAndProvisionManagedProfileTask.java127 ComponentName adminComponent = in buildManagedProfileProvisioningParams() local
130 adminComponent, adminComponent.getPackageName()) in buildManagedProfileProvisioningParams()
DProvisionFullyManagedDeviceTask.java111 ComponentName adminComponent = mProvisioningParams.inferDeviceAdminComponentName( in buildManagedDeviceProvisioningParams() local
114 adminComponent, in buildManagedDeviceProvisioningParams()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountRestrictionHelper.java88 ComponentName adminComponent = dpm.getProfileOwnerAsUser(managedUsedId); in getEnforcedAdmin() local
89 if (adminComponent != null) { in getEnforcedAdmin()
90 return new EnforcedAdmin(adminComponent, userRestriction, in getEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java473 ComponentName adminComponent = mDPM.getProfileOwnerAsUser(getUserId()); in showPolicyTransparencyDialogIfRequired() local
474 if (adminComponent != null && mDPM.isOrganizationOwnedDeviceWithManagedProfile()) { in showPolicyTransparencyDialogIfRequired()
475 enforcedAdmin = new EnforcedAdmin(adminComponent, in showPolicyTransparencyDialogIfRequired()