Searched refs:setProfileOwner (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/ |
D | ManagedProfileLifecycleStressTest.java | 68 setProfileOwner(DUMMY_DPC_COMPONENT, userId); in testCreateStartDelete() 96 setProfileOwner(DUMMY_DPC_COMPONENT, userId); in testCreateStartDeleteStable() 132 private void setProfileOwner(String componentName, int userId) throws Exception { in setProfileOwner() method in ManagedProfileLifecycleStressTest
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceShellCommand.java | 297 if (!mService.setProfileOwner(mComponent, mUserId)) { in runSetProfileOwner()
|
D | Owners.java | 308 void setProfileOwner(ComponentName admin, int userId) { in setProfileOwner() method in Owners
|
D | DevicePolicyManagerService.java | 10193 public boolean setProfileOwner(ComponentName who, int userHandle) { 10239 mOwners.setProfileOwner(who, userHandle); 12695 setProfileOwner(profileOwner, userId); 21734 return setProfileOwner(adminComponent, userId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 410 assertThat(dpm.setProfileOwner(admin, CALLER_USER_HANDLE)).isTrue(); in setAsProfileOwner() 1092 () -> dpm.setProfileOwner(admin2, UserHandle.USER_SYSTEM)); in testSetDeviceOwner() 1608 () -> dpm.setProfileOwner(admin1, UserHandle.USER_SYSTEM)); in testSetProfileOwner_failures() 1614 () -> dpm.setProfileOwner(admin1, UserHandle.USER_SYSTEM)); in testSetProfileOwner_failures() 2696 assertThat(dpm.setProfileOwner(admin1, UserHandle.USER_SYSTEM)).isTrue(); in testGetMacAddress() 2748 assertThat(dpm.setProfileOwner(admin1, UserHandle.USER_SYSTEM)).isTrue(); in testReboot() 3244 assertThat(dpm.setProfileOwner(admin1, CALLER_USER_HANDLE)).isTrue(); in setupProfileOwner() 3254 assertThat(dpm.setProfileOwner(admin1, UserHandle.USER_SYSTEM)).isTrue(); in setupProfileOwnerOnUser0() 3777 assertThat(dpm.setProfileOwner(admin1, userId)).isFalse(); in testCheckCannotSetProfileOwnerWithDeviceOwner() 8807 assertThat(dpm.setProfileOwner(admin, userId)).isTrue();
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 189 boolean setProfileOwner(in ComponentName who, int userHandle); in setProfileOwner() method
|
D | DevicePolicyManager.java | 9682 return mService.setProfileOwner(admin, myUserId); in setActiveProfileOwner() 9749 public boolean setProfileOwner(@NonNull ComponentName admin, int userHandle) in setProfileOwner() method in DevicePolicyManager 9753 return mService.setProfileOwner(admin, userHandle); in setProfileOwner()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 2558 Landroid/app/admin/DevicePolicyManager;->setProfileOwner(Landroid/content/ComponentName;Ljava/lang/… 2844 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setProfileOwner(Landroid/content/ComponentName… 3369 Landroid/app/admin/IDevicePolicyManager;->setProfileOwner(Landroid/content/ComponentName;Ljava/lang…
|