Home
last modified time | relevance | path

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

/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java193 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/
DDevicePolicyManagerTest.java276 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 …]
DNetworkEventTest.java64 mDpmTestable.setActiveAdmin(admin1, true, DpmMockContext.CALLER_USER_HANDLE); in setUp()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java5684 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()
DIDevicePolicyManager.aidl124 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3787 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/
Dhiddenapi-greylist-max-o.txt2786 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setActiveAdmin(Landroid/content/ComponentName;…
3313 Landroid/app/admin/IDevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;ZI)V