Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java31 assertEquals(localeString, createDummySubtype(localeString).getLocale()); in verifyLocale()
34 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
35 cloneViaParcel(createDummySubtype(localeString)).getLocale()); in verifyLocale()
38 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
39 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale()); in verifyLocale()
42 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
43 createDummySubtype(localeString).hashCode()); in verifyLocale()
44 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
45 cloneViaParcel(createDummySubtype(localeString)).hashCode()); in verifyLocale()
46 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
[all …]
DInputMethodSubtypeArrayTest.java30 subtypes.add(createDummySubtype(0, "en_US")); in testInstanciate()
31 subtypes.add(createDummySubtype(1, "en_US")); in testInstanciate()
32 subtypes.add(createDummySubtype(2, "ja_JP")); in testInstanciate()
67 private static InputMethodSubtype createDummySubtype(final int id, final String locale) { in createDummySubtype() method in InputMethodSubtypeArrayTest
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java45 private static InputMethodSubtype createDummySubtype(final String locale) { in createDummySubtype() method in InputMethodSubtypeSwitchingControllerTest
73 subtypes.add(createDummySubtype(subtypeLocale)); in addDummyImeSubtypeListItems()
156 subtype = createDummySubtype(currentItem.mSubtypeName.toString()); in assertNextInputMethod()
186 subtype = createDummySubtype(subtypeListItem.mSubtypeName.toString()); in onUserAction()