Home
last modified time | relevance | path

Searched refs:imi2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodMapTest.java49 final var imi2 = createFakeInputMethodInfo(TEST_IME_ID2, createFakeSubtypes(3)); in testAreSameSameObject() local
50 final var map = toMap(imi1, imi2); in testAreSameSameObject()
58 final var imi2 = createFakeInputMethodInfo(TEST_IME_ID2, createFakeSubtypes(3)); in testAreSameEquivalentObject() local
60 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi1, imi2))); in testAreSameEquivalentObject()
63 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi2, imi1))); in testAreSameEquivalentObject()
69 final var imi2 = createFakeInputMethodInfo(TEST_IME_ID2, createFakeSubtypes(3)); in testAreSameDifferentKeys() local
72 InputMethodMap.areSame(toMap(imi1), toMap(imi1, imi2))); in testAreSameDifferentKeys()
74 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi1))); in testAreSameDifferentKeys()
76 InputMethodMap.areSame(toMap(imi1, imi2), toMap(imi1, imi3))); in testAreSameDifferentKeys()
85 final var imi2 = createFakeInputMethodInfo(TEST_IME_ID2, createFakeSubtypes(3)); in testAreSameDifferentValues() local
[all …]
DInputMethodInfoUtilsTest.java55 final var imi2 = createFakeInputMethodInfo(TEST_IME_ID2, createFakeSubtypes(0)); in testMarshalDifferentObjects() local
58 InputMethodInfoUtils.marshal(imi1), InputMethodInfoUtils.marshal(imi2))); in testMarshalDifferentObjects()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodMap.java124 final var imi2 = map2.get(imeId); in areSame() local
125 if (imi2 == null) { in areSame()
129 final var marshaled2 = InputMethodInfoUtils.marshal(imi2); in areSame()