/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 299 setDeviceOwner(); in testLoadAdminData() 856 setDeviceOwner(); in testSetDeviceOwner() 873 private void setDeviceOwner() throws Exception { in setDeviceOwner() method in DevicePolicyManagerTest 892 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in setDeviceOwner() 1060 () -> dpm.setDeviceOwner(new ComponentName("a.b.c", ".def"))); in testSetDeviceOwner_noSuchPackage() 1083 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in testClearDeviceOwner() 1148 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in testDeviceOwnerBackupActivateDeactivate() 1187 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in testClearDeviceOwner_fromDifferentUser() 1224 () -> dpm.setDeviceOwner(admin2, "owner-name", in testSetProfileOwner() 1303 assertTrue(dpm.setDeviceOwner(admin2, "owner-name", DpmMockContext.CALLER_USER_HANDLE)); in checkDeviceOwnerWithMultipleDeviceAdmins() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 499 private boolean setDeviceOwner() throws IOException { in setDeviceOwner() method in SuspendPackagesTest 523 assertTrue("Device-owner could not be set", setDeviceOwner()); in testCanSuspendWhenDeviceOwner() 536 assertTrue("Device-owner could not be set", setDeviceOwner()); in testPackageUnsuspendedOnAddingDeviceOwner()
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 203 if (!mDevicePolicyManager.setDeviceOwner(mComponent, mName, mUserId)) { in runSetDeviceOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 5840 public boolean setDeviceOwner(ComponentName who) { in setDeviceOwner() method in DevicePolicyManager 5841 return setDeviceOwner(who, null); in setDeviceOwner() 5847 public boolean setDeviceOwner(ComponentName who, int userId) { in setDeviceOwner() method in DevicePolicyManager 5848 return setDeviceOwner(who, null, userId); in setDeviceOwner() 5854 public boolean setDeviceOwner(ComponentName who, String ownerName) { in setDeviceOwner() method in DevicePolicyManager 5855 return setDeviceOwner(who, ownerName, UserHandle.USER_SYSTEM); in setDeviceOwner() 5873 public boolean setDeviceOwner(ComponentName who, String ownerName, int userId) in setDeviceOwner() method in DevicePolicyManager 5877 return mService.setDeviceOwner(who, ownerName, userId); in setDeviceOwner()
|
D | IDevicePolicyManager.aidl | 143 boolean setDeviceOwner(in ComponentName who, String ownerName, int userId); in setDeviceOwner() method
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 267 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() method in Owners
|
D | DevicePolicyManagerService.java | 7813 public boolean setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() method 7844 mOwners.setDeviceOwner(admin, ownerName, userId); in setDeviceOwner()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 2551 Landroid/app/admin/DevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;)Z 2552 Landroid/app/admin/DevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;I)Z 2553 Landroid/app/admin/DevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/S… 2554 Landroid/app/admin/DevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/S… 2802 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setDeviceOwner(Landroid/content/ComponentName;… 3329 Landroid/app/admin/IDevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/…
|