Home
last modified time | relevance | path

Searched refs:canResolveIntentAsUser (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProvider.java43 if (utils.canResolveIntentAsUser(context, dpcLaunchIntent, userId)) { in maybeLaunchDpc()
52 return utils.canResolveIntentAsUser(context, dpcLaunchIntent, userId); in canLaunchDpc()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProviderTest.java73 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_success()
84 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(false); in maybeLaunchDpc_cannotResolveIntent()
DFinalizationPostSuwControllerTest.java95 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
DFinalizationInsideSuwControllerTest.java99 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java415 assertFalse(mUtils.canResolveIntentAsUser(mockContext, null, TEST_USER_ID)); in testCanResolveIntentAsUser()
424 assertFalse(mUtils.canResolveIntentAsUser(mockContext, intent, TEST_USER_ID)); in testCanResolveIntentAsUser()
430 assertTrue(mUtils.canResolveIntentAsUser(mockContext, intent, TEST_USER_ID)); in testCanResolveIntentAsUser()
DStartDpcInsideSuwServiceConnectionTest.java77 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DPolicyComplianceUtils.java74 final boolean intentResolvable = utils.canResolveIntentAsUser(parentActivity, in getPolicyComplianceIntentIfResolvable()
DUtils.java812 public boolean canResolveIntentAsUser(Context context, Intent intent, int userId) { in canResolveIntentAsUser() method