Home
last modified time | relevance | path

Searched refs:setActiveAdmin (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DSetDevicePolicyTask.java70 setActiveAdmin(mAdminComponent); in run()
96 private void setActiveAdmin(ComponentName component) { in setActiveAdmin() method in SetDevicePolicyTask
98 mDevicePolicyManager.setActiveAdmin(component, true, mUserId); in setActiveAdmin()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DSetDevicePolicyTaskTest.java90 verify(mDevicePolicyManager).setActiveAdmin(ADMIN_COMPONENT_NAME, true, TEST_USER_ID); in testSetActiveAdmin()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProfileOwnerProvisioningService.java521 dpm.setActiveAdmin(mParams.deviceAdminComponentName, true /* refreshing*/, in setMdmAsActiveAdmin()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java398 mDPM.setActiveAdmin(mDeviceAdmin.getComponent(), mRefreshing); in addAndFinish()