Home
last modified time | relevance | path

Searched refs:setProfileOwner (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDeviceOwnerTest.java55 out.setProfileOwner("some.profile.owner.package", "some-company", 1); in testProfileOwnerOnly()
72 out.setProfileOwner("some.profile.owner.package", "some-company", 1); in testDeviceAndProfileOwners()
73 out.setProfileOwner("some.other.profile.owner", "some-other-company", 2); in testDeviceAndProfileOwners()
DApplicationRestrictionsTest.java68 sDpm.setProfileOwner(context.getPackageName(), "Test", UserHandle.myUserId()); in setUp()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java134 if (!mDevicePolicyManager.setProfileOwner(component, "" /*ownerName*/, userId)) { in runSetProfileOwner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceOwner.java142 void setProfileOwner(String packageName, String ownerName, int userId) { in setProfileOwner() method in DeviceOwner
146 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in DeviceOwner
DDevicePolicyManagerService.java3853 public boolean setProfileOwner(ComponentName who, String ownerName, int userHandle) { in setProfileOwner() method in DevicePolicyManagerService
3890 mDeviceOwner.setProfileOwner(who, ownerName, userHandle); in setProfileOwner()
4762 setProfileOwner(profileOwnerComponent, ownerName, user.getIdentifier()); in createAndInitializeUser()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2375 return mService.setProfileOwner(admin, ownerName, myUserId); in setActiveProfileOwner()
2432 public boolean setProfileOwner(String packageName, String ownerName, int userHandle) in setProfileOwner() method in DevicePolicyManager
2437 return setProfileOwner(new ComponentName(packageName, ""), ownerName, userHandle); in setProfileOwner()
2452 public boolean setProfileOwner(ComponentName admin, String ownerName, int userHandle) in setProfileOwner() method in DevicePolicyManager
2462 return mService.setProfileOwner(admin, ownerName, userHandle); in setProfileOwner()
DIDevicePolicyManager.aidl119 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method