Home
last modified time | relevance | path

Searched refs:AssistManager (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistantInvocationEvent.kt76 AssistManager.INVOCATION_TYPE_GESTURE -> in eventFromLegacyInvocationType()
79 AssistManager.INVOCATION_TYPE_OTHER -> in eventFromLegacyInvocationType()
82 AssistManager.INVOCATION_TYPE_VOICE -> in eventFromLegacyInvocationType()
85 AssistManager.INVOCATION_TYPE_QUICK_SEARCH_BAR -> in eventFromLegacyInvocationType()
88 AssistManager.INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS -> in eventFromLegacyInvocationType()
91 AssistManager.INVOCATION_TYPE_POWER_BUTTON_LONG_PRESS -> in eventFromLegacyInvocationType()
99 AssistManager.INVOCATION_TYPE_GESTURE -> in eventFromLegacyInvocationType()
102 AssistManager.INVOCATION_TYPE_OTHER -> in eventFromLegacyInvocationType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/conditions/
DAssistantAttentionCondition.java19 import com.android.systemui.assist.AssistManager;
20 import com.android.systemui.assist.AssistManager.VisualQueryAttentionListener;
32 private final AssistManager mAssistManager;
50 AssistManager assistManager) { in AssistantAttentionCondition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java19 import static com.android.systemui.assist.AssistManager.DISMISS_REASON_INVOCATION_CANCELLED;
20 import static com.android.systemui.assist.AssistManager.INVOCATION_TYPE_GESTURE;
39 import com.android.systemui.assist.AssistManager;
56 public class DefaultUiController implements AssistManager.UiController {
71 private final Lazy<AssistManager> mAssistManagerLazy;
84 Lazy<AssistManager> assistManagerLazy, in DefaultUiController()
134 animateInvocationCompletion(AssistManager.INVOCATION_TYPE_GESTURE, velocity); in onGestureCompletion()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/conditions/
DAssistantAttentionConditionTest.java30 import com.android.systemui.assist.AssistManager;
31 import com.android.systemui.assist.AssistManager.VisualQueryAttentionListener;
50 AssistManager mAssistManager;
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/
DShadeControllerKosmos.kt21 import com.android.systemui.assist.AssistManager
57 mock<AssistManager>() in <lambda>()
75 { mock<AssistManager>() }, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DBaseShadeControllerImpl.kt19 import com.android.systemui.assist.AssistManager
33 protected val assistManagerLazy: Lazy<AssistManager>
DShadeControllerImpl.java27 import com.android.systemui.assist.AssistManager;
69 private final Lazy<AssistManager> mAssistManagerLazy;
91 Lazy<AssistManager> assistManagerLazy, in ShadeControllerImpl()
DShadeControllerSceneImpl.kt20 import com.android.systemui.assist.AssistManager in <lambda>()
64 assistManagerLazy: Lazy<AssistManager>, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiBaseFragmentTest.java28 import com.android.systemui.assist.AssistManager;
83 mDependency.injectMockDependency(AssistManager.class); in sysuiSetup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarInflaterViewTest.java34 import com.android.systemui.assist.AssistManager;
55 mDependency.injectMockDependency(AssistManager.class); in setUp()
DNavigationBarTransitionsTest.java34 import com.android.systemui.assist.AssistManager;
72 mDependency.injectMockDependency(AssistManager.class); in setup()
DNavigationBarButtonTest.java40 import com.android.systemui.assist.AssistManager;
81 mDependency.injectMockDependency(AssistManager.class); in setup()
DNavBarHelperTest.java50 import com.android.systemui.assist.AssistManager;
98 Lazy<AssistManager> mAssistManagerLazy;
100 AssistManager mAssistManager;
DNavigationBarTest.java30 import static com.android.systemui.assist.AssistManager.INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS;
85 import com.android.systemui.assist.AssistManager;
208 private AssistManager mAssistManager;
264 mDependency.injectTestDependency(AssistManager.class, mAssistManager); in setup()
275 () -> mock(AssistManager.class), () -> Optional.of(mCentralSurfaces), in setup()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/assist/
DAssistManagerKosmos.kt22 var Kosmos.assistManager by Kosmos.Fixture { mock<AssistManager>() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java53 import com.android.systemui.assist.AssistManager;
80 mDependency.injectMockDependency(AssistManager.class); in setup()
DNavigationBarContextTest.java40 import com.android.systemui.assist.AssistManager;
80 mDependency.injectMockDependency(AssistManager.class); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavBarHelper.java65 import com.android.systemui.assist.AssistManager;
112 private final Lazy<AssistManager> mAssistManagerLazy;
185 Lazy<AssistManager> assistManagerLazy, in NavBarHelper()
454 .shouldOverrideAssist(AssistManager.INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS); in updateAssistantAvailability()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeControllerImplTest.kt26 import com.android.systemui.assist.AssistManager
80 @Mock private lateinit var assistManager: AssistManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java28 import com.android.systemui.assist.AssistManager;
125 @Inject Lazy<AssistManager> mAssistManager;
174 mProviders.put(AssistManager.class, mAssistManager::get); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacksTest.java42 import com.android.systemui.assist.AssistManager;
95 @Mock private AssistManager mAssistManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeServiceHost.java36 import com.android.systemui.assist.AssistManager;
97 private final Lazy<AssistManager> mAssistManagerLazy;
122 Lazy<AssistManager> assistManagerLazy, in DozeServiceHost()
DCentralSurfacesCommandQueueCallbacks.java44 import com.android.systemui.assist.AssistManager;
98 private final AssistManager mAssistManager;
140 AssistManager assistManager, in CentralSurfacesCommandQueueCallbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java61 import com.android.systemui.assist.AssistManager;
460 if (mCode == KeyEvent.KEYCODE_HOME && Dependency.get(AssistManager.class) in abortCurrentGesture()
461 .shouldOverrideAssist(AssistManager.INVOCATION_TYPE_HOME_BUTTON_LONG_PRESS)) { in abortCurrentGesture()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java40 import com.android.systemui.assist.AssistManager;
83 @Mock private AssistManager mAssistManager;

12