Home
last modified time | relevance | path

Searched refs:SearchManager (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java110 SearchManager searchManager1 = (SearchManager) in testSearchManagerAvailable()
113 SearchManager searchManager2 = (SearchManager) in testSearchManagerAvailable()
124 SearchManager searchManager = (SearchManager) in testStartSearchIdempotent()
138 SearchManager searchManager = (SearchManager) in testStopSearchIdempotent()
153 SearchManager searchManager = (SearchManager) in testSearchManagerInvocations()
DSuggestionProvider.java19 import android.app.SearchManager;
41 sURLMatcher.addURI("*", SearchManager.SUGGEST_URI_PATH_QUERY,
43 sURLMatcher.addURI("*", SearchManager.SUGGEST_URI_PATH_QUERY + "/*",
49 SearchManager.SUGGEST_COLUMN_TEXT_1,
50 SearchManager.SUGGEST_COLUMN_INTENT_ACTION,
51 SearchManager.SUGGEST_COLUMN_QUERY
90 return SearchManager.SUGGEST_MIME_TYPE; in getType()
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java20 import android.app.SearchManager;
190 mUriMatcher.addURI(mAuthority, SearchManager.SUGGEST_URI_PATH_QUERY, URI_MATCH_SUGGEST); in setupSuggestions()
196 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT, in setupSuggestions()
199 + SearchManager.SUGGEST_COLUMN_ICON_1, in setupSuggestions()
200 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1, in setupSuggestions()
201 "display2 AS " + SearchManager.SUGGEST_COLUMN_TEXT_2, in setupSuggestions()
202 "query AS " + SearchManager.SUGGEST_COLUMN_QUERY, in setupSuggestions()
209 "0 AS " + SearchManager.SUGGEST_COLUMN_FORMAT, in setupSuggestions()
212 + SearchManager.SUGGEST_COLUMN_ICON_1, in setupSuggestions()
213 "display1 AS " + SearchManager.SUGGEST_COLUMN_TEXT_1, in setupSuggestions()
[all …]
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java20 import android.app.SearchManager;
67 private final SearchManager mSearchManager;
104 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in SuggestionsAdapter()
238 ? extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS) in updateSpinnerState()
243 && extras.getBoolean(SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS)) { in updateSpinnerState()
268 mText1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1); in changeCursor()
269 mText2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in changeCursor()
270 mText2UrlCol = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL); in changeCursor()
271 mIconName1Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in changeCursor()
272 mIconName2Col = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_2); in changeCursor()
[all …]
DSearchView.java24 import android.app.SearchManager;
1652 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
1654 intent.putExtra(SearchManager.QUERY, query); in createIntent()
1657 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
1660 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
1663 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
1664 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
1705 queryExtras.putParcelable(SearchManager.APP_DATA, mAppSearchData); in createVoiceAppSearchIntent()
1762 String action = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_ACTION); in createIntentFromSuggestion()
1772 String data = getColumnString(c, SearchManager.SUGGEST_COLUMN_INTENT_DATA); in createIntentFromSuggestion()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java19 import android.app.SearchManager;
167 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering()
168 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering()
169 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in testReordering()
325 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in checkResultCounts()
326 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in checkResultCounts()
327 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in checkResultCounts()
387 '/' + SearchManager.SUGGEST_URI_PATH_QUERY; in getQueryCursor()
/frameworks/ex/common/java/com/android/common/
DSearch.java19 import android.app.SearchManager;
101 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
114 uriBuilder.appendQueryParameter(SearchManager.SUGGEST_PARAMETER_LIMIT, in getSuggestions()
/frameworks/base/core/java/android/app/
DSearchDialog.java127 public SearchDialog(Context context, SearchManager searchManager) { in SearchDialog()
255 SearchManager searchManager = (SearchManager) in show()
613 intent.putExtra(SearchManager.USER_QUERY, mUserQuery); in createIntent()
615 intent.putExtra(SearchManager.QUERY, query); in createIntent()
618 intent.putExtra(SearchManager.EXTRA_DATA_KEY, extraData); in createIntent()
621 intent.putExtra(SearchManager.APP_DATA, mAppSearchData); in createIntent()
624 intent.putExtra(SearchManager.ACTION_KEY, actionKey); in createIntent()
625 intent.putExtra(SearchManager.ACTION_MSG, actionMsg); in createIntent()
DSearchManager.java62 public class SearchManager class
554 /*package*/ SearchManager(Context context, Handler handler) throws ServiceNotFoundException { in SearchManager() method in SearchManager
916 uriBuilder.appendPath(SearchManager.SUGGEST_URI_PATH_QUERY); in getSuggestions()
DDialog.java1095 final SearchManager searchManager = (SearchManager) mContext in onSearchRequested()
DSystemServiceRegistry.java539 registerService(Context.SEARCH_SERVICE, SearchManager.class, in registerService()
540 new CachedServiceFetcher<SearchManager>() { in registerService()
542 public SearchManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
543 return new SearchManager(ctx.getOuterContext(), in registerService()
DActivity.java836 private SearchManager mSearchManager;
6627 mSearchManager = new SearchManager(this, null); in ensureSearchManager()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java21 import android.app.SearchManager;
52 SearchManager mSearchManager;
291 SearchManager getSearchManager() { in getSearchManager()
293 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
DPhoneWindow.java40 import android.app.SearchManager;
3195 return ((SearchManager)getContext().getSystemService(Context.SEARCH_SERVICE))
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java19 import android.app.SearchManager;
332 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in queryIntentActivities()
347 || intent.getAction().equals(SearchManager.INTENT_ACTION_GLOBAL_SEARCH)); in resolveActivity()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java24 import android.app.SearchManager;
186 Intent intent = new Intent(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED); in updateSearchables()
212 Intent intent = new Intent(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED); in onChange()
DSearchables.java20 import android.app.SearchManager;
306 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in findGlobalSearchActivities()
341 Intent intent = new Intent(SearchManager.INTENT_ACTION_GLOBAL_SEARCH); in isInstalled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java7 import android.app.SearchManager;
334 final SearchManager searchManager = in startAssistActivity()
335 (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in startAssistActivity()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java22 import android.app.SearchManager;
229 .putExtra(SearchManager.QUERY, text), in createForFlight()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java111 import android.app.SearchManager;
381 SearchManager mSearchManager;
3296 SearchManager searchManager = getSearchManager(); in launchAssistLongPressAction()
3321 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in launchAssistAction()
3367 private SearchManager getSearchManager() { in getSearchManager()
3369 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java27 import android.app.SearchManager;
622 SearchManager.INTENT_ACTION_GLOBAL_SEARCH, userId), in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/provider/
DSettings.java47 import android.app.SearchManager;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dpreloaded-classes342 android.app.SearchManager