Searched refs:setActiveAdmin (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 193 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetActiveAdmin() 200 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetDeviceOwner() 228 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetProfileOwner()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 276 dpm.setActiveAdmin(admin, /*replace=*/ false); in setAsProfileOwner() 306 dpm.setActiveAdmin(adminAnotherPackage, /* replace =*/ false, in testLoadAdminData() 348 () -> dpm.setActiveAdmin(admin1, false)); in testSetActiveAdmin_SecurityException() 354 () -> dpm.setActiveAdmin(admin1, false, DpmMockContext.CALLER_USER_HANDLE + 1)); in testSetActiveAdmin_SecurityException() 371 dpm.setActiveAdmin(admin1, /* replace =*/ false); in testSetActiveAdmin() 420 dpm.setActiveAdmin(admin2, /* replace =*/ false); in testSetActiveAdmin() 443 () -> dpm.setActiveAdmin(admin1, /* replace =*/ false)); in testSetActiveAdmin() 446 dpm.setActiveAdmin(admin1, /* replace =*/ true); in testSetActiveAdmin() 481 dpm.setActiveAdmin(admin1, /* replace =*/ false); in testSetActiveAdmin_multiUsers() 484 dpm.setActiveAdmin(admin2, /* replace =*/ false); in testSetActiveAdmin_multiUsers() [all …]
|
D | NetworkEventTest.java | 64 mDpmTestable.setActiveAdmin(admin1, true, DpmMockContext.CALLER_USER_HANDLE); in setUp()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 5662 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing, in setActiveAdmin() method in DevicePolicyManager 5666 mService.setActiveAdmin(policyReceiver, refreshing, userHandle); in setActiveAdmin() 5677 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing) { in setActiveAdmin() method in DevicePolicyManager 5678 setActiveAdmin(policyReceiver, refreshing, myUserId()); in setActiveAdmin() 6116 mService.setActiveAdmin(admin, false, myUserId); in setActiveProfileOwner()
|
D | IDevicePolicyManager.aidl | 124 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 3779 public void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle) { in setActiveAdmin() method 3783 setActiveAdmin(adminReceiver, refreshing, userHandle, null); in setActiveAdmin() 3786 private void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle, in setActiveAdmin() method 9738 setActiveAdmin(profileOwner, true, userHandle); in createAndManageUser()
|