Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerServiceShellCommand.java246 mService.setActiveAdmin(mComponent, /* refreshing= */ true, mUserId); in runSetActiveAdmin()
256 mService.setActiveAdmin(mComponent, /* refreshing= */ false, mUserId); in runSetDeviceOwner()
294 mService.setActiveAdmin(mComponent, /* refreshing= */ true, mUserId); in runSetProfileOwner()
DDevicePolicyManagerService.java3813 public void setActiveAdmin(
12694 setActiveAdmin(profileOwner, /* refreshing= */ true, userId);
21741 setActiveAdmin(adminComponent, /* refreshing= */ true, userId);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java408 dpm.setActiveAdmin(admin, /*replace=*/ false); in setAsProfileOwner()
442 dpm.setActiveAdmin(adminAnotherPackage, /* replace =*/ false, CALLER_USER_HANDLE); in testLoadAdminData()
484 () -> dpm.setActiveAdmin(admin1, false)); in testSetActiveAdmin_SecurityException()
490 () -> dpm.setActiveAdmin(admin1, false, CALLER_USER_HANDLE + 1)); in testSetActiveAdmin_SecurityException()
508 dpm.setActiveAdmin(admin1, /* replace =*/ false); in testSetActiveAdmin()
559 dpm.setActiveAdmin(admin2, /* replace =*/ false); in testSetActiveAdmin()
582 () -> dpm.setActiveAdmin(admin1, /* replace =*/ false)); in testSetActiveAdmin()
585 dpm.setActiveAdmin(admin1, /* replace =*/ true); in testSetActiveAdmin()
621 dpm.setActiveAdmin(admin1, /* replace =*/ false); in testSetActiveAdmin_multiUsers()
624 dpm.setActiveAdmin(admin2, /* replace =*/ false); in testSetActiveAdmin_multiUsers()
[all …]
DNetworkEventTest.java69 mDpmTestable.setActiveAdmin(admin1, true, DpmMockContext.CALLER_USER_HANDLE); in setUp()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9211 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing, in setActiveAdmin() method in DevicePolicyManager
9215 mService.setActiveAdmin(policyReceiver, refreshing, userHandle); in setActiveAdmin()
9226 public void setActiveAdmin(@NonNull ComponentName policyReceiver, boolean refreshing) { in setActiveAdmin() method in DevicePolicyManager
9227 setActiveAdmin(policyReceiver, refreshing, myUserId()); in setActiveAdmin()
9681 mService.setActiveAdmin(admin, false, myUserId); in setActiveProfileOwner()
DIDevicePolicyManager.aidl163 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
/frameworks/base/core/api/
Dtest-current.txt616 …android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void setActiveAdmin(@NonNull andro…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt2786 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setActiveAdmin(Landroid/content/ComponentName;…
3311 Landroid/app/admin/IDevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;ZI)V