Home
last modified time | relevance | path

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

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DShortcutRepositoryTest.java889 void assertShortcuts(String message, String query, Collection<Corpus> allowedCorpora, in assertShortcuts() argument
891 …SuggestionCursor cursor = mRepo.getShortcutsForQuery(query, allowedCorpora, allowWebSearchShortcut… in assertShortcuts()
899 void assertShortcuts(String message, String query, Collection<Corpus> allowedCorpora, in assertShortcuts() argument
901 assertShortcuts(message, query, allowedCorpora, true, expected); in assertShortcuts()
904 SuggestionCursor getShortcuts(String query, Collection<Corpus> allowedCorpora) { in getShortcuts() argument
905 return mRepo.getShortcutsForQuery(query, allowedCorpora, true, NOW); in getShortcuts()
908 void assertShortcuts(String message, String query, Collection<Corpus> allowedCorpora, in assertShortcuts() argument
910 assertShortcuts(message, query, allowedCorpora, allowWebSearchShortcuts, in assertShortcuts()
914 void assertShortcuts(String message, String query, Collection<Corpus> allowedCorpora, in assertShortcuts() argument
916 assertShortcuts(message, query, allowedCorpora, new ListSuggestionCursor(query, expected)); in assertShortcuts()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutRepository.java74 void getShortcutsForQuery(String query, Collection<Corpus> allowedCorpora, in getShortcutsForQuery() argument
DShortcutRepositoryImplLog.java269 public void getShortcutsForQuery(final String query, final Collection<Corpus> allowedCorpora, in getShortcutsForQuery() argument
274 ShortcutCursor shortcuts = getShortcutsForQuery(query, allowedCorpora, in getShortcutsForQuery()
316 ShortcutCursor getShortcutsForQuery(String query, Collection<Corpus> allowedCorpora, in getShortcutsForQuery() argument
318 if (DBG) Log.d(TAG, "getShortcutsForQuery(" + query + "," + allowedCorpora + ")"); in getShortcutsForQuery()
331 for (Corpus corpus : allowedCorpora) { in getShortcutsForQuery()