Home
last modified time | relevance | path

Searched refs:methodMap (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
H A DInputMethodUtilsTest.java815 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
822 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
835 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
843 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
859 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
860 methodMap.put(secondIme.getId(), secondIme); in testChooseSystemVoiceIme()
870 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
871 methodMap.put(secondIme.getId(), secondIme); in testChooseSystemVoiceIme()
881 methodMap.put(nonSystemIme.getId(), nonSystemIme); in testChooseSystemVoiceIme()
891 methodMap.put(systemIme.getId(), systemIme); in testChooseSystemVoiceIme()
[all …]
H A DAdditionalSubtypeUtilsTest.java55 ArrayMap<String, InputMethodInfo> methodMap = new ArrayMap<>(); in testSaveAndLoad() local
56 methodMap.put(fakeImeId, new InputMethodInfo("", "", "", "")); in testSaveAndLoad()
63 AdditionalSubtypeUtils.saveToFile(allSubtypes, methodMap, atomicFile); in testSaveAndLoad()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DAdditionalSubtypeUtils.java117 ArrayMap<String, InputMethodInfo> methodMap, @UserIdInt int userId) { in save() argument
141 saveToFile(allSubtypes, methodMap, getAdditionalSubtypeFile(inputMethodDir)); in save()
146 ArrayMap<String, InputMethodInfo> methodMap, AtomicFile subtypesFile) { in saveToFile() argument
148 final boolean isSetMethodMap = methodMap != null && methodMap.size() > 0; in saveToFile()
157 if (isSetMethodMap && !methodMap.containsKey(imiId)) { in saveToFile()
H A DInputMethodInfoUtils.java209 @NonNull ArrayMap<String, InputMethodInfo> methodMap, in chooseSystemVoiceIme() argument
215 final InputMethodInfo defaultVoiceIme = methodMap.get(currentDefaultVoiceImeId); in chooseSystemVoiceIme()
222 final int methodCount = methodMap.size(); in chooseSystemVoiceIme()
224 final InputMethodInfo imi = methodMap.valueAt(i); in chooseSystemVoiceIme()
H A DInputMethodManagerService.java2230 final InputMethodInfo imi = methodMap.get(imiId); in getEnabledInputMethodSubtypeListLocked()
5210 methodMap.clear(); in queryInputMethodServicesInternal()
5235 methodMap.ensureCapacity(services.size()); in queryInputMethodServicesInternal()
5276 methodMap.put(imi.getId(), imi); in filterInputMethodServices()
5665 methodMap, methodList, DirectBootAwareness.AUTO, in queryMethodMapForUser()
5667 return methodMap; in queryMethodMapForUser()
5684 if (!methodMap.containsKey(imeId) in switchToInputMethodLocked()
5787 if (!methodMap.containsKey(imeId)) { in setInputMethodEnabled()
5792 methodMap.get(imeId))) { in setInputMethodEnabled()
6540 if (!methodMap.containsKey(imeId)) { in handleShellCommandEnableDisableInputMethodInternalLocked()
[all …]
H A DInputMethodUtils.java289 ArrayMap<String, InputMethodInfo> methodMap, @UserIdInt int userId, in InputMethodSettings() argument
291 mMethodMap = methodMap; in InputMethodSettings()
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
H A DInputMethodManagerServiceRestrictImeAmountTest.java126 final ArrayMap<String, InputMethodInfo> methodMap = new ArrayMap<>(); in filterInputMethodServices() local
128 InputMethodManagerService.filterInputMethodServices(new ArrayMap<>(), methodMap, methodList, in filterInputMethodServices()