Home
last modified time | relevance | path

Searched refs:policyComplianceIntent (Results 1 – 2 of 2) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DPolicyComplianceUtils.java98 final Intent policyComplianceIntent = getPolicyComplianceIntentIfResolvable(
101 if (policyComplianceIntent != null) {
102 startActivityFunc.accept(policyComplianceIntent, userHandle);
106 context, policyComplianceIntent.getAction());
115 final Intent policyComplianceIntent = getPolicyComplianceIntent(params, context);
117 policyComplianceIntent, userHandle.getIdentifier());
121 policyComplianceIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
123 return intentResolvable ? policyComplianceIntent : null;
129 final Intent policyComplianceIntent =
131 policyComplianceIntent.putExtra(
[all …]
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/
DUtilsRoboTest.java79 Intent policyComplianceIntent = getPolicyComplianceIntent(); in shouldPerformAdminIntegratedFlow_allConditionsMet_returnsTrue() local
83 .addResolveInfoForIntent(policyComplianceIntent, info); in shouldPerformAdminIntegratedFlow_allConditionsMet_returnsTrue()
104 Intent policyComplianceIntent = getPolicyComplianceIntent(); in shouldPerformAdminIntegratedFlow_noGetProvisioningModeScreen_returnsFalse() local
107 .addResolveInfoForIntent(policyComplianceIntent, info); in shouldPerformAdminIntegratedFlow_noGetProvisioningModeScreen_returnsFalse()
216 Intent policyComplianceIntent = in getPolicyComplianceIntent() local
218 policyComplianceIntent.setPackage(TEST_MDM_PACKAGE_NAME); in getPolicyComplianceIntent()
219 return policyComplianceIntent; in getPolicyComplianceIntent()