/development/samples/NotePad/tests/src/com/example/android/notepad/ |
NotePadProviderTest.java | 360 noteIdCursor = mMockResolver.query( 423 // Defines a projection of column names to return for a query 430 // Defines a selection column for the query. When the selection columns are passed 431 // to the query, the selection arguments replace the placeholders. 434 // Defines the selection columns for a query. 441 // Defines a query sort order 444 // Query subtest 1. 445 // If there are no records in the table, the returned cursor from a query should be empty. 446 Cursor cursor = mMockResolver.query( 457 // Query subtest 2 [all...] |
/external/chromium/net/http/ |
http_auth_handler_negotiate_unittest.cc | 159 test::MockGSSAPILibrary::SecurityContextQuery query( 167 mock_library->ExpectSecurityContext(query.expected_package, 168 query.response_code, 169 query.minor_response_code, 170 query.context_info, 171 query.expected_input_token, 172 query.output_token);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 101 Cursor cursor = mProvider.query(People.CONTENT_URI, 124 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION, 139 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION, 173 Cursor cursor = mProvider.query(Groups.CONTENT_URI, 189 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION, 282 Cursor cursor = mProvider.query(Phones.CONTENT_URI, 303 cursor = mProvider.query(Phones.CONTENT_URI, PHONES_PROJECTION, 317 cursor = mProvider.query(Phones.CONTENT_URI, PHONES_PROJECTION, 365 Cursor cursor = mProvider.query( 387 cursor = mProvider.query(Organizations.CONTENT_URI, ORGANIZATIONS_PROJECTION [all...] |
MediaStore_Audio_MediaTest.java | 51 assertNotNull(mContentResolver.query( 54 assertNotNull(mContentResolver.query( 60 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); 70 assertNotNull(mContentResolver.query(Media.getContentUriForPath(externalPath), null, null, 75 assertNotNull(mContentResolver.query(Media.getContentUriForPath(internalPath), null, null, 96 // query 100 Cursor c = mContentResolver.query(uri, null, null, null, null); 143 c = mContentResolver.query(uri, null, null, null, null); 178 c = mContentResolver.query(filterUri, null, null, null, null); 186 c = mContentResolver.query(filterUri, null, null, null, null) [all...] |
MediaStore_Audio_Playlists_MembersTest.java | 108 Cursor c = mContentResolver.query(uri, null, null, null, null); 114 c = mContentResolver.query(uri, null, null, null, null); 150 Cursor c = mContentResolver.query(uri, null, null, null, null); 170 // query the audio info 171 c = mContentResolver.query(audioUri, mAudioProjection, null, null, null); 202 // query the play order of the audio 203 c = mContentResolver.query(membersUri, new String[] { Members.PLAY_ORDER }, 218 // query all info 219 c = mContentResolver.query(membersUri, mMembersProjection, null, null, 265 c = mContentResolver.query(membersUri, new String[] { Members.AUDIO_ID, Members.PLAY_ORDER }, null, null, Members.PLAY_ORDER) [all...] |
MediaStore_Images_MediaTest.java | 101 method = "query", 106 method = "query", 111 method = "query", 117 Cursor c = Media.query(mContentResolver, Media.EXTERNAL_CONTENT_URI, null, null, 150 // query the newly added image 151 c = Media.query(mContentResolver, Uri.parse(stringUrl), 160 // query all the images in external db and order them by descending id 162 c = Media.query(mContentResolver, Media.EXTERNAL_CONTENT_URI, 176 // query the second image added in the test 177 c = Media.query(mContentResolver, Uri.parse(stringUrl) [all...] |
/external/chromium/googleurl/src/ |
url_canon_internal.cc | 139 0, // 0x23 # (invalid in query since it marks the ref) 329 DoOverrideComponent(repl_source.query, repl_parsed.query, 330 &source->query, &parsed->query); 365 repl_source.query, repl_parsed.query, 366 utf8_buffer, &parsed->query); 380 if (repl_source.query) source->query = utf8_buffer->data() [all...] |
gurl.h | 58 // encode the query parameters. It is probably sufficient for the narrow 59 // version to assume the query parameter encoding should be the same as the 160 // for any query text specified in the input. The charset converter parameter 262 std::string query() const { // Stuff following '?' function in class:GURL 263 return ComponentString(parsed_.query); 271 // being nonempty. http://www.google.com/? has a query that just happens to 295 return parsed_.query.len >= 0; 315 // parameter, and query portions of the URL. It is guaranteed to be ASCII. 369 // TODO bug 684583: Add encoding for query params.
|
url_parse_unittest.cc | 83 const char* query; member in struct:__anon3436::URLParseCase 101 const char* query; member in struct:__anon3436::MailtoURLParseCase 188 {"http://u:p@h:8/p?q#r", Parsed::QUERY, true, 16}, 189 {"http://u:p@h:8/p?q#r", Parsed::QUERY, false, 17}, 195 {"http://u:p@h:8/p#r", Parsed::QUERY, true, 16}, 233 // Input Scheme Usrname Passwd Host Port Path Query Ref 307 // Use the first question mark for the query and the ref. 344 EXPECT_TRUE(ComponentMatches(url, cases[i].query, parsed.query)); 380 ExpectInvalidComponent(parsed.query); 483 url_parse::Component query = parsed.query; local [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
search_autocomplete.js | 161 function rank_autocomplete_results(query) { 162 query = query || ''; 190 var queryLower = query.toLowerCase(); 231 function highlight_autocomplete_result_labels(query) { 232 query = query || ''; 236 var queryLower = query.toLowerCase(); 263 var query = document.getElementById('search_autocomplete').value; 264 document.location = toRoot + 'search.html#q=' + query + '&t=0' [all...] |
/build/tools/droiddoc/templates-sdk/assets/ |
search_autocomplete.js | 161 function rank_autocomplete_results(query) { 162 query = query || ''; 190 var queryLower = query.toLowerCase(); 231 function highlight_autocomplete_result_labels(query) { 232 query = query || ''; 236 var queryLower = query.toLowerCase(); 263 var query = document.getElementById('search_autocomplete').value; 264 document.location = toRoot + 'search.html#q=' + query + '&t=0' [all...] |
/external/doclava/res/assets/templates/assets/ |
search_autocomplete.js | 161 function rank_autocomplete_results(query) { 162 query = query || ''; 190 var queryLower = query.toLowerCase(); 231 function highlight_autocomplete_result_labels(query) { 232 query = query || ''; 236 var queryLower = query.toLowerCase(); 263 var query = document.getElementById('search_autocomplete').value; 264 document.location = toRoot + 'search.html#q=' + query + '&t=0' [all...] |
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
GStreamerGWorld.cpp | 123 // Query the current media segment informations and send them towards 126 GstQuery* query = gst_query_new_segment(GST_FORMAT_TIME); local 127 gboolean queryResult = gst_element_query(m_pipeline, query); 131 gst_query_unref(query); 136 // GStreamer < 0.10.30 doesn't set the query result correctly, so 149 gst_query_parse_segment(query, &rate, &format, &startValue, &stopValue); 154 gst_query_unref(query);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabasePerformanceTests.java | 161 mCursor = c.getContentResolver().query(People.CONTENT_URI, PEOPLE_PROJECTION, null, 294 .query("t1", COLUMNS, where[i], null, null, null, null); 332 .query("t1", COLUMNS, where[i], null, null, null, null); 373 .query("t1", COLUMNS, where[i], null, null, null, null); 411 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, 451 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, 491 mDatabase.query("t1 INNER JOIN t2 ON t1.c = t2.c", COLUMNS, null, 543 .query("t1", COLUMNS, where[i], null, null, null, null); 582 .query("t1", COLUMNS, where[i], null, null, null, null); 616 mDatabase.query("t1", COLUMNS, null, null, null, null, null) [all...] |
NewDatabasePerformanceTests.java | 202 .query("t1", COLUMNS, where[i], null, null, null, null); 239 .query("t1", COLUMNS, where[i], null, null, null, null); 279 .query("t1", COLUMNS, where[i], null, null, null, null); 316 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, 355 mDatabase.query("t1 INNER JOIN t2 ON t1.b = t2.b", COLUMNS, null, 394 mDatabase.query("t1 INNER JOIN t2 ON t1.c = t2.c", COLUMNS, null, 445 .query("t1", COLUMNS, where[i], null, null, null, null); 483 .query("t1", COLUMNS, where[i], null, null, null, null); 516 mDatabase.query("t1", COLUMNS, null, null, null, null, null); 549 mDatabase.query("t1", COLUMNS, null, null, null, null, null) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 106 cursor = cr.query(uri, 176 return cr.query(Combined.CONTENT_URI, projection, QUERY_BOOKMARKS_WHERE, selArgs, null); 179 // Strip the query from the given url. 184 int query = url.indexOf('?'); local 186 if (query != -1) { 187 noQuery = url.substring(0, query);
|
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | 139 * query parameters. 291 * Columns specific to the Calendars Uri that other Uris can query. 417 * cursor contains a calendars query. 419 * @param cursor query on {@link #CONTENT_URI} 545 * <dt><b>Query</b></dt> 548 * matches the query selection, or at most a single row if the {@link #_ID} 621 * {@link #ACCOUNT_NAME}, and {@link #ACCOUNT_TYPE} in the Uri's query 715 * {@link #query(ContentResolver, long, String[])} will return a list of attendees for 747 * @param cr The content resolver to use for the query 752 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) method in class:CalendarContract.Attendees 1543 public static final Cursor query(ContentResolver cr, String[] projection, method in class:CalendarContract.Instances 1572 public static final Cursor query(ContentResolver cr, String[] projection, method in class:CalendarContract.Instances 1822 public static final Cursor query(ContentResolver cr, int startDay, int numDays, method in class:CalendarContract.EventDays 1905 public static final Cursor query(ContentResolver cr, long eventId, String[] projection) { method in class:CalendarContract.Reminders [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
UriTest.java | 403 testHierarchical("http", "google.com", "/p1/p2", "query", "fragment"); 408 testHierarchical("http", "google.com", "", "query", "fragment"); 409 testHierarchical("http", "google.com", "", "query", null); 410 testHierarchical("http", null, "/", "query", null); 414 String path, String query, String fragment) { 423 if (query != null) { 424 sb.append('?').append(query); 442 uriString, ssp, uri, scheme, authority, path, query, fragment); 444 uriString, ssp, uri, scheme, authority, path, query, fragment); 451 uriString, ssp, uri, scheme, authority, path, query, fragment) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutRepositoryImplLog.java | 145 // index on the query column. 147 ClickLog.query.fullName + " >= ?1 AND " + ClickLog.query.fullName + " < ?2"; 172 if (DBG) Log.d(TAG, "Empty shortcut query:\n" + mEmptyQueryShortcutQuery); 211 private <A> void runQueryAsync(final SQLiteAsyncQuery<A> query, final Consumer<A> consumer) { 214 query.run(mOpenHelper.getReadableDatabase(), consumer); 269 public void getShortcutsForQuery(final String query, final Collection<Corpus> allowedCorpora, 274 ShortcutCursor shortcuts = getShortcutsForQuery(query, allowedCorpora, 316 ShortcutCursor getShortcutsForQuery(String query, Collection<Corpus> allowedCorpora, 318 if (DBG) Log.d(TAG, "getShortcutsForQuery(" + query + "," + allowedCorpora + ")") 725 query, enum constant in enum:ShortcutRepositoryImplLog.ClickLog [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
cookies_view_handler.cc | 150 std::string query; local 151 if (!args->GetString(0, &query)){ 157 cookies_tree_model_->UpdateSearchResults(UTF8ToWide(query));
|
/external/chromium/net/proxy/ |
proxy_resolver_perftest.cc | 116 // Do a query to warm things up. In the case of internal-fetch proxy 133 const PacQuery& query = queries[i % queries_len]; local 137 int result = resolver_->GetProxyForURL(GURL(query.query_url), 144 ASSERT_EQ(query.expected_result, proxy_info.ToPacString());
|
/external/chromium/net/tools/flip_server/ |
loadtime_measurement.h | 72 std::vector<std::string> query; local 73 split_string(action, '?', &query); 75 split_string(query[1], '&', ¶ms);
|
/external/collada/src/dae/ |
daeURI.cpp | 185 const string& daeURI::query() const { return _query; } function in class:daeURI 272 void daeURI::query(const string& query_) { set(_scheme, _authority, _path, query_, _fragment); } function in class:daeURI 283 fprintf(stderr,"query = %s\n",_query.c_str()); 326 // T.query = R.query; 333 // Authority and query stay the same, path is normalized 336 // T.query = R.query; 346 //if defined(R.query) then 347 // T.query = R.query 771 string scheme, authority, path, query, fragment; local 799 string scheme, authority, path, query, fragment; local [all...] |
/external/webkit/Source/WebKit/chromium/tests/ |
KURLTest.cpp | 60 const char* query; member in struct:__anon13309::ComponentCase 75 const char* query; member in struct:__anon13309::GetterCase 96 EXPECT_EQ(cases[i].query, kurl.query()); 110 EXPECT_EQ(cases[i].query, kurl.query()); 121 // url protocol host port user pass path lastPath query ref 147 EXPECT_EQ(cases[i].query, kurl.query()); 189 // We also can't test clearing the query 201 const char* query; member in struct:__anon13309::ExpectedComponentCase 434 const char query[] = "foo=bar"; local [all...] |
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 95 // The query entered by the user. This is not changed when selecting a suggestion 522 * Launch a search for the text in the query text field. 529 * Launch a search for the text in the query text field. 537 String query = mSearchAutoComplete.getText().toString(); local 539 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); 579 * @param query Intent query, or <code>null</code>. 588 private Intent createIntent(String action, Uri data, String extraData, String query, 600 if (query != null) { 601 intent.putExtra(SearchManager.QUERY, query) [all...] |