Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java150 private static final ComponentName TEST_COMPONENT_NAME = field in ExtrasProvisioningDataParserTest
258 .putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, TEST_COMPONENT_NAME) in testParse_trustedSourceProvisioningIntent()
284 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_trustedSourceProvisioningIntent()
315 .putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, TEST_COMPONENT_NAME) in testParse_financedDeviceProvisioningIntent()
334 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_financedDeviceProvisioningIntent()
359 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_resumeProvisioningIntent()
373 .putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, TEST_COMPONENT_NAME) in testParse_managedProfileIntent()
397 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_managedProfileIntent()
426 when(mDpm.getDeviceOwnerComponentOnCallingUser()).thenReturn(TEST_COMPONENT_NAME); in testParse_managedProfileIntent_CompProvisioning()
436 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_managedProfileIntent_CompProvisioning()
[all …]
DMessageParserTest.java54 private static final ComponentName TEST_COMPONENT_NAME = field in MessageParserTest
89 TEST_COMPONENT_NAME.flattenToString()); in test_correctParserUsedToParseNfcIntent()
109 doReturn(TEST_COMPONENT_NAME) in test_correctParserUsedToParseOtherSupportedProvisioningIntent()
111 .findDeviceAdmin(null, TEST_COMPONENT_NAME, mContext, UserHandle.myUserId()); in test_correctParserUsedToParseOtherSupportedProvisioningIntent()
123 .putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, TEST_COMPONENT_NAME); in test_correctParserUsedToParseOtherSupportedProvisioningIntent()
DPropertiesProvisioningDataParserTest.java145 private static final ComponentName TEST_COMPONENT_NAME = field in PropertiesProvisioningDataParserTest
242 TEST_COMPONENT_NAME.flattenToString()); in testParse_nfcProvisioningIntent()
265 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_nfcProvisioningIntent()
326 TEST_COMPONENT_NAME.flattenToString()); in testParse_nfcProvisioning_wifiWithCertificates()
347 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testParse_nfcProvisioning_wifiWithCertificates()
381 .putExtra(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, TEST_COMPONENT_NAME) in testParse_OtherIntentsThrowsException()
444 TEST_COMPONENT_NAME.flattenToString()); in buildIntentWithAllShortExtras()
494 TEST_COMPONENT_NAME.flattenToString()); in buildIntentWithAllLongExtras()
666 TEST_COMPONENT_NAME.flattenToString()); in buildNfcProvisioningProperties()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java49 private static final ComponentName TEST_COMPONENT_NAME = field in ProvisioningParamsTest
131 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testFailToConstructProvisioningParamsWithoutProvisioningAction()
156 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testNotEquals()
174 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testNotEquals()
240 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in testInferDeviceAdminComponentName_componentNameIsGiven()
244 assertThat(TEST_COMPONENT_NAME) in testInferDeviceAdminComponentName_componentNameIsGiven()
259 eq(mContext), eq(UserHandle.myUserId()))).thenReturn(TEST_COMPONENT_NAME); in testInferDeviceAdminComponentName_componentNameIsNotGiven()
261 assertThat(TEST_COMPONENT_NAME) in testInferDeviceAdminComponentName_componentNameIsNotGiven()
289 .setDeviceAdminComponentName(TEST_COMPONENT_NAME); in createDefaultProvisioningParamsBuilder()
296 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in getCompleteProvisioningParams()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceControllerTest.java62 private static final ComponentName TEST_COMPONENT_NAME = new ComponentName("test", "test"); field in CrossProfileCalendarPreferenceControllerTest
96 dpm.setProfileOwner(TEST_COMPONENT_NAME); in getAvailabilityStatus_noPackageAllowed_shouldBeDisabledForUser()
103 dpm.setProfileOwner(TEST_COMPONENT_NAME); in getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable()
104 dpm.setCrossProfileCalendarPackages(TEST_COMPONENT_NAME, in getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable()
112 dpm.setProfileOwner(TEST_COMPONENT_NAME); in getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable()
113 dpm.setCrossProfileCalendarPackages(TEST_COMPONENT_NAME, null); in getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java68 private static final ComponentName TEST_COMPONENT_NAME = field in UtilsTest
134 mUtils.setComponentEnabledSetting(mockIPackageManager, TEST_COMPONENT_NAME, in testSetComponentEnabledSetting()
137 verify(mockIPackageManager).setComponentEnabledSetting(eq(TEST_COMPONENT_NAME), in testSetComponentEnabledSetting()
273 assertEquals(TEST_COMPONENT_NAME, in testFindDeviceAdmin_PackageName()
314 assertEquals(TEST_COMPONENT_NAME, in testFindDeviceAdminInPackageInfo_Success()
349 assertEquals(TEST_COMPONENT_NAME, mUtils.findDeviceAdminInPackageInfo( in testFindDeviceAdminInPackageInfo_TwoAdminsWithComponentName()
350 TEST_PACKAGE_NAME_1, TEST_COMPONENT_NAME, packageInfo)); in testFindDeviceAdminInPackageInfo_TwoAdminsWithComponentName()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/
DDownloadPackageTaskRoboTest.java46 private static final ComponentName TEST_COMPONENT_NAME = field in DownloadPackageTaskRoboTest
128 packageInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in installTestPackage()
139 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in createDefaultProvisioningParamsBuilder()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareActivityTest.java44 private static final ComponentName TEST_COMPONENT_NAME = field in AdminIntegratedFlowPrepareActivityTest
169 packageInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in installTestPackage()
176 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in createDefaultProvisioningParamsBuilder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DFinancedDeviceLandingActivityTest.java48 private static final ComponentName TEST_COMPONENT_NAME = field in FinancedDeviceLandingActivityTest
70 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in generateProvisioningParams()
DLandingActivityTest.java51 private static final ComponentName TEST_COMPONENT_NAME = field in LandingActivityTest
105 .setDeviceAdminComponentName(TEST_COMPONENT_NAME) in createDefaultProvisioningParamsBuilder()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java92 private static final ComponentName TEST_COMPONENT_NAME = new ComponentName( field in TelephonyConnectionServiceTest
97 TEST_COMPONENT_NAME, TEST_ACCOUNT_ID1);
99 TEST_COMPONENT_NAME, TEST_ACCOUNT_ID2);