Searched refs:TEST_MDM_PACKAGE_NAME (Results 1 – 8 of 8) sorted by relevance
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/ |
D | GetProvisioningModeUtilsTest.java | 51 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in GetProvisioningModeUtilsTest 52 private static final String TEST_MDM_ADMIN_RECEIVER = TEST_MDM_PACKAGE_NAME + ".AdminReceiver"; 53 private static final ComponentName TEST_MDM_ADMIN = new ComponentName(TEST_MDM_PACKAGE_NAME, 71 intentGetMode.setPackage(TEST_MDM_PACKAGE_NAME); in isGetProvisioningModeActivityResolvable_resolvableActivity_returnsTrue() 82 intentGetMode.setPackage(TEST_MDM_PACKAGE_NAME); in isGetProvisioningModeActivityResolvable_notResolvableActivity_returnsFalse() 92 intentGetMode.setPackage(TEST_MDM_PACKAGE_NAME); in startGetProvisioningModeActivityIfResolved_resolvableActivity_returnsTrue() 107 intentGetMode.setPackage(TEST_MDM_PACKAGE_NAME); in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent() 120 .isEqualTo(TEST_MDM_PACKAGE_NAME); in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent() 128 intentGetMode.setPackage(TEST_MDM_PACKAGE_NAME); in startGetProvisioningModeActivityIfResolved_resolvableActivity_includesAdditionalExtras() 148 applicationInfo.packageName = TEST_MDM_PACKAGE_NAME; in createFakeResolveInfo()
|
D | PolicyComplianceUtilsTest.kt | 87 assertThat(startedIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME) in startPolicyComplianceActivityForResultIfResolved_activityExists_isStarted() 121 assertThat(startedIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME) in startPolicyComplianceActivityIfResolved_activityExists_isStarted() 152 assertThat(startedIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME) in startPolicyComplianceActivityIfResolved_fromNonActivityContext_isStartedWithNewTaskFlag() 179 intent.setPackage(TEST_MDM_PACKAGE_NAME) in createPolicyComplianceIntent() 184 private const val TEST_MDM_PACKAGE_NAME = "mdm.package.name" constant 185 private const val TEST_MDM_ADMIN_RECEIVER = TEST_MDM_PACKAGE_NAME + ".AdminReceiver" 186 private val TEST_MDM_ADMIN = ComponentName(TEST_MDM_PACKAGE_NAME,
|
D | UtilsRoboTest.java | 50 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in UtilsRoboTest 51 private static final String TEST_MDM_ADMIN_RECEIVER = TEST_MDM_PACKAGE_NAME + ".AdminReceiver"; 52 private static final ComponentName TEST_MDM_ADMIN = new ComponentName(TEST_MDM_PACKAGE_NAME, 211 intentGetMode.setPackage(TEST_MDM_PACKAGE_NAME); in getGetProvisioningModeIntent() 218 policyComplianceIntent.setPackage(TEST_MDM_PACKAGE_NAME); in getPolicyComplianceIntent() 225 applicationInfo.packageName = TEST_MDM_PACKAGE_NAME; in createFakeResolveInfo()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/ |
D | SendDpcBroadcastServiceTest.java | 69 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in SendDpcBroadcastServiceTest 70 private static final String TEST_MDM_ADMIN_RECEIVER = TEST_MDM_PACKAGE_NAME + ".AdminReceiver"; 71 private static final ComponentName TEST_MDM_ADMIN = new ComponentName(TEST_MDM_PACKAGE_NAME, 125 assertThat(launchedActivityIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME); in onStartCommand_legacyFlow_launchesDpcProvisioningSuccessful() 140 assertThat(launchedActivityIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME); in onStartCommand_adminIntegratedFlow_launchesDpcPolicyCompliance() 180 createPolicyComplianceIntent(TEST_MDM_PACKAGE_NAME), in addCreatePolicyComplianceResolveInfo()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | DpcReceivedSuccessReceiverTest.java | 42 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in DpcReceivedSuccessReceiverTest 67 TEST_MDM_PACKAGE_NAME, /* callback */ null); in testReceiver()
|
D | FinalizationInsideSuwControllerTest.java | 77 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in FinalizationInsideSuwControllerTest 78 private static final String TEST_MDM_ADMIN_RECEIVER = TEST_MDM_PACKAGE_NAME + ".AdminReceiver"; 79 private static final ComponentName TEST_MDM_ADMIN = new ComponentName(TEST_MDM_PACKAGE_NAME, 440 assertEquals(TEST_MDM_PACKAGE_NAME, intentCaptor.getValue().getPackage()); in verifyDpcLaunchedForUser()
|
D | UserProvisioningStateHelperTest.java | 56 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in UserProvisioningStateHelperTest 207 .setDeviceAdminPackageName(TEST_MDM_PACKAGE_NAME) in createProvisioningParams()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | StartDpcInsideSuwServiceConnectionTest.java | 57 private static final String TEST_MDM_PACKAGE_NAME = "mdm.package.name"; field in StartDpcInsideSuwServiceConnectionTest 58 private static final String TEST_MDM_ADMIN_RECEIVER = TEST_MDM_PACKAGE_NAME + ".AdminReceiver"; 59 private static final ComponentName TEST_MDM_ADMIN = new ComponentName(TEST_MDM_PACKAGE_NAME, 576 assertEquals(TEST_MDM_PACKAGE_NAME, intentCaptor.getValue().getPackage()); in verifyDpcLaunched()
|