Home
last modified time | relevance | path

Searched refs:getTokens (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DHanziToPinyinTest.java43 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(hanziString); in test()
68 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(ONE_HANZI); in testGetToken()
73 tokens = HanziToPinyin.getInstance().getTokens(TWO_HANZI); in testGetToken()
80 tokens = HanziToPinyin.getInstance().getTokens(ASSIC); in testGetToken()
84 tokens = HanziToPinyin.getInstance().getTokens(ONE_UNKNOWN); in testGetToken()
88 tokens = HanziToPinyin.getInstance().getTokens(MISC); in testGetToken()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/util/
DSqliteTokenFinderTest.java34 private List<Pair<Integer, String>> getTokens(String sql) { in getTokens() method in SqliteTokenFinderTest
48 assertEquals(expected, getTokens(sql)); in checkTokens()
60 assertEquals(expected, getTokens(sql)); in checkTokensRegular()
65 getTokens(sql); in assertInvalidSql()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/
DSqlCheckerTest.java28 private ArrayList<String> getTokens(String sql) { in getTokens() method in SqlCheckerTest
41 assertEquals(expected, getTokens(sql)); in checkTokens()
46 getTokens(sql); in assertInvalidSql()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java106 public String getTokens() { in getTokens() method in SearchIndexManager.IndexBuilder
401 mValues.put(SearchIndexColumns.TOKENS, builder.getTokens()); in insertIndexRow()
DHanziToPinyin.java137 public ArrayList<Token> getTokens(final String input) { in getTokens() method in HanziToPinyin
DContactLocaleUtils.java472 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(name); in getPinyinNameLookupKeys()