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.java493 private boolean setProfileOwner() throws IOException { in setProfileOwner() method in SuspendPackagesTest
516 assertTrue("Profile-owner could not be set", setProfileOwner()); in testCanSuspendWhenProfileOwner()
550 assertTrue("Profile-owner could not be set", setProfileOwner()); in testPackageUnsuspendedOnAddingProfileOwner()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java231 if (!mDevicePolicyManager.setProfileOwner(mComponent, mName, mUserId)) { in runSetProfileOwner()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl150 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
DDevicePolicyManager.java6117 return mService.setProfileOwner(admin, ownerName, myUserId); in setActiveProfileOwner()
6185 public boolean setProfileOwner(@NonNull ComponentName admin, @Deprecated String ownerName, in setProfileOwner() method in DevicePolicyManager
6192 return mService.setProfileOwner(admin, ownerName, userHandle); in setProfileOwner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java311 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in Owners
DDevicePolicyManagerService.java8073 public boolean setProfileOwner(ComponentName who, String ownerName, int userHandle) { in setProfileOwner() method
8106 mOwners.setProfileOwner(who, ownerName, userHandle); in setProfileOwner()
9740 setProfileOwner(profileOwner, ownerName, userHandle); in createAndManageUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java278 assertTrue(dpm.setProfileOwner(admin, "owner-name", DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()
863 () -> dpm.setProfileOwner(admin2, "owner-name", UserHandle.USER_SYSTEM)); in testSetDeviceOwner()
1994 assertTrue(dpm.setProfileOwner(admin1, null, UserHandle.USER_SYSTEM)); in testGetMacAddress()
2034 assertTrue(dpm.setProfileOwner(admin1, null, UserHandle.USER_SYSTEM)); in testReboot()
2506 assertTrue(dpm.setProfileOwner(admin1, null, DpmMockContext.CALLER_USER_HANDLE)); in setupProfileOwner()
5469 assertTrue(dpm.setProfileOwner(admin, null, userId)); in addManagedProfile()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt2808 Landroid/app/admin/DevicePolicyManager;->setProfileOwner(Landroid/content/ComponentName;Ljava/lang/…
3101 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setProfileOwner(Landroid/content/ComponentName…
3630 Landroid/app/admin/IDevicePolicyManager;->setProfileOwner(Landroid/content/ComponentName;Ljava/lang…