Searched refs:setActiveAdmin (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 103 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/ |
D | ApplicationRestrictionsTest.java | 52 sDpm.setActiveAdmin(sAdminReceiver, false); in onDisabled() 77 sDpm.setActiveAdmin(sAdminReceiver, false); in setUp()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 2137 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()
|
D | IDevicePolicyManager.aidl | 100 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1764 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()
|