Searched refs:canResolveIntentAsUser (Results 1 – 5 of 5) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | ProvisioningIntentProviderTest.java | 70 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_success() 79 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(false); in maybeLaunchDpc_cannotResolveIntent()
|
D | FinalizationControllerTest.java | 82 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 377 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/ |
D | ProvisioningIntentProvider.java | 41 if (utils.canResolveIntentAsUser(context, dpcLaunchIntent, userId)) { in maybeLaunchDpc()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 764 public boolean canResolveIntentAsUser(Context context, Intent intent, int userId) { in canResolveIntentAsUser() method in Utils
|