Searched refs:canResolveIntentAsUser (Results 1 – 7 of 7) sorted by relevance
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
H A D | ProvisioningIntentProviderTest.java | 110 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_adminIntegratedFlow_policyComplianceActionLaunched() 138 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_legacyFlow_duringSetupWizard_provisioningSuccessfulLaunched() 153 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_legacyFlow_duringSetupWizard_policyComplianceResolvable_policyComplianceLaunched() 170 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_legacyFlow_policyComplianceResolvable_hasProvisioningTrigger_provisioningSuccessfulLaunched() 188 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(false); in maybeLaunchDpc_cannotResolveIntent() 223 when(mUtils.canResolveIntentAsUser(any(), any(Intent.class), anyInt())) in makeProvisioningSuccessfulIntentResolvable()
|
H A D | FinalizationInsideSuwControllerTest.java | 111 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp() 182 when(mUtils.canResolveIntentAsUser(eq(mActivity), any(Intent.class), in testManagedProfileFinalizationDuringSuw()
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
H A D | ProvisioningIntentProvider.java | 96 if (utils.canResolveIntentAsUser(context, dpcLaunchIntent, userId)) { in launchProvisioningSuccessfulDpcHandler() 106 return utils.canResolveIntentAsUser(context, dpcLaunchIntent, userId); in canLaunchDpc()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
H A D | UtilsTest.java | 407 assertFalse(mUtils.canResolveIntentAsUser(mockContext, null, TEST_USER_ID)); in testCanResolveIntentAsUser() 416 assertFalse(mUtils.canResolveIntentAsUser(mockContext, intent, TEST_USER_ID)); in testCanResolveIntentAsUser() 422 assertTrue(mUtils.canResolveIntentAsUser(mockContext, intent, TEST_USER_ID)); in testCanResolveIntentAsUser()
|
H A D | StartDpcInsideSuwServiceConnectionTest.java | 87 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | PolicyComplianceUtils.java | 116 final boolean intentResolvable = utils.canResolveIntentAsUser(context,
|
H A D | Utils.java | 674 public boolean canResolveIntentAsUser(Context context, Intent intent, int userId) { in canResolveIntentAsUser() method
|