/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ |
D | EnabledKeyboardPreferenceControllerTest.java | 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() 205 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in performClick_launchSettingsActivity() 225 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in performClick_missingSettingsActivity_noCrash() 238 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in performClick_noSettingsActivity_noCrash()
|
D | KeyboardPreferenceControllerTest.java | 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 | InputMethodUtilTest.java | 125 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(null); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull() 138 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() 162 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME() 275 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_notEnabled_remainsUnchanged() 292 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_notDefault_removesIMEWhileDefaultRemainsSame() 309 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_twoDefaultableIMEsEnabled_removesIMEAndChangesDefault() 326 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_isDefaultWithNoOtherDefaultableEnabled_remainsUnchanged()
|
D | KeyboardManagementPreferenceControllerTest.java | 485 assertThat(getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled() 724 assertThat(getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showDirectBootDialog_positive_inputMethodEnabled() 862 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled() 931 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleFalse_inputMethodDisabled() 1212 when(mInputMethodManager.getEnabledInputMethodList()).thenAnswer( in setEnabledInputMethodList() 1213 (Answer<List<InputMethodInfo>>) invocation -> getEnabledInputMethodList()); in setEnabledInputMethodList() 1216 private List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in KeyboardManagementPreferenceControllerTest
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | InputMethodSettingValuesWrapper.java | 75 if (getEnabledInputMethodList().size() <= 1 && isEnabled) { in isAlwaysCheckedIme() 90 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in getEnabledValidNonAuxAsciiCapableImeCount() 103 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in isEnabledImi() 119 private ArrayList<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in InputMethodSettingValuesWrapper
|
D | InputMethodHelper.java | 48 new ArrayList<>(inputMethodManager.getEnabledInputMethodList()); in getEnabledSystemInputMethodList()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | VirtualKeyboardPreferenceControllerTest.java | 102 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_singleIme_setImeLabelToSummary() 121 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | InputMethodUtil.java | 73 List<InputMethodInfo> inputMethodInfos = imm.getEnabledInputMethodList(); in getPermittedAndEnabledInputMethodList() 169 .getEnabledInputMethodList(); in disableInputMethod()
|
D | KeyboardManagementPreferenceController.java | 170 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList(); in isOnlyEnabledDefaultInputMethod()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/ |
D | ShadowInputMethodManager.java | 35 public List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in ShadowInputMethodManager
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | UncachedInputMethodManagerUtils.java | 42 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) { in isThisImeEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowInputMethodManagerWithMethodList.java | 51 protected List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in ShadowInputMethodManagerWithMethodList
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodManager.java | 168 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in switchToNextInputMethodAndSubtype() 359 final List<InputMethodInfo> enabledImis = mImmWrapper.mImm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes() 513 inputMethodManager.getEnabledInputMethodList(); in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | VirtualKeyboardPreferenceController.java | 62 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateState()
|
D | UserDictionaryListPreferenceController.java | 110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | InputMethodHelper.java | 48 new ArrayList<>(inputMethodManager.getEnabledInputMethodList()); in getEnabledSystemInputMethodList()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryList.java | 85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowInputMethodManager.java | 78 protected List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in ShadowInputMethodManager
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 327 List<InputMethodInfo> imeInfos = mImeManager.getEnabledInputMethodList(); in canCallerAccessUserDictionary()
|