Home
last modified time | relevance | path

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

/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java166 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetActiveAdmin()
173 mDevicePolicyManager.setActiveAdmin(mComponent, true /*refreshing*/, mUserId); in runSetDeviceOwner()
201 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()
418 dpm.setActiveAdmin(admin2, /* replace =*/ false); in testSetActiveAdmin()
441 () -> dpm.setActiveAdmin(admin1, /* replace =*/ false)); in testSetActiveAdmin()
444 dpm.setActiveAdmin(admin1, /* replace =*/ true); in testSetActiveAdmin()
479 dpm.setActiveAdmin(admin1, /* replace =*/ false); in testSetActiveAdmin_multiUsers()
482 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.java4815 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing, in setActiveAdmin() method in DevicePolicyManager
4819 mService.setActiveAdmin(policyReceiver, refreshing, userHandle); in setActiveAdmin()
4829 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing) { in setActiveAdmin() method in DevicePolicyManager
4830 setActiveAdmin(policyReceiver, refreshing, myUserId()); in setActiveAdmin()
5242 mService.setActiveAdmin(admin, false, myUserId); in setActiveProfileOwner()
DIDevicePolicyManager.aidl122 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3590 public void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle) { in setActiveAdmin() method in DevicePolicyManagerService
3594 setActiveAdmin(adminReceiver, refreshing, userHandle, null); in setActiveAdmin()
3597 private void setActiveAdmin(ComponentName adminReceiver, boolean refreshing, int userHandle, in setActiveAdmin() method in DevicePolicyManagerService
8955 setActiveAdmin(profileOwner, true, userHandle); in createAndManageUser()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt312 Landroid/app/admin/DevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;Z)V
313 Landroid/app/admin/DevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;ZI)V
Dboot-image-profile.txt15725 HSPLandroid/app/admin/IDevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;ZI)V