Searched refs:setActiveAdmin (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceShellCommand.java | 246 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()
|
D | DevicePolicyManagerService.java | 3813 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/ |
D | DevicePolicyManagerTest.java | 408 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 …]
|
D | NetworkEventTest.java | 69 mDpmTestable.setActiveAdmin(admin1, true, DpmMockContext.CALLER_USER_HANDLE); in setUp()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 9211 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()
|
D | IDevicePolicyManager.aidl | 163 void setActiveAdmin(in ComponentName policyReceiver, boolean refreshing, int userHandle); in setActiveAdmin() method
|
/frameworks/base/core/api/ |
D | test-current.txt | 616 …android.Manifest.permission.INTERACT_ACROSS_USERS_FULL}) public void setActiveAdmin(@NonNull andro…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 2786 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setActiveAdmin(Landroid/content/ComponentName;… 3311 Landroid/app/admin/IDevicePolicyManager;->setActiveAdmin(Landroid/content/ComponentName;ZI)V
|