Home
last modified time | relevance | path

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

/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java176 if (!mDevicePolicyManager.setProfileOwner(mComponent, mName, mUserId)) { in runSetProfileOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java172 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/
DIDevicePolicyManager.aidl132 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
DDevicePolicyManager.java3769 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/
DOwners.java254 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in Owners
DDevicePolicyManagerService.java5874 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()