/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/bytecode/ |
TestProvider.class.data | |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 110 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:TestResultsProvider 112 SQLiteQueryBuilder query = new SQLiteQueryBuilder(); local 113 query.setTables(TABLE_NAME); 121 query.appendWhere(_ID); 122 query.appendWhere("="); 123 query.appendWhere(uri.getPathSegments().get(1)); 127 query.appendWhere(COLUMN_TEST_NAME); 128 query.appendWhere("="); 129 query.appendWhere("\"" + uri.getPathSegments().get(1) + "\""); 137 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder) [all...] |
/cts/tests/src/android/content/cts/ |
DummyProvider.java | 113 * @see android.content.ContentProvider#query(android.net.Uri, 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DummyProvider 125 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder);
|
MockContentProvider.java | 240 public Cursor query(Uri uri, String[] projection, String selection, method in class:MockContentProvider 242 return query(uri, projection, selection, selectionArgs, sortOrder, null); 246 public Cursor query(Uri uri, String[] projection, String selection, method in class:MockContentProvider 264 // to create an artificially long-running query to enable us to test 265 // remote query cancellation in ContentResolverTest. 305 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy,
|
/cts/tests/tests/net/src/android/net/cts/ |
UrlQuerySanitizerTest.java | 48 final String query = "book=thinking in java&price=108"; local 55 uqs.parseQuery(query);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_AlbumsTest.java | 48 assertNotNull(mContentResolver.query( 51 assertNotNull(mContentResolver.query( 57 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); 86 // query 87 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, 139 c = mContentResolver.query(filterUri, null, null, null, null); 147 c = mContentResolver.query(filterUri, null, null, null, null); 154 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null); 179 Cursor c = mContentResolver.query(uri, null, null, null, null); 192 c = mContentResolver.query(albumart, null, null, null, null) [all...] |
MediaStore_Audio_ArtistsTest.java | 40 assertNotNull(mContentResolver.query( 43 assertNotNull(mContentResolver.query( 49 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)); 76 // query 77 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 110 c = mContentResolver.query(filterUri, null, null, null, null); 118 c = mContentResolver.query(filterUri, null, null, null, null); 125 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
MediaStore_Audio_GenresTest.java | 42 assertNotNull(mContentResolver.query( 47 assertNotNull(mContentResolver.query( 57 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null)); 68 // query 69 Cursor c = mContentResolver.query(uri, null, null, null, null); 80 c = mContentResolver.query(uri, null, null, null, null); 117 cursor = mContentResolver.query(audioGenresUri, null, null, null, null); 127 cursor = mContentResolver.query(audioGenresUri, null, null, null, null);
|
MediaStore_Audio_Genres_MembersTest.java | 45 Cursor c = mContentResolver.query(uri, null, null, null, null); 51 c = mContentResolver.query(uri, null, null, null, null); 68 assertNotNull(mContentResolver.query( 73 assertNotNull(mContentResolver.query( 83 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, 91 Cursor c = mContentResolver.query(uri, null, null, null, null); 109 // query, slow path 110 c = mContentResolver.query(membersUri, null, null, null, null); 149 // query again, fast path 150 c = mContentResolver.query(membersUri [all...] |
MediaStore_Audio_MediaTest.java | 41 assertNotNull(mContentResolver.query( 44 assertNotNull(mContentResolver.query( 50 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); 55 assertNotNull(mContentResolver.query(Media.getContentUriForPath(externalPath), null, null, 60 assertNotNull(mContentResolver.query(Media.getContentUriForPath(internalPath), null, null, 81 // query 85 Cursor c = mContentResolver.query(uri, null, null, null, null); 128 c = mContentResolver.query(uri, null, null, null, null); 163 c = mContentResolver.query(filterUri, null, null, null, null); 171 c = mContentResolver.query(filterUri, null, null, null, null) [all...] |
MediaStore_Video_MediaTest.java | 48 assertNotNull(mContentResolver.query(Media.getContentUri("internal"), null, null, null, 50 assertNotNull(mContentResolver.query(Media.getContentUri("external"), null, null, null, 55 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)); 97 // query 98 Cursor c = mContentResolver.query(uri, null, null, null, null); 152 c = mContentResolver.query(uri, null, null, null, null);
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryDatabase.java | 93 return query(selection, selectionArgs, columns); 95 /* This builds a query that looks like: 101 * Returns a Cursor over all words that match the given query 103 * @param query The string to search for 107 public Cursor getWordMatches(String query, String[] columns) { 109 String[] selectionArgs = new String[] {query+"*"}; 111 return query(selection, selectionArgs, columns); 113 /* This builds a query that looks like: 114 * SELECT <columns> FROM <table> WHERE <KEY_WORD> MATCH 'query*' 115 * which is an FTS3 search for the query text (plus a wildcard) inside the word column 135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { method in class:DictionaryDatabase [all...] |
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
LookupActivity.java | 222 // Start query for incoming search request 223 String query = intent.getStringExtra(SearchManager.QUERY); local 224 startNavigating(query, true); 231 String query = data.getPathSegments().get(0); local 232 startNavigating(query, true); 261 * background query to the Wiktionary API. When finished, it transitions 275 * Perform the background query using {@link ExtendedWikiHelper}, which 280 String query = args[0]; local 284 // If query word is null, assume request for random wor [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
filter_false_positive_perftest.cc | 133 const char* query = "SELECT COUNT(*) FROM add_prefix"; local 134 sql::Statement count_statement(db.GetCachedStatement(SQL_FROM_HERE, query)); 145 query = "SELECT prefix FROM add_prefix"; 146 sql::Statement prefix_statement(db.GetCachedStatement(SQL_FROM_HERE, query));
|
/external/chromium/chrome/browser/sync/util/ |
user_settings.cc | 35 void ExecOrDie(sqlite3* dbhandle, const char *query) { 37 statement.prepare(dbhandle, query); 39 LOG(FATAL) << query << "\n" << sqlite3_errmsg(dbhandle); 293 SQLStatement query; local 294 query.prepare(dbhandle.get(), 297 query.bind_string(0, signin); 298 query.bind_string(1, primary_email); 299 int query_result = query.step(); 301 int32 count = query.column_int(0); 302 query.reset() 335 SQLStatement query; local 395 SQLStatement query; local 447 SQLStatement query; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
history2_ui.cc | 157 // Set our query options. 164 // Need to remember the query string for our results. 181 string16 query; local 182 ExtractSearchHistoryArguments(args, &month, &query); 184 // Set the query ranges for the given month. 190 // Need to remember the query string for our results. 191 search_text_ = query; 306 string16* query) { 315 string_value->GetAsString(query);
|
history_ui.cc | 157 // Set our query options. 164 // Need to remember the query string for our results. 181 string16 query; local 182 ExtractSearchHistoryArguments(args, &month, &query); 184 // Set the query ranges for the given month. 190 // Need to remember the query string for our results. 191 search_text_ = query; 306 string16* query) { 308 query->clear(); 309 CHECK(args->GetString(0, query)); [all...] |
/external/chromium/googleurl/src/ |
gurl_unittest.cc | 85 EXPECT_EQ("q=a", url.query()); 101 EXPECT_EQ("", url.query()); 119 EXPECT_EQ("q=a", url2.query()); 134 EXPECT_EQ("", invalid2.query()); 151 EXPECT_EQ("", url.query()); 240 const char* query; member in struct:ReplaceCase 262 SetupReplacement(&GURL::Replacements::SetQuery, &repl, cur.query); 279 {"http://www.google.com/foo/bar.html?query#ref", "/foo/bar.html?query"},
|
url_parse_unittest.cc | 83 const char* query; member in struct:__anon3915::URLParseCase 101 const char* query; member in struct:__anon3915::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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.updatechecker_1.1.101.R36x_v20100823.jar | |
/external/freetype/src/cache/ |
ftccmap.c | 89 /* compute a query/node hash */ 94 /* the charmap query */ 155 FTC_CMapQuery query = (FTC_CMapQuery)ftcquery; local 164 node->face_id = query->face_id; 165 node->cmap_index = query->cmap_index; 166 node->first = (query->char_code / FTC_CMAP_INDICES_MAX) * 190 /* compare a cmap node to a given query */ 198 FTC_CMapQuery query = (FTC_CMapQuery)ftcquery; local 204 if ( node->face_id == query->face_id && 205 node->cmap_index == query->cmap_index 294 FTC_CMapQueryRec query; local [all...] |
/external/openssh/openbsd-compat/ |
getrrsetbyname.c | 169 struct dns_query *query; member in struct:dns_response 236 /* make query */ 271 rrset->rri_rdclass = response->query->class; 272 rrset->rri_rdtype = response->query->type; 408 /* there must be at least one query */ 414 /* parse query section */ 415 resp->query = parse_dns_qsection(answer, size, &cp, 417 if (resp->header.qdcount && resp->query == NULL) { 591 free_dns_query(p->query);
|
/external/qemu/android/ |
multitouch-port.c | 32 /* Query timeout in milliseconds. */ 301 * of the compressed data. this way we will have entire query ready to be 336 char query[256]; local 339 /* Query the device to start capturing multi-touch events, also providing 343 snprintf(query, sizeof(query), "start:%dx%d", 345 int res = android_device_query(mtsp->device, query, qresp, sizeof(qresp), 356 E("Unexpected reply to MTS 'start' query: %s", qresp); 362 E("MTS protocol error: no reply to query 'start'"); 369 D("Query 'start' failed on I/O: %s", strerror(errno)) 428 char* query; local [all...] |
sensors-port.c | 34 /* Query timeout in milliseconds. */ 315 char query[1024]; local 317 snprintf(query, sizeof(query), "enable:%s", name); 319 android_device_query(asp->device, query, qresp, sizeof(qresp), 323 D("Query '%s' failed on I/O: %s", query, strerror(errno)); 325 D("Query '%s' failed on device: %s", query, qresp); 334 char query[1024] local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
Display.cpp | 628 IDirect3DQuery9 *query; local 629 HRESULT result = mDevice->CreateQuery(D3DQUERYTYPE_EVENT, &query); 632 query->Release();
|