| /packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ | 
| D | InputMethodUtilTest.java | 77     private InputMethodManager mInputMethodManager;  field in InputMethodUtilTest 125         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(null);  in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 128                 mInputMethodManager, mDevicePolicyManager);  in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 137                 mPackageManager, mInputMethodManager, PLACEHOLDER_PACKAGE_NAME);  in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 138         when(mInputMethodManager.getEnabledInputMethodList())  in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 144                 mInputMethodManager, mDevicePolicyManager);  in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 155                 mPackageManager, mInputMethodManager, PLACEHOLDER_PACKAGE_NAME);  in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 159                     mPackageManager, mInputMethodManager, gvtPackageName);  in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 162         when(mInputMethodManager.getEnabledInputMethodList())  in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 170                 mInputMethodManager, mDevicePolicyManager);  in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() [all …] 
 | 
| D | EnabledKeyboardPreferenceControllerTest.java | 84     private InputMethodManager mInputMethodManager;  field in EnabledKeyboardPreferenceControllerTest 99         when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager);  in setUp() 116         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_permitAllInputMethods() 128         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_hasAllowedImeByOrganization() 140         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_disallowedByOrganization() 153             when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_skipVoiceTyping() 165         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_verifyPreferenceIcon() 178         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_verifyPreferenceTitle() 191         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_verifyPreferenceSummary() 197                 InputMethodUtil.getSummaryString(mContext, mInputMethodManager, infos.get(0)));  in refreshUi_verifyPreferenceSummary() [all …] 
 | 
| D | KeyboardPreferenceControllerTest.java | 76     private InputMethodManager mInputMethodManager;  field in KeyboardPreferenceControllerTest 90         when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager);  in setUp() 103         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(Collections.emptyList());  in refreshUi_noInputMethodInfo() 117         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_permitAllInputMethods_hasOneInputMethodInfo() 134         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo() 154         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo() 171         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_hasAllowedImeByOrganization() 186         when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos);  in refreshUi_disallowedByOrganization()
  | 
| D | KeyboardManagementPreferenceControllerTest.java | 102     private InputMethodManager mInputMethodManager;  field in KeyboardManagementPreferenceControllerTest 120         when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager);  in setUp() 121         when(mInputMethodManager.getInputMethodList()).thenReturn(new ArrayList<>());  in setUp() 311                 InputMethodUtil.getSummaryString(mContext, mInputMethodManager, infos.get(0)));  in refreshUi_verifyPreferenceSummary() 862         assertThat(mInputMethodManager.getEnabledInputMethodList().size())  in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled() 931         assertThat(mInputMethodManager.getEnabledInputMethodList().size())  in performClick_toggleFalse_inputMethodDisabled() 1134         when(mInputMethodManager.getEnabledInputMethodSubtypeList(any(), anyBoolean()))  in createMockInputMethodInfo() 1194         when(mInputMethodManager.getInputMethodList()).thenReturn(list);  in setInputMethodList() 1212         when(mInputMethodManager.getEnabledInputMethodList()).thenAnswer(  in setEnabledInputMethodList()
  | 
| /packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ | 
| D | KeyboardManagementPreferenceController.java | 52     private final InputMethodManager mInputMethodManager;  field in KeyboardManagementPreferenceController 84         mInputMethodManager = context.getSystemService(InputMethodManager.class);  in KeyboardManagementPreferenceController() 120         List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getInputMethodList();  in updateState() 128                         mInputMethodManager, a)));  in updateState() 170         List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList();  in isOnlyEnabledDefaultInputMethod() 200                 mInputMethodManager, inputMethodInfo));  in createSwitchPreference()  local 222                 InputMethodUtil.disableInputMethod(getContext(), mInputMethodManager,  in createSwitchPreference()  local
  | 
| D | KeyboardPreferenceController.java | 40     private final InputMethodManager mInputMethodManager;  field in KeyboardPreferenceController 49         mInputMethodManager = context.getSystemService(InputMethodManager.class);  in KeyboardPreferenceController() 61                     mInputMethodManager, mDevicePolicyManager);  in updateState()
  | 
| D | EnabledKeyboardPreferenceController.java | 53     private final InputMethodManager mInputMethodManager;  field in EnabledKeyboardPreferenceController 62         mInputMethodManager = context.getSystemService(InputMethodManager.class);  in EnabledKeyboardPreferenceController() 76                     mInputMethodManager, mDevicePolicyManager);  in updateState() 125                 getContext(), mInputMethodManager, inputMethodInfo));  in createPreference()  local
  | 
| /packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ | 
| D | InputMethodManagerCompat.java | 23     private InputMethodManager mInputMethodManager;  field in InputMethodManagerCompat 25         mInputMethodManager = inputMethodManager;  in InputMethodManagerCompat() 29         return mInputMethodManager.getInputMethodListAsUser(userId, directBootAwareness);  in getInputMethodListAsUser()
  | 
| /packages/apps/Settings/src/com/android/settings/language/ | 
| D | LanguageAndInputPreferenceController.java | 35     private InputMethodManager mInputMethodManager;  field in LanguageAndInputPreferenceController 40         mInputMethodManager = mContext.getSystemService(InputMethodManager.class);  in LanguageAndInputPreferenceController() 57             final List<InputMethodInfo> imis = mInputMethodManager.getInputMethodList();  in getSummary()
  | 
| /packages/apps/Car/SystemUI/src/com/android/systemui/wm/ | 
| D | DisplaySystemBarsInsetsControllerHost.java | 47     private final InputMethodManager mInputMethodManager;  field in DisplaySystemBarsInsetsControllerHost 54         mInputMethodManager = inputMethodManager;  in DisplaySystemBarsInsetsControllerHost() 148         return mInputMethodManager;  in getInputMethodManager()
  | 
| /packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ | 
| D | AvailableVirtualKeyboardFragmentTest.java | 75     private InputMethodManager mInputMethodManager;  field in AvailableVirtualKeyboardFragmentTest 162         verify(mInputMethodManager).getEnabledInputMethodListAsUser(anyInt());  in updateInputMethodPreferenceViews_callsExpectedMethods() 200         when(mContext.getSystemService(InputMethodManager.class)).thenReturn(mInputMethodManager);  in initMock()
  | 
| /packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ | 
| D | MainClusterActivity.java | 111     private InputMethodManager mInputMethodManager;  field in MainClusterActivity 235         mInputMethodManager = getSystemService(InputMethodManager.class);  in onCreate() 358         mInputMethodManager.dispatchKeyEventFromInputMethod(getCurrentFocus(), event);  in onKeyEvent()
  | 
| /packages/apps/Settings/src/com/android/settings/applications/manageapplications/ | 
| D | ManageApplications.java | 1898             private InputMethodManager mInputMethodManager;  field in ManageApplications.ApplicationsAdapter.OnScrollListener 1904                 mInputMethodManager = mAdapter.mContext.getSystemService(  in OnScrollListener() 1918                     if (mInputMethodManager != null && mInputMethodManager.isActive()) {  in onScrollStateChanged() 1919                         mInputMethodManager.hideSoftInputFromWindow(recyclerView.getWindowToken(),  in onScrollStateChanged()
  | 
| /packages/apps/Car/RotaryController/src/com/android/car/rotary/ | 
| D | RotaryService.java | 565     @Nullable private InputMethodManager mInputMethodManager;  field in RotaryService 618         mInputMethodManager = getSystemService(InputMethodManager.class);  in onCreate() 619         if (mInputMethodManager == null) {  in onCreate() 686         if (!Utils.isInstalledIme(imeConfiguration, mInputMethodManager)) {  in validateImeConfiguration() 2737         if (!Utils.isInstalledIme(newIme, mInputMethodManager)) {  in updateIme()
  |