Searched refs:setProfileOwner (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 176 if (!mDevicePolicyManager.setProfileOwner(mComponent, mName, mUserId)) { in runSetProfileOwner()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 172 assertTrue(dpm.setProfileOwner(admin, "owner-name", DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner() 555 dpm.setProfileOwner(admin2, "owner-name", UserHandle.USER_SYSTEM); in testSetDeviceOwner() 1470 assertTrue(dpm.setProfileOwner(admin1, null, UserHandle.USER_SYSTEM)); in testGetMacAddress() 1519 assertTrue(dpm.setProfileOwner(admin1, null, UserHandle.USER_SYSTEM)); in testReboot() 1710 assertTrue(dpm.setProfileOwner(admin, "owner-name", DpmMockContext.CALLER_USER_HANDLE)); in testUserAffiliation() 1855 assertTrue(dpm.setProfileOwner(admin1, null, DpmMockContext.CALLER_USER_HANDLE)); in setupProfileOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 132 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
|
D | DevicePolicyManager.java | 3769 return mService.setProfileOwner(admin, ownerName, myUserId); in setActiveProfileOwner() 3829 public boolean setProfileOwner(@NonNull ComponentName admin, @Deprecated String ownerName, in setProfileOwner() method in DevicePolicyManager 3836 return mService.setProfileOwner(admin, ownerName, userHandle); in setProfileOwner()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 254 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in Owners
|
D | DevicePolicyManagerService.java | 5874 public boolean setProfileOwner(ComponentName who, String ownerName, int userHandle) { in setProfileOwner() method in DevicePolicyManagerService 5890 mOwners.setProfileOwner(who, ownerName, userHandle); in setProfileOwner() 7158 setProfileOwner(profileOwner, ownerName, userHandle); in createAndManageUser()
|