Searched refs:setProfileOwner (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 479 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/ |
D | Dpm.java | 204 if (!mDevicePolicyManager.setProfileOwner(mComponent, mName, mUserId)) { in runSetProfileOwner()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 278 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/ |
D | Owners.java | 288 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in Owners
|
D | DevicePolicyManagerService.java | 7442 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/ |
D | IDevicePolicyManager.aidl | 147 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
|
D | DevicePolicyManager.java | 5243 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/ |
D | boot-image-profile.txt | 15784 HSPLandroid/app/admin/IDevicePolicyManager;->setProfileOwner(Landroid/content/ComponentName;Ljava/l…
|