Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java479 private boolean setProfileOwner() throws IOException { in setProfileOwner() method in SuspendPackagesTest
502 assertTrue("Profile-owner could not be set", setProfileOwner()); in testCannotSuspendWhenProfileOwner()
544 assertTrue("Profile-owner could not be set", setProfileOwner()); in testPackageUnsuspendedOnAddingProfileOwner()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java204 if (!mDevicePolicyManager.setProfileOwner(mComponent, mName, mUserId)) { in runSetProfileOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java278 assertTrue(dpm.setProfileOwner(admin, "owner-name", DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()
848 () -> dpm.setProfileOwner(admin2, "owner-name", UserHandle.USER_SYSTEM)); in testSetDeviceOwner()
1968 assertTrue(dpm.setProfileOwner(admin1, null, UserHandle.USER_SYSTEM)); in testGetMacAddress()
2009 assertTrue(dpm.setProfileOwner(admin1, null, UserHandle.USER_SYSTEM)); in testReboot()
2507 assertTrue(dpm.setProfileOwner(admin1, null, DpmMockContext.CALLER_USER_HANDLE)); in setupProfileOwner()
5131 assertTrue(dpm.setProfileOwner(admin, null, userId)); in addManagedProfile()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java288 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in Owners
DDevicePolicyManagerService.java7442 public boolean setProfileOwner(ComponentName who, String ownerName, int userHandle) { in setProfileOwner() method in DevicePolicyManagerService
7466 mOwners.setProfileOwner(who, ownerName, userHandle); in setProfileOwner()
8957 setProfileOwner(profileOwner, ownerName, userHandle); in createAndManageUser()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl147 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
DDevicePolicyManager.java5243 return mService.setProfileOwner(admin, ownerName, myUserId); in setActiveProfileOwner()
5311 public boolean setProfileOwner(@NonNull ComponentName admin, @Deprecated String ownerName, in setProfileOwner() method in DevicePolicyManager
5318 return mService.setProfileOwner(admin, ownerName, userHandle); in setProfileOwner()
/frameworks/base/config/
Dboot-image-profile.txt15784 HSPLandroid/app/admin/IDevicePolicyManager;->setProfileOwner(Landroid/content/ComponentName;Ljava/l…