Home
last modified time | relevance | path

Searched refs:findDeviceAdmin (Results 1 – 11 of 11) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java227 mUtils.findDeviceAdmin(null, TEST_COMPONENT_NAME_2, mockContext, TEST_USER_ID)); in testFindDeviceAdmin_ComponentName()
236 mUtils.findDeviceAdmin( in testFindDeviceAdmin_PackageName()
249 mUtils.findDeviceAdmin( in testFindDeviceAdmin_NoPackageName()
263 mUtils.findDeviceAdmin( in testFindDeviceAdmin_AnotherComponentName()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProviderTest.java104 when(mUtils.findDeviceAdmin(eq(DEVICE_ADMIN_PACKAGE_NAME), any(), any(), anyInt())) in createProvisioningIntent_cannotFindAdmin()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DMessageParserTest.java111 .findDeviceAdmin(null, TEST_COMPONENT_NAME, mContext, UserHandle.myUserId()); in test_correctParserUsedToParseOtherSupportedProvisioningIntent()
DExtrasProvisioningDataParserTest.java884 .findDeviceAdmin(packageName, TEST_COMPONENT_NAME, mContext, UserHandle.myUserId()); in mockInstalledDeviceAdmin()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogicTest.java84 when(mUtils.findDeviceAdmin(nullable(String.class), nullable(ComponentName.class), in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DSetDevicePolicyTaskTest.java83 when(mUtils.findDeviceAdmin(null, ADMIN_COMPONENT_NAME, mContext, TEST_USER_ID)) in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java258 when(mUtils.findDeviceAdmin(eq(TEST_PACKAGE_NAME), nullable(ComponentName.class), in testInferDeviceAdminComponentName_componentNameIsNotGiven()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java282 return utils.findDeviceAdmin( in inferDeviceAdminComponentName()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java204 public ComponentName findDeviceAdmin(String dpcPackageName, ComponentName dpcComponentName, in findDeviceAdmin() method in Utils
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java531 deviceAdminComponentName = mUtils.findDeviceAdmin( in parseMinimalistSupportedProvisioningDataInternal()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningControllerTest.java705 when(mUtils.findDeviceAdmin(TEST_MDM_PACKAGE, null, mContext, UserHandle.myUserId())) in prepareMocksForManagedProfileIntent()