Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProviderTest.java70 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_success()
79 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(false); in maybeLaunchDpc_cannotResolveIntent()
DFinalizationControllerTest.java82 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java377 assertFalse(mUtils.canResolveIntentAsUser(mockContext, null, TEST_USER_ID)); in testCanResolveIntentAsUser()
386 assertFalse(mUtils.canResolveIntentAsUser(mockContext, intent, TEST_USER_ID)); in testCanResolveIntentAsUser()
392 assertTrue(mUtils.canResolveIntentAsUser(mockContext, intent, TEST_USER_ID)); in testCanResolveIntentAsUser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProvider.java41 if (utils.canResolveIntentAsUser(context, dpcLaunchIntent, userId)) { in maybeLaunchDpc()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java764 public boolean canResolveIntentAsUser(Context context, Intent intent, int userId) { in canResolveIntentAsUser() method in Utils