Searched refs:setActiveAdmin (Results 1 – 7 of 7) 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 | 5684 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing, in setActiveAdmin() method in DevicePolicyManager 5688 mService.setActiveAdmin(policyReceiver, refreshing, userHandle); in setActiveAdmin() 5699 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing) { in setActiveAdmin() method in DevicePolicyManager 5700 setActiveAdmin(policyReceiver, refreshing, myUserId()); in setActiveAdmin() 6138 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 | 3787 public void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle) { in setActiveAdmin() method 3791 setActiveAdmin(adminReceiver, refreshing, userHandle, null); in setActiveAdmin() 3794 private void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle, in setActiveAdmin() method 9747 setActiveAdmin(profileOwner, true, userHandle); in createAndManageUser()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 2786 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setActiveAdmin(Landroid/content/ComponentName;… 3313 Landroid/app/admin/IDevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;ZI)V
|