Home
last modified time | relevance | path

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

/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
DManagedProfileLifecycleStressTest.java68 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/
DDevicePolicyManagerServiceShellCommand.java297 if (!mService.setProfileOwner(mComponent, mUserId)) { in runSetProfileOwner()
DOwners.java308 void setProfileOwner(ComponentName admin, int userId) { in setProfileOwner() method in Owners
DDevicePolicyManagerService.java10193 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/
DDevicePolicyManagerTest.java410 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/
DIDevicePolicyManager.aidl189 boolean setProfileOwner(in ComponentName who, int userHandle); in setProfileOwner() method
DDevicePolicyManager.java9682 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/
Dhiddenapi-max-target-o.txt2558 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…