Home
last modified time | relevance | path

Searched refs:mAssistManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/conditions/
DAssistantAttentionCondition.java32 private final AssistManager mAssistManager; field in AssistantAttentionCondition
52 mAssistManager = assistManager; in AssistantAttentionCondition()
57 mAssistManager.addVisualQueryAttentionListener(mVisualQueryAttentionListener); in start()
62 mAssistManager.removeVisualQueryAttentionListener(mVisualQueryAttentionListener); in stop()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/conditions/
DAssistantAttentionConditionTest.java50 AssistManager mAssistManager; field in AssistantAttentionConditionTest
60 mAssistantAttentionCondition = new AssistantAttentionCondition(mScope, mAssistManager); in setup()
67 verify(mAssistManager).addVisualQueryAttentionListener( in testEnableVisualQueryDetection()
74 verify(mAssistManager).removeVisualQueryAttentionListener( in testDisableVisualQueryDetection()
82 verify(mAssistManager).addVisualQueryAttentionListener(argumentCaptor.capture()); in testAttentionChangedTriggersCondition()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarTest.java208 private AssistManager mAssistManager; field in NavigationBarTest
264 mDependency.injectTestDependency(AssistManager.class, mAssistManager); in setup()
311 when(mAssistManager.shouldOverrideAssist(INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS)) in testHomeLongPress()
319 verify(mAssistManager).startAssist(any()); in testHomeLongPress()
324 when(mAssistManager.shouldOverrideAssist(INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS)) in testHomeLongPressOverride()
336 verify(mAssistManager, never()).startAssist(any()); in testHomeLongPressOverride()
342 verify(mAssistManager).startAssist(any()); in testHomeLongPressOverride()
569 () -> mAssistManager, in createNavBar()
DNavBarHelperTest.java100 AssistManager mAssistManager; field in NavBarHelperTest
137 when(mAssistManagerLazy.get()).thenReturn(mAssistManager); in setup()
138 when(mAssistManager.getAssistInfoForUser(anyInt())).thenReturn(mAssistantComponent); in setup()
169 verify(mAssistManager, times(1)).getAssistInfoForUser(anyInt()); in testSetupBarsRegistersListeners()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarterTest.java130 private AssistManager mAssistManager; field in StatusBarNotificationActivityStarterTest
249 () -> mAssistManager, in setUp()
319 verify(mAssistManager).hideAssist(); in testOnNotificationClicked_keyGuardShowing()
349 verify(mAssistManager).hideAssist(); in testOnNotificationClicked_bubble_noContentIntent_noKeyGuard()
382 verify(mAssistManager).hideAssist(); in testOnNotificationClicked_bubble_noContentIntent_keyGuardShowing()
410 verify(mAssistManager).hideAssist(); in testOnNotificationClicked_bubble_withContentIntent_keyGuardShowing()
DCentralSurfacesCommandQueueCallbacksTest.java95 @Mock private AssistManager mAssistManager; field in CentralSurfacesCommandQueueCallbacksTest
132 mAssistManager, in setup()
DCentralSurfacesImplTest.java277 @Mock private AssistManager mAssistManager; field in CentralSurfacesImplTest
464 () -> mAssistManager, in setup()
543 () -> mAssistManager, in createCentralSurfaces()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacks.java98 private final AssistManager mAssistManager; field in CentralSurfacesCommandQueueCallbacks
169 mAssistManager = assistManager; in CentralSurfacesCommandQueueCallbacks()
472 mAssistManager.showDisclosure(); in showAssistDisclosure()
492 mAssistManager.startAssist(args); in startAssist()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java83 @Mock private AssistManager mAssistManager; field in DozeServiceHostTest
107 () -> mBiometricUnlockController, () -> mAssistManager, mDozeScrimController, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java125 @Inject Lazy<AssistManager> mAssistManager; field in Dependency
174 mProviders.put(AssistManager.class, mAssistManager::get); in start()