Home
last modified time | relevance | path

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

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DResultPromoterTest.java55 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp()
56 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp()
57 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp()
58 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp()
59 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp()
60 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp()
DWebPromoterTest.java56 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp()
57 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp()
58 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp()
59 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp()
60 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp()
61 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp()
DBlendingPromoterTest.java42 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp()
43 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp()
44 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp()
45 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp()
46 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp()
47 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp()
DMockSource.java43 public SuggestionData createSuggestion(String query) {
141 cursor.add(createSuggestion(query + "_1")); in getSuggestions()
142 cursor.add(createSuggestion(query + "_2")); in getSuggestions()
146 public SuggestionData createSuggestion(String query) { in createSuggestion() method in MockSource
DMockShortcutRepository.java57 cursor.add(MockSource.SOURCE_1.createSuggestion(query + "_1_shortcut")); in getShortcutsForQuery()
58 cursor.add(MockSource.SOURCE_2.createSuggestion(query + "_2_shortcut")); in getShortcutsForQuery()