Home
last modified time | relevance | path

Searched refs:shouldInterceptIntent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DGenericWindowPolicyControllerTest.java610 when(mIntentListenerCallback.shouldInterceptIntent(any(Intent.class))).thenReturn(true); in canActivityBeLaunched_intentInterceptedWhenRegistered_activityNoLaunch()
616 when(mIntentListenerCallback.shouldInterceptIntent(any(Intent.class))).thenReturn(false); in canActivityBeLaunched_intentInterceptedWhenRegistered_activityNoLaunch()
635 when(mIntentListenerCallback.shouldInterceptIntent(any(Intent.class))).thenReturn(false); in canActivityBeLaunched_noMatchIntentFilter_activityLaunches()
640 .shouldInterceptIntent(any(Intent.class)); in canActivityBeLaunched_noMatchIntentFilter_activityLaunches()
975 verify(mIntentListenerCallback, never()).shouldInterceptIntent(any(Intent.class)); in assertActivityCanBeLaunched()
992 .shouldInterceptIntent(any(Intent.class)); in assertActivityIsBlocked()
1003 verify(mIntentListenerCallback, never()).shouldInterceptIntent(any(Intent.class)); in assertNoActivityLaunched()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DGenericWindowPolicyController.java102 boolean shouldInterceptIntent(Intent intent); in shouldInterceptIntent() method
304 && mIntentListenerCallback.shouldInterceptIntent(intent)) { in canActivityBeLaunched()
320 && mIntentListenerCallback.shouldInterceptIntent(intent)) { in canActivityBeLaunched()
DVirtualDeviceImpl.java1173 this::shouldInterceptIntent,
1478 private boolean shouldInterceptIntent(Intent intent) {