Searched refs:canResolveIntentAsUser (Results 1 – 8 of 8) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | ProvisioningIntentProvider.java | 43 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/ |
D | ProvisioningIntentProviderTest.java | 73 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(true); in maybeLaunchDpc_success() 84 when(mUtils.canResolveIntentAsUser(any(), any(), anyInt())).thenReturn(false); in maybeLaunchDpc_cannotResolveIntent()
|
D | FinalizationPostSuwControllerTest.java | 95 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
|
D | FinalizationInsideSuwControllerTest.java | 99 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 | 415 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()
|
D | StartDpcInsideSuwServiceConnectionTest.java | 77 when(mUtils.canResolveIntentAsUser(any(Context.class), any(Intent.class), anyInt())) in setUp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | PolicyComplianceUtils.java | 74 final boolean intentResolvable = utils.canResolveIntentAsUser(parentActivity, in getPolicyComplianceIntentIfResolvable()
|
D | Utils.java | 812 public boolean canResolveIntentAsUser(Context context, Intent intent, int userId) { in canResolveIntentAsUser() method
|