Home
last modified time | relevance | path

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

/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java103 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetActiveAdmin()
110 mDevicePolicyManager.setActiveAdmin(component, true /*refreshing*/, UserHandle.USER_OWNER); in runSetDeviceOwner()
131 mDevicePolicyManager.setActiveAdmin(component, true /*refreshing*/, userId); in runSetProfileOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DApplicationRestrictionsTest.java52 sDpm.setActiveAdmin(sAdminReceiver, false); in onDisabled()
77 sDpm.setActiveAdmin(sAdminReceiver, false); in setUp()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2137 public void setActiveAdmin(ComponentName policyReceiver, boolean refreshing, int userHandle) { in setActiveAdmin() method in DevicePolicyManager
2140 mService.setActiveAdmin(policyReceiver, refreshing, userHandle); in setActiveAdmin()
2150 public void setActiveAdmin(ComponentName policyReceiver, boolean refreshing) { in setActiveAdmin() method in DevicePolicyManager
2151 setActiveAdmin(policyReceiver, refreshing, UserHandle.myUserId()); in setActiveAdmin()
2374 mService.setActiveAdmin(admin, false, myUserId); in setActiveProfileOwner()
DIDevicePolicyManager.aidl100 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1764 public void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle) { in setActiveAdmin() method in DevicePolicyManagerService
1768 setActiveAdmin(adminReceiver, refreshing, userHandle, null); in setActiveAdmin()
1771 private void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle, in setActiveAdmin() method in DevicePolicyManagerService
4761 setActiveAdmin(profileOwnerComponent, true, user.getIdentifier(), adminExtras); in createAndInitializeUser()