Home
last modified time | relevance | path

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

/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodMapTest.java48 final var imi1 = createFakeInputMethodInfo(TEST_IME_ID1, createFakeSubtypes(0)); in testAreSameSameObject() local
50 final var map = toMap(imi1, imi2); in testAreSameSameObject()
57 final var imi1 = createFakeInputMethodInfo(TEST_IME_ID1, createFakeSubtypes(0)); 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()
68 final var imi1 = createFakeInputMethodInfo(TEST_IME_ID1, createFakeSubtypes(0)); 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()
DInputMethodInfoUtilsTest.java54 final var imi1 = createFakeInputMethodInfo(TEST_IME_ID1, createFakeSubtypes(3)); in testMarshalDifferentObjects() local
58 InputMethodInfoUtils.marshal(imi1), InputMethodInfoUtils.marshal(imi2))); in testMarshalDifferentObjects()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodMap.java122 final var imi1 = map1.valueAt(i); in areSame() local
123 final var imeId = imi1.getId(); in areSame()
128 final var marshaled1 = InputMethodInfoUtils.marshal(imi1); in areSame()