Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DSearchManagerTest.java124 SearchManager searchManager = (SearchManager) in testStartSearchIdempotent() local
126 assertNotNull(searchManager); in testStartSearchIdempotent()
128 searchManager.startSearch(null, false, SEARCHABLE_ACTIVITY, null, false); in testStartSearchIdempotent()
129 searchManager.startSearch(null, false, SEARCHABLE_ACTIVITY, null, false); in testStartSearchIdempotent()
130 searchManager.stopSearch(); in testStartSearchIdempotent()
138 SearchManager searchManager = (SearchManager) in testStopSearchIdempotent() local
140 assertNotNull(searchManager); in testStopSearchIdempotent()
141 searchManager.stopSearch(); in testStopSearchIdempotent()
143 searchManager.startSearch(null, false, SEARCHABLE_ACTIVITY, null, false); in testStopSearchIdempotent()
144 searchManager.stopSearch(); in testStopSearchIdempotent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java334 final SearchManager searchManager = in startAssistActivity() local
336 if (searchManager == null) { in startAssistActivity()
339 final Intent intent = searchManager.getAssistIntent(structureEnabled); in startAssistActivity()
/frameworks/base/core/java/android/app/
DSearchDialog.java127 public SearchDialog(Context context, SearchManager searchManager) { in SearchDialog() argument
255 SearchManager searchManager = (SearchManager) in show() local
258 mSearchable = searchManager.getSearchableInfo(componentName); in show()
DDialog.java1095 final SearchManager searchManager = (SearchManager) mContext in onSearchRequested() local
1100 if (appName != null && searchManager.getSearchableInfo(appName) != null) { in onSearchRequested()
1101 searchManager.startSearch(null, false, appName, null, false); in onSearchRequested()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3296 SearchManager searchManager = getSearchManager(); in launchAssistLongPressAction() local
3297 if (searchManager != null) { in launchAssistLongPressAction()
3298 searchManager.stopSearch(); in launchAssistLongPressAction()