Home
last modified time | relevance | path

Searched refs:getAssistComponentForUser (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/assist/
DAssistHandleBehaviorControllerTest.java94 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in hide_hidesHandlesWhenShowing()
109 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in hide_doesNothingWhenHiding()
123 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in showAndStay_showsHandlesWhenHiding()
138 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in showAndStay_doesNothingWhenShowing()
152 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(null); in showAndStay_doesNothingWhenThereIsNoAssistant()
166 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in showAndGo_showsThenHidesHandlesWhenHiding()
183 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in showAndGo_hidesHandlesAfterTimeoutWhenShowing()
198 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in showAndGo_doesNothingIfRecentlyHidden()
215 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(null); in showAndGo_doesNothingWhenThereIsNoAssistant()
229 when(mMockAssistUtils.getAssistComponentForUser(anyInt())).thenReturn(COMPONENT_NAME); in showAndGoDelayed_showsThenHidesHandlesWhenHiding()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DAssistUtils.java174 public ComponentName getAssistComponentForUser(int userId) { in getAssistComponentForUser() method in AssistUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleBehaviorController.java203 mAssistUtils.getAssistComponentForUser(KeyguardUpdateMonitor.getCurrentUser()); in handlesUnblocked()
DAssistManager.java431 return mAssistUtils.getAssistComponentForUser(userId); in getAssistInfoForUser()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java468 final ComponentName cn = mAssistUtils.getAssistComponentForUser(userId); in getAssistant()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java437 final ComponentName assistComponent = assistUtils.getAssistComponentForUser(userId); in getDefaultApplicationShortcuts()