Searched refs:setProfileOwner (Results 1 – 5 of 5) sorted by relevance
93 dpm.setProfileOwner(TEST_COMPONENT_NAME); in getAvailabilityStatus_noPackageAllowed_shouldBeDisabledForUser()100 dpm.setProfileOwner(TEST_COMPONENT_NAME); in getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable()109 dpm.setProfileOwner(TEST_COMPONENT_NAME); in getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable()
138 public boolean setProfileOwner(@NonNull ComponentName admin, int userHandle) in setProfileOwner() method in DevicePolicyManagerCompat140 return this.mManager.setProfileOwner(admin, userHandle); in setProfileOwner()
191 public void setProfileOwner(ComponentName admin) { in setProfileOwner() method in ShadowDevicePolicyManager
311 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), UserHandle.myUserId()); in addAndFinish()
533 mDPM.setProfileOwner(mDeviceAdmin.getComponent(), UserHandle.myUserId()); in addAndFinish()