Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDeviceOwnerTest.java40 out.setDeviceOwner("some.device.owner.package", "owner"); in testDeviceOwnerOnly()
71 out.setDeviceOwner("some.device.owner.package", "owner"); in testDeviceAndProfileOwners()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java114 if (!mDevicePolicyManager.setDeviceOwner(packageName, null /*ownerName*/)) { in runSetDeviceOwner()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2247 public boolean setDeviceOwner(String packageName) throws IllegalArgumentException, in setDeviceOwner() method in DevicePolicyManager
2249 return setDeviceOwner(packageName, null); in setDeviceOwner()
2264 public boolean setDeviceOwner(String packageName, String ownerName) in setDeviceOwner() method in DevicePolicyManager
2268 return mService.setDeviceOwner(packageName, ownerName); in setDeviceOwner()
DIDevicePolicyManager.aidl113 boolean setDeviceOwner(String packageName, String ownerName); in setDeviceOwner() method
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceOwner.java131 void setDeviceOwner(String packageName, String ownerName) { in setDeviceOwner() method in DeviceOwner
DDevicePolicyManagerService.java3719 public boolean setDeviceOwner(String packageName, String ownerName) { in setDeviceOwner() method in DevicePolicyManagerService
3758 mDeviceOwner.setDeviceOwner(packageName, ownerName); in setDeviceOwner()