Searched refs:getAssistComponentForUser (Results 1 – 6 of 6) sorted by relevance
94 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 …]
174 public ComponentName getAssistComponentForUser(int userId) { in getAssistComponentForUser() method in AssistUtils
203 mAssistUtils.getAssistComponentForUser(KeyguardUpdateMonitor.getCurrentUser()); in handlesUnblocked()
431 return mAssistUtils.getAssistComponentForUser(userId); in getAssistInfoForUser()
468 final ComponentName cn = mAssistUtils.getAssistComponentForUser(userId); in getAssistant()
437 final ComponentName assistComponent = assistUtils.getAssistComponentForUser(userId); in getDefaultApplicationShortcuts()