Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java266 mUtils.findDeviceAdmin(null, TEST_COMPONENT_NAME_2, mockContext, TEST_USER_ID)); in testFindDeviceAdmin_ComponentName()
275 mUtils.findDeviceAdmin( in testFindDeviceAdmin_PackageName()
288 mUtils.findDeviceAdmin( in testFindDeviceAdmin_NoPackageName()
302 mUtils.findDeviceAdmin( in testFindDeviceAdmin_AnotherComponentName()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DMessageParserTest.java68 .findDeviceAdmin(null, TEST_COMPONENT_NAME, mContext, UserHandle.myUserId()); in test_correctParserUsedToParseOtherSupportedProvisioningIntent()
DExtrasProvisioningDataParserTest.java1331 .findDeviceAdmin(packageName, TEST_COMPONENT_NAME, mContext, UserHandle.myUserId()); in mockInstalledDeviceAdmin()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DCreateAndProvisionManagedProfileTaskTest.java87 when(mUtils.findDeviceAdmin(TEST_DPC_PACKAGE_NAME, ADMIN, mContext, TEST_USER_ID)) in setUp()
DProvisionFullyManagedDeviceTaskTest.java90 when(mUtils.findDeviceAdmin(TEST_DPC_PACKAGE_NAME, ADMIN, mContext, TEST_USER_ID)) in setUp()
DSetDeviceOwnerPolicyTaskTest.java79 when(mUtils.findDeviceAdmin(null, ADMIN_COMPONENT_NAME, mContext, TEST_USER_ID)) in setUp()
/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/finalization/
DProvisioningIntentProviderTest.java215 when(mUtils.findDeviceAdmin(eq(DEVICE_ADMIN_PACKAGE_NAME), any(), any(), anyInt())) in createProvisioningIntent_cannotFindAdmin()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/networkconnection/
DEstablishNetworkConnectionViewModelTest.java153 when(mUtils.findDeviceAdmin(anyString(), any(), any(), anyInt())).thenReturn(ADMIN); in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java276 when(mUtils.findDeviceAdmin(eq(TEST_PACKAGE_NAME), nullable(ComponentName.class), in testInferDeviceAdminComponentName_componentNameIsNotGiven()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityControllerTest.java2024 when(mUtils.findDeviceAdmin(TEST_MDM_PACKAGE, null, mContext, UserHandle.myUserId())) in prepareMocksForManagedProfileIntent()
2035 when(mUtils.findDeviceAdmin(TEST_MDM_PACKAGE, null, mContext, UserHandle.myUserId())) in prepareMocksForManagedProfileIntent()
2049 when(mUtils.findDeviceAdmin(TEST_MDM_PACKAGE, null, mContext, UserHandle.myUserId())) in prepareMocksForFinancedDeviceIntent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java195 public ComponentName findDeviceAdmin(String dpcPackageName, ComponentName dpcComponentName, in findDeviceAdmin() method in Utils
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java377 return utils.findDeviceAdmin( in inferDeviceAdminComponentName()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java510 deviceAdminComponentName = mUtils.findDeviceAdmin( in parseMinimalistSupportedProvisioningDataInternal()