/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutCursor.java | 47 private ShortcutCursor(String query, SuggestionCursor shortcuts, Handler uiThread, 49 super(query); 58 ShortcutCursor(String query, Handler uiThread, 60 this(query, null, uiThread, refresher, repository);
|
SuggestionFormatter.java | 23 * suggestion which were not a part of the query. 36 * @param query the query as entered by the user 40 public abstract CharSequence formatSuggestion(String query, String suggestion);
|
SearchableSource.java | 109 // append standard suggestion query path 273 // because the voice search activity will always need to insert "QUERY" into 312 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { 314 Cursor cursor = getSuggestions(getContext(), mSearchable, query, queryLimit); 315 if (DBG) Log.d(TAG, toString() + "[" + query + "] returned."); 316 return new CursorBackedSourceResult(this, query, cursor); 318 Log.e(TAG, toString() + "[" + query + "] failed", ex); 319 return new CursorBackedSourceResult(this, query); 369 // append standard suggestion query path 379 private Cursor getSuggestions(Context context, SearchableInfo searchable, String query, [all...] |
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
Provider.java | 31 public Cursor query(Uri uri, String[] projection, method in class:Provider
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractPublicApiTest.java | 47 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 63 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 74 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 127 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId));
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_PeopleTest.java | 158 cursor = mProvider.query(mPeopleRowsAdded.get(0), PEOPLE_PROJECTION, 164 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION, 181 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION, 188 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION, 200 cursor = mProvider.query(mPeopleRowsAdded.get(1), PEOPLE_PROJECTION, 205 cursor = mProvider.query(mGroupRowsAdded.get(0), GROUPS_PROJECTION, 218 cursor = mProvider.query(mPeopleRowsAdded.get(2), PEOPLE_PROJECTION, 230 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION, 249 cursor = mProvider.query(mPeopleRowsAdded.get(0), PEOPLE_PROJECTION, 256 cursor = mProvider.query(mPeopleRowsAdded.get(0), PEOPLE_PROJECTION [all...] |
SearchRecentSuggestionsTest.java | 92 Cursor c = mTestSRSProvider.query(mTestUri, null, null, null, null); 106 c = mTestSRSProvider.query(mTestUri, SearchRecentSuggestions.QUERIES_PROJECTION_2LINE, 131 c = mTestSRSProvider.query(mTestUri, SearchRecentSuggestions.QUERIES_PROJECTION_2LINE, 168 value.put("query", insertQuery); 173 Cursor cursor = mTestSRSProvider.query(mTestUri, 195 value.put("query", updateQuery); 208 cursor = mTestSRSProvider.query(mTestUri, 234 cursor = mTestSRSProvider.query(uri, projection, null, null, null);
|
/external/chromium/googleurl/src/ |
url_canon_relative.cc | 286 url_parse::Component path, query, ref; local 290 &query, 324 // Relative path, replace the query, and reference. We take the 337 // Finish with the query and reference part (these can't fail). 338 CanonicalizeQuery(relative_url, query, query_converter, 339 output, &out_parsed->query); 351 if (query.is_valid()) { 352 // Just the query specified, replace the query and reference (ignore 354 CanonicalizeQuery(relative_url, query, query_converter [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
DatabaseStatementTest.java | 86 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 140 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 162 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 185 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); 207 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 232 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); 267 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); 316 Cursor c = mDatabase.query("test", null, null, null, null, null, null);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarUsage.java | 84 newText = newText.isEmpty() ? "" : "Query so far: " + newText; 89 public boolean onQueryTextSubmit(String query) { 90 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show();
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_index.h | 48 // Returns up to |max_count| of bookmarks containing the text |query|. 50 const string16& query, 86 // Add |node| to |results| if the node matches the query. 93 // is the first term in the query. Returns true if there is at least one node 120 // Returns the set of query words from |query|. 121 std::vector<string16> ExtractQueryWords(const string16& query);
|
/external/dhcpcd/ |
config.mk | 17 SERVICEEXISTS= /usr/sbin/invoke-rc.d --query --quiet $$1 start >/dev/null 2>\&1 || [ $$? = 104 ]
|
/external/webkit/Source/WebCore/storage/ |
AbstractDatabase.cpp | 49 static bool retrieveTextResultFromDatabase(SQLiteDatabase& db, const String& query, String& resultString) 51 SQLiteStatement statement(db, query); 55 LOG_ERROR("Error (%i) preparing statement to read text result from database (%s)", result, query.ascii().data()); 69 LOG_ERROR("Error (%i) reading text result from database (%s)", result, query.ascii().data()); 73 static bool setTextValueInDatabase(SQLiteDatabase& db, const String& query, const String& value) 75 SQLiteStatement statement(db, query); 79 LOG_ERROR("Failed to prepare statement to set value in database (%s)", query.ascii().data()); 87 LOG_ERROR("Failed to step statement to set value in database (%s)", query.ascii().data());
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseStatementTest.java | 87 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 141 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 163 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 186 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); 208 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 233 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); 268 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); 317 Cursor c = mDatabase.query("test", null, null, null, null, null, null);
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
DefaultVoicemailNotifier.java | 92 final NewCall[] newCalls = mNewCallsQuery.query(); 118 name = mNameLookupQuery.query(newCall.number); 213 public NewCall[] query(); method in interface:DefaultVoicemailNotifier.NewCallsQuery 240 public NewCall[] query() { method in class:DefaultVoicemailNotifier.DefaultNewCallsQuery 245 cursor = mContentResolver.query(Calls.CONTENT_URI_WITH_VOICEMAIL, PROJECTION, 276 public String query(String number); method in interface:DefaultVoicemailNotifier.NameLookupQuery 299 public String query(String number) { method in class:DefaultVoicemailNotifier.DefaultNameLookupQuery 302 cursor = mContentResolver.query(
|
/packages/apps/Exchange/src/com/android/exchange/ |
EmailSyncAlarmReceiver.java | 73 Cursor c = cr.query(Message.DELETED_CONTENT_URI, MAILBOX_DATA_PROJECTION, selector, 90 c = cr.query(Message.UPDATED_CONTENT_URI, MAILBOX_DATA_PROJECTION, selector,
|
/external/collada/include/dae/ |
daeURI.h | 70 * to query the state of the uri. 121 /** query component */ 194 const std::string& query, 205 const std::string& query() const; 216 void query(const std::string& query); 423 std::string& query, 443 const std::string& query,
|
/external/webkit/Source/WebCore/loader/ |
FormSubmission.cpp | 78 String query = url.query(); local 79 if (!query.isEmpty()) 80 query.append('&'); 81 query.append(body); 82 url.setQuery(query);
|
/packages/apps/Browser/src/com/android/browser/search/ |
OpenSearchSearchEngine.java | 100 public void startSearch(Context context, String query, Bundle appData, String extraData) { 101 String uri = mSearchEngineInfo.getSearchUriForQuery(query); 109 intent.putExtra(SearchManager.QUERY, query); 125 public Cursor getSuggestions(Context context, String query) { 126 if (TextUtils.isEmpty(query)) { 134 String suggestUri = mSearchEngineInfo.getSuggestUriForQuery(query);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
SyncCalendarTest.java | 75 cursor = mResolver.query(mEventsUri, null, null, null, null); 89 cursor = mResolver.query(mEventsUri, null, null, null, null); 103 cursor = mResolver.query(mEventsUri, null, null, null, null); 120 cursor = mResolver.query(mEventsUri, null, null, null, null); 136 cursor = mResolver.query(mEventsUri, null, null, null, null); 150 cursor = mResolver.query(mEventsUri, null, null, null, null);
|
CalendarProvider2Test.java | 270 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); 286 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); 1414 String query = ""; local 2425 public Cursor query(Uri uri, String[] projection, String selection, method in class:CalendarProvider2Test.MockProvider [all...] |
/external/wpa_supplicant/ |
ndis_events.c | 404 WCHAR query[256]; local 406 _snwprintf(query, 256, 408 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); 410 pSvc, L"WQL", query, 0, 0, pDestSink); 495 WCHAR query[MAX_QUERY_LEN]; local 520 _snwprintf(query, MAX_QUERY_LEN, 523 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); 526 pSvc, L"WQL", query, 530 wpa_printf(MSG_DEBUG, "ndis_events: Failed to query interface " 560 _snwprintf(query, MAX_QUERY_LEN [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
ndis_events.c | 404 WCHAR query[256]; local 406 _snwprintf(query, 256, 408 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); 410 pSvc, L"WQL", query, 0, 0, pDestSink); 495 WCHAR query[MAX_QUERY_LEN]; local 520 _snwprintf(query, MAX_QUERY_LEN, 523 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); 526 pSvc, L"WQL", query, 530 wpa_printf(MSG_DEBUG, "ndis_events: Failed to query interface " 560 _snwprintf(query, MAX_QUERY_LEN [all...] |
/external/wpa_supplicant_8/src/drivers/ |
ndis_events.c | 404 WCHAR query[256]; local 406 _snwprintf(query, 256, 408 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); 410 pSvc, L"WQL", query, 0, 0, pDestSink); 495 WCHAR query[MAX_QUERY_LEN]; local 520 _snwprintf(query, MAX_QUERY_LEN, 523 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); 526 pSvc, L"WQL", query, 530 wpa_printf(MSG_DEBUG, "ndis_events: Failed to query interface " 560 _snwprintf(query, MAX_QUERY_LEN [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactDirectoryManagerTest.java | 77 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:ContactDirectoryManagerTest.MockContactDirectoryProvider 145 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 182 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 200 cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 241 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 250 cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 286 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 298 cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 343 Cursor cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null); 362 cursor = mResolver.query(Directory.CONTENT_URI, null, null, null, null) [all...] |