Searched refs:setProfileOwner (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DeviceOwnerTest.java | 55 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()
|
D | ApplicationRestrictionsTest.java | 68 sDpm.setProfileOwner(context.getPackageName(), "Test", UserHandle.myUserId()); in setUp()
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 134 if (!mDevicePolicyManager.setProfileOwner(component, "" /*ownerName*/, userId)) { in runSetProfileOwner()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceOwner.java | 142 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
|
D | DevicePolicyManagerService.java | 3853 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/ |
D | DevicePolicyManager.java | 2375 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()
|
D | IDevicePolicyManager.aidl | 119 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
|