Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java44 assertEquals(localeString, createDummySubtype(localeString).getLocale()); in verifyLocale()
47 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
48 cloneViaParcel(createDummySubtype(localeString)).getLocale()); in verifyLocale()
51 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
52 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale()); in verifyLocale()
55 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
56 createDummySubtype(localeString).hashCode()); in verifyLocale()
57 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
58 cloneViaParcel(createDummySubtype(localeString)).hashCode()); in verifyLocale()
59 assertEquals(createDummySubtype(localeString).hashCode(), in verifyLocale()
[all …]
DInputMethodSubtypeArrayTest.java39 subtypes.add(createDummySubtype(0, "en_US")); in testInstantiate()
40 subtypes.add(createDummySubtype(1, "en_US")); in testInstantiate()
41 subtypes.add(createDummySubtype(2, "ja_JP")); in testInstantiate()
76 private static InputMethodSubtype createDummySubtype(final int id, final String locale) { in createDummySubtype() method in InputMethodSubtypeArrayTest
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompatTest.java205 createDummyIme(true, false, createDummySubtype("keyboard", false, false)))) in isValidSystemNonAuxAsciiCapableIme()
210 createDummyIme(true, false, createDummySubtype("keyboard", false, true)))) in isValidSystemNonAuxAsciiCapableIme()
215 createDummyIme(true, true, createDummySubtype("keyboard", true, true)))) in isValidSystemNonAuxAsciiCapableIme()
220 createDummyIme(true, false, createDummySubtype("voice", false, true)))) in isValidSystemNonAuxAsciiCapableIme()
226 createDummySubtype("keyboard", false, true), in isValidSystemNonAuxAsciiCapableIme()
227 createDummySubtype("keyboard", false, false)))) in isValidSystemNonAuxAsciiCapableIme()
232 createDummyIme(false, false, createDummySubtype("keyboard", false, true)))) in isValidSystemNonAuxAsciiCapableIme()
254 private static InputMethodSubtype createDummySubtype( in createDummySubtype() method in InputMethodAndSubtypeUtilCompatTest
DInputMethodAndSubtypeUtilTest.java203 createDummyIme(false, createDummySubtype("keyboard", false, false)))) in isValidNonAuxAsciiCapableIme()
208 createDummyIme(false, createDummySubtype("keyboard", false, true)))) in isValidNonAuxAsciiCapableIme()
213 createDummyIme(true, createDummySubtype("keyboard", true, true)))) in isValidNonAuxAsciiCapableIme()
218 createDummyIme(false, createDummySubtype("voice", false, true)))) in isValidNonAuxAsciiCapableIme()
224 createDummySubtype("keyboard", false, true), in isValidNonAuxAsciiCapableIme()
225 createDummySubtype("keyboard", false, false)))) in isValidNonAuxAsciiCapableIme()
246 private static InputMethodSubtype createDummySubtype( in createDummySubtype() method in InputMethodAndSubtypeUtilTest
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java57 private static InputMethodSubtype createDummySubtype(final String locale) { in createDummySubtype() method in InputMethodSubtypeSwitchingControllerTest
85 subtypes.add(createDummySubtype(subtypeLocale)); in addDummyImeSubtypeListItems()
170 subtype = createDummySubtype(currentItem.mSubtypeName.toString()); in assertNextInputMethod()
195 subtype = createDummySubtype(subtypeListItem.mSubtypeName.toString()); in onUserAction()