Searched refs:setProfileOwner (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 493 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/ |
D | Dpm.java | 231 if (!mDevicePolicyManager.setProfileOwner(mComponent, mName, mUserId)) { in runSetProfileOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 150 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() method
|
D | DevicePolicyManager.java | 6117 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/ |
D | Owners.java | 311 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() method in Owners
|
D | DevicePolicyManagerService.java | 8073 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/ |
D | DevicePolicyManagerTest.java | 278 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/ |
D | hiddenapi-greylist-max-o.txt | 2808 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…
|