/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 299 setDeviceOwner(); in testLoadAdminData() 841 setDeviceOwner(); in testSetDeviceOwner() 858 private void setDeviceOwner() throws Exception { in setDeviceOwner() method in DevicePolicyManagerTest 877 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in setDeviceOwner() 1049 () -> dpm.setDeviceOwner(new ComponentName("a.b.c", ".def"))); in testSetDeviceOwner_noSuchPackage() 1072 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in testClearDeviceOwner() 1145 assertTrue(dpm.setDeviceOwner(admin1, "owner-name")); in testClearDeviceOwner_fromDifferentUser() 1182 () -> dpm.setDeviceOwner(admin2, "owner-name", in testSetProfileOwner() 1261 assertTrue(dpm.setDeviceOwner(admin2, "owner-name", DpmMockContext.CALLER_USER_HANDLE)); in checkDeviceOwnerWithMultipleDeviceAdmins() 1283 dpms.mOwners.setDeviceOwner( in testDeviceOwnerMigration() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 485 private boolean setDeviceOwner() throws IOException { in setDeviceOwner() method in SuspendPackagesTest 513 assertTrue("Device-owner could not be set", setDeviceOwner()); in testCannotSuspendWhenDeviceOwner() 530 assertTrue("Device-owner could not be set", setDeviceOwner()); in testPackageUnsuspendedOnAddingDeviceOwner()
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 176 if (!mDevicePolicyManager.setDeviceOwner(mComponent, mName, mUserId)) { in runSetDeviceOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 4961 public boolean setDeviceOwner(ComponentName who) { in setDeviceOwner() method in DevicePolicyManager 4962 return setDeviceOwner(who, null); in setDeviceOwner() 4968 public boolean setDeviceOwner(ComponentName who, int userId) { in setDeviceOwner() method in DevicePolicyManager 4969 return setDeviceOwner(who, null, userId); in setDeviceOwner() 4975 public boolean setDeviceOwner(ComponentName who, String ownerName) { in setDeviceOwner() method in DevicePolicyManager 4976 return setDeviceOwner(who, ownerName, UserHandle.USER_SYSTEM); in setDeviceOwner() 4994 public boolean setDeviceOwner(ComponentName who, String ownerName, int userId) in setDeviceOwner() method in DevicePolicyManager 4998 return mService.setDeviceOwner(who, ownerName, userId); in setDeviceOwner()
|
D | IDevicePolicyManager.aidl | 140 boolean setDeviceOwner(in ComponentName who, String ownerName, int userId); in setDeviceOwner() method
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 250 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() method in Owners
|
D | DevicePolicyManagerService.java | 7172 public boolean setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() method in DevicePolicyManagerService 7209 mOwners.setDeviceOwner(admin, ownerName, userId); in setDeviceOwner()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15741 HSPLandroid/app/admin/IDevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;Ljava/la…
|