Home
last modified time | relevance | path

Searched refs:setDeviceOwner (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java435 setDeviceOwner(); in testLoadAdminData()
984 dpm.setDeviceOwner(admin1, UserHandle.USER_SYSTEM); in testSaveAndLoadPasswordHistoryLength_persistedAfterReboot()
1085 setDeviceOwner(); in testSetDeviceOwner()
1102 private void setDeviceOwner() throws Exception { in setDeviceOwner() method in DevicePolicyManagerTest
1121 assertThat(dpm.setDeviceOwner(admin1, UserHandle.USER_SYSTEM)).isTrue(); in setDeviceOwner()
1182 assertThat(dpm.setDeviceOwner(admin1, UserHandle.USER_SYSTEM)).isTrue(); in setDeviceOwner_headlessSystemUser()
1354 () -> dpm.setDeviceOwner(new ComponentName("a.b.c", ".def"), in testSetDeviceOwner_noSuchPackage()
1364 () -> dpm.setDeviceOwner(admin1, UserHandle.USER_SYSTEM)); in testSetDeviceOwner_failures()
1370 () -> dpm.setDeviceOwner(admin1, UserHandle.USER_SYSTEM)); in testSetDeviceOwner_failures()
1391 assertThat(dpm.setDeviceOwner(admin1, UserHandle.USER_SYSTEM)).isTrue(); in testClearDeviceOwner()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerServiceShellCommand.java264 if (!mService.setDeviceOwner(mComponent, mUserId, in runSetDeviceOwner()
DOwners.java259 void setDeviceOwner(ComponentName admin, int userId) { in setDeviceOwner() method in Owners
DDevicePolicyManagerService.java9623 public boolean setDeviceOwner(ComponentName admin, int userId,
9668 mOwners.setDeviceOwner(admin, userId);
22109 return setDeviceOwner(adminComponent, userId,
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl181 …boolean setDeviceOwner(in ComponentName who, int userId, boolean setProfileOwnerOnCurrentUserIfNec… in setDeviceOwner() method
DDevicePolicyManager.java9377 public boolean setDeviceOwner(@NonNull ComponentName who, @UserIdInt int userId) { in setDeviceOwner() method in DevicePolicyManager
9380 return mService.setDeviceOwner(who, userId, in setDeviceOwner()
9402 return mService.setDeviceOwner(who, userId, in setDeviceOwnerOnly()
/frameworks/base/core/api/
Dtest-lint-baseline.txt728 RequiresPermission: android.app.admin.DevicePolicyManager#setDeviceOwner(android.content.ComponentN…
729 … Method 'setDeviceOwner' documentation mentions permissions already declared by @RequiresPermission
Dtest-current.txt617 …Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean setDeviceOwner(@NonNull andro…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt2551 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…
2801 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setDeviceOwner(Landroid/content/ComponentName;…
3326 Landroid/app/admin/IDevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/…