Searched refs:setDeviceOwner (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 435 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/ |
D | DevicePolicyManagerServiceShellCommand.java | 264 if (!mService.setDeviceOwner(mComponent, mUserId, in runSetDeviceOwner()
|
D | Owners.java | 259 void setDeviceOwner(ComponentName admin, int userId) { in setDeviceOwner() method in Owners
|
D | DevicePolicyManagerService.java | 9623 public boolean setDeviceOwner(ComponentName admin, int userId, 9668 mOwners.setDeviceOwner(admin, userId); 22109 return setDeviceOwner(adminComponent, userId,
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 181 …boolean setDeviceOwner(in ComponentName who, int userId, boolean setProfileOwnerOnCurrentUserIfNec… in setDeviceOwner() method
|
D | DevicePolicyManager.java | 9377 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/ |
D | test-lint-baseline.txt | 728 RequiresPermission: android.app.admin.DevicePolicyManager#setDeviceOwner(android.content.ComponentN… 729 … Method 'setDeviceOwner' documentation mentions permissions already declared by @RequiresPermission
|
D | test-current.txt | 617 …Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS) public boolean setDeviceOwner(@NonNull andro…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-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… 2801 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setDeviceOwner(Landroid/content/ComponentName;… 3326 Landroid/app/admin/IDevicePolicyManager;->setDeviceOwner(Landroid/content/ComponentName;Ljava/lang/…
|