Home
last modified time | relevance | path

Searched refs:methodList (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
H A DInputMethodManagerServiceRestrictImeAmountTest.java52 final List<InputMethodInfo> methodList = filterInputMethodServices(resolveInfoList, in testFilterInputMethodServices_loadsAllImesBelowThreshold() local
54 assertEquals(5, methodList.size()); in testFilterInputMethodServices_loadsAllImesBelowThreshold()
65 final List<InputMethodInfo> methodList = filterInputMethodServices(resolveInfoList, in testFilterInputMethodServices_ignoresImesBeyondThreshold() local
67 assertWithMessage("Filtered IMEs").that(methodList.size()).isEqualTo( in testFilterInputMethodServices_ignoresImesBeyondThreshold()
80 final List<InputMethodInfo> methodList = filterInputMethodServices(resolveInfoList, in testFilterInputMethodServices_loadsSystemImesBeyondThreshold() local
82 assertWithMessage("Filtered IMEs").that(methodList.size()).isEqualTo( in testFilterInputMethodServices_loadsSystemImesBeyondThreshold()
98 final List<InputMethodInfo> methodList = filterInputMethodServices(resolveInfoList, in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages() local
100 assertWithMessage("Filtered IMEs").that(methodList.size()).isEqualTo( in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages()
120 assertWithMessage("Filtered IMEs").that(methodList.size()).isEqualTo( in testFilterInputMethodServices_stillLoadsEnabledImesBeyondThreshold()
127 final ArrayList<InputMethodInfo> methodList = new ArrayList<>(); in filterInputMethodServices() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodManagerService.java2121 final ArrayList<InputMethodInfo> methodList; in getInputMethodListLocked() local
2130 methodList = new ArrayList<>(); in getInputMethodListLocked()
2139 methodList.removeIf(imi -> in getInputMethodListLocked()
2141 return methodList; in getInputMethodListLocked()
2147 final ArrayList<InputMethodInfo> methodList; in getEnabledInputMethodListLocked() local
2158 methodList.removeIf(imi -> in getEnabledInputMethodListLocked()
2160 return methodList; in getEnabledInputMethodListLocked()
5209 methodList.clear(); in queryInputMethodServicesInternal()
5234 methodList.ensureCapacity(services.size()); in queryInputMethodServicesInternal()
5275 methodList.add(imi); in filterInputMethodServices()
[all …]