/libcore/luni/src/test/java/libcore/java/sql/ |
OldPreparedStatementTest.java | 181 String query = "insert into zoo(id, family, name) values(?, ?, 'unknown animal')"; local 182 ps = conn.prepareStatement(query); 200 String query = "update zoo set name='Masha', family=? where id=?;"; local 201 ps = conn.prepareStatement(query); 221 String query = "create table hutch (id integer not null, animal_id integer, address char(20), primary key (id));"; local 222 ps = conn.prepareStatement(query); 233 String query = "select name, family from zoo where id = ?"; local 234 ps = conn.prepareStatement(query); 245 String query = "select name, family from zoo where id = ?"; local 246 ps = conn.prepareStatement(query); 256 String query = "update zoo set name='Masha', family=? where id=?;"; local 294 String query = "select * from zoo where id = ?"; local 346 String query = "update zoo set name='Masha', family='cat' where id=?;"; local 373 String query = "update zoo set name='Masha', family='cat' where id=?;"; local 386 String query = "select * from zoo where id = ?"; local 410 String query = "select * from zoo where id = ?"; local 442 String query = "select * from zoo where id = ? and family=?"; local 489 String query = "insert into type (IntVal) values (?);"; local 544 String query = "insert into type (LongVal) values (?);"; local 597 String query = "insert into type (FloatVal) values (?);"; local 650 String query = "insert into type (DoubleVal) values (?);"; local 706 String query = "insert into type (charStr) values (?);"; local 778 String query = "insert into type (TText) values (?);"; local 858 String query = "insert into type (TextVal) values (?);"; local 933 String query = "insert into type (MText) values (?);"; local 1002 String query = "insert into type (LText) values (?);"; local 1071 String query = "insert into type (Sint) values (?);"; local 1139 String query = "insert into type (BoolVal) values (?);"; local 1198 String query = "insert into type (Tint) values (?);"; local 1265 String query = "insert into type (LBlob) values (?);"; local 1313 String query = "insert into type (DecVal) values (?);"; local 1361 String query = "insert into type (dateVal) values (?);"; local 1419 String query = "insert into type (dateVal) values (?);"; local 1464 String query = "insert into type (BoolVal, IntVal) values ('true', ?);"; local 1556 String query = "insert into person (name, address) values ('Hans', ?);"; local 1640 String query = "insert into type (IntVal) values (?);"; local 1739 String query = "insert into type (IntVal) values (?);"; local 1832 String query = "insert into type (IntVal) values (?);"; local 1928 String query = "insert into type (timeVal) values (?);"; local 1988 String query = "insert into type (timeVal) values (?);"; local 2040 String query = "insert into type (TS) values (?);"; local 2115 String query = "insert into type (timeVal) values (?);"; local 2163 String query = "insert into type (TText) values (?);"; local 2181 String query = "insert into type (TText) values (?);"; local 2213 String query = "insert into type (TText) values (?);"; local 2228 String query = "insert into type (TText) values (?);"; local 2239 String query = "insert into type (TText) values (?);"; local 2254 String query = "insert into type (TText) values (?);"; local [all...] |
/external/chromium_org/components/nacl/loader/ |
nacl_validation_query.cc | 28 NaClValidationQuery* query = new NaClValidationQuery(db_, profile_key_); local 30 query->AddData(nacl_version_); 31 return query; 123 static void AddData(void* query, const uint8* data, size_t length) { 124 static_cast<NaClValidationQuery*>(query)->AddData(data, length); 127 static int QueryKnownToValidate(void* query) { 128 return static_cast<NaClValidationQuery*>(query)->QueryKnownToValidate(); 131 static void SetKnownToValidate(void* query) { 132 static_cast<NaClValidationQuery*>(query)->SetKnownToValidate(); 135 static void DestroyQuery(void* query) { [all...] |
/cts/tests/tests/permission2/src/android/permission2/cts/ |
ReadSocialStreamPermissionTest.java | 39 mResolver.query(Uri.withAppendedPath( 50 mResolver.query(Uri.withAppendedPath( 61 mResolver.query(Contacts.CONTENT_LOOKUP_URI.buildUpon() 73 mResolver.query(ContentUris.withAppendedId(StreamItems.CONTENT_URI, 1337),
|
/external/chromium_org/athena/main/ |
url_search_provider.h | 23 virtual void Start(const base::string16& query) OVERRIDE;
|
/external/chromium_org/base/metrics/ |
statistics_recorder.h | 53 // have |query| as a substring are written to |output| (an empty string will 55 static void WriteHTMLGraph(const std::string& query, std::string* output); 56 static void WriteGraph(const std::string& query, std::string* output); 58 // Returns the histograms with |query| as a substring as JSON text (an empty 59 // |query| will process all registered histograms). 60 static std::string ToJSON(const std::string& query); 73 // caller supplied vector (Histograms). Only histograms which have |query| as 76 static void GetSnapshot(const std::string& query, Histograms* snapshot);
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
history.cc | 50 void History::AddLaunchEvent(const std::string& query, 53 data_->Add(NormalizeString(query), result_id); 57 const std::string& query) const { 59 return data_->GetKnownResults(NormalizeString(query)).Pass();
|
search_webstore_result.cc | 20 const std::string& query) 22 query_(query), 23 launch_url_(extension_urls::GetWebstoreSearchPageUrl(query)) { 27 set_title(base::UTF8ToUTF16(query));
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMURLUtilsReadOnly.cpp | 69 String query = kurl.query(); local 70 return query.isEmpty() ? emptyString() : "?" + query;
|
/external/wpa_supplicant_8/hs20/server/www/ |
redirect.php | 15 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCursorDriver.java | 28 * Executes the query returning a Cursor over the result set. 34 Cursor query(CursorFactory factory, String[] bindArgs); method in interface:SQLiteCursorDriver
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
QueryTask.java | 41 * Creates a new query task. 43 * @param query Query to run. 47 * get called on. If null, the method is called on the query thread. 50 public QueryTask(String query, int queryLimit, SuggestionCursorProvider<C> provider, 52 mQuery = query; 76 public static <C extends SuggestionCursor> void startQuery(String query, 82 QueryTask<C> task = new QueryTask<C>(query, maxResults, provider, handler,
|
LevenshteinSuggestionFormatter.java | 40 public Spanned formatSuggestion(String query, String suggestion) { 41 if (DBG) Log.d(TAG, "formatSuggestion('" + query + "', '" + suggestion + "')"); 42 query = normalizeQuery(query); 43 final Token[] queryTokens = tokenize(query); 68 private String normalizeQuery(String query) { 69 return query.toLowerCase(); 75 * @param source List of source tokens (i.e. user query)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DownloadManagerWrapper.java | 20 import android.app.DownloadManager.Query; 81 public Cursor query(final Query query) { method in class:DownloadManagerWrapper 84 return mDownloadManager.query(query); 89 Log.e(TAG, "Can't query the download manager", e);
|
/external/chromium_org/components/bookmarks/browser/ |
bookmark_utils_unittest.cc | 90 QueryFields query; local 91 query.word_phrase_query.reset(new base::string16); 93 *query.word_phrase_query = ASCIIToUTF16(""); 94 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes); 99 *query.word_phrase_query = ASCIIToUTF16(" "); 100 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes); 105 *query.word_phrase_query = ASCIIToUTF16("foo"); 106 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes); 113 *query.word_phrase_query = ASCIIToUTF16("cnn"); 114 GetBookmarksMatchingProperties(model.get(), query, 100, string(), &nodes) 149 QueryFields query; local 186 QueryFields query; local 223 QueryFields query; local [all...] |
/external/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/ |
example.js | 20 var query = questionEl.value; 22 common.logMessage('You asked: ' + query); 29 var query = questionEl.value; 31 common.logMessage('Reversing: ' + query); 32 common.naclModule.postMessage('reverse:' + query);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DeletedContactUtil.java | 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 56 Cursor cursor = resolver.query(URI, projection, null, null, null); 69 public static List<String[]> query(ContentResolver resolver, String[] projection) { method in class:DeletedContactUtil 70 Cursor cursor = resolver.query(URI, projection, null, null, null); 83 Cursor cursor = resolver.query(URI, projection, selection, args, null);
|
/external/chromium_org/components/metrics/ |
machine_id_provider_win.cc | 56 STORAGE_PROPERTY_QUERY query = {}; local 57 query.PropertyId = StorageDeviceProperty; 58 query.QueryType = PropertyStandardQuery; 60 // Perform an initial query to get the number of bytes being returned. 65 &query, 75 // Query for the actual serial number. 79 &query,
|
/external/smack/src/org/jivesoftware/smackx/workgroup/settings/ |
GenericSettings.java | 34 private String query; field in class:GenericSettings 37 return query; 40 public void setQuery(String query) { 41 this.query = query; 72 buf.append("<query>" + getQuery() + "</query>");
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 90 String query, long delay) { 93 int length = query.length(); 95 final String prefix = query.substring(0, end); 133 public long checkSource(String src, ComponentName componentName, String query) { 135 return checkSourceInternal(src, searchable, query); 138 private long checkSourceInternal(String src, SearchableInfo searchable, String query) { 142 cursor = getSuggestions(searchable, query); 147 + " for '" + query + "'"); 150 + " for '" + query + "'"); 160 public Cursor getSuggestions(SearchableInfo searchable, String query) { [all...] |
/external/chromium_org/sync/syncable/ |
directory_backing_store.cc | 144 string query; local 145 query.reserve(kUpdateStatementBufferSize); 148 query.push_back(separator); 150 query.append(column->name); 151 query.push_back(' '); 152 query.append(column->spec); 154 query.push_back(')'); 155 return query; 496 std::string query = "INSERT INTO temp_metas ("; 497 AppendColumnList(&query); 656 string query = "DROP TABLE IF EXISTS "; local 1158 string query = "CREATE TABLE deleted_metas "; local 1406 string query = "CREATE TABLE "; local 1474 string query = "CREATE TABLE "; local 1496 string query = "CREATE TABLE "; local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 64 Cursor c = mResolver.query(searchUri, null, null, null, null); 72 new SuggestionTesterBuilder(contact).query("D").expectIcon1Uri(true).expectedText1( 79 new SuggestionTesterBuilder(contact).query("foo@ac").expectIcon1Uri(true).expectedIcon2( 87 new SuggestionTesterBuilder(contact).query("D").expectedText1("Deer Dough").expectedText2( 94 new SuggestionTesterBuilder(contact).query("L").expectedText1("Deer Dough").expectedText2( 101 new SuggestionTesterBuilder(contact).query("G").expectedText1("Deer Dough").expectedText2( 108 new SuggestionTesterBuilder(contact).query("S").expectIcon1Uri(false).expectedText1( 117 new SuggestionTesterBuilder(contact).query("1800").expectIcon1Uri(true).expectedText1( 129 private final String query; field in class:GlobalSearchSupportTest.SuggestionTester 141 query = builder.query 296 private String query; field in class:GlobalSearchSupportTest.SuggestionTesterBuilder 321 public SuggestionTesterBuilder query(String value) { method in class:GlobalSearchSupportTest.SuggestionTesterBuilder [all...] |
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 85 * the search query as the first element. 89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:DictionaryProvider 92 // Use the UriMatcher to see what kind of query we have and format the db query accordingly 115 private Cursor getSuggestions(String query) { 116 query = query.toLowerCase(); 125 return mDictionary.getWordMatches(query, columns); 128 private Cursor search(String query) { 129 query = query.toLowerCase() [all...] |
/external/chromium_org/components/query_parser/ |
query_parser.cc | 66 // A QueryNodeWord is a single word in the query. 77 virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE; 100 int QueryNodeWord::AppendToSQLiteQuery(base::string16* query) const { 101 query->append(word_); 105 *query += L'*'; 161 virtual int AppendToSQLiteQuery(base::string16* query) const OVERRIDE; 171 int AppendChildrenToString(base::string16* query) const; 204 int QueryNodeList::AppendToSQLiteQuery(base::string16* query) const { 205 return AppendChildrenToString(query); 233 int QueryNodeList::AppendChildrenToString(base::string16* query) const [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
FilterSuggestionBuilder.js | 155 * @param {string} query 158 parseQuery: function(query) 166 var colonIndex = query.indexOf(":", i); 168 part = query.substring(j); 173 var spaceIndex = query.lastIndexOf(" ", colonIndex); 174 var key = query.substring(spaceIndex + 1, colonIndex); 179 part = spaceIndex > j ? query.substring(j, spaceIndex) : ""; 182 var nextSpace = query.indexOf(" ", colonIndex + 1); 184 filters[key] = query.substring(colonIndex + 1); 187 filters[key] = query.substring(colonIndex + 1, nextSpace) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/ |
SmartDialNameMatcherTest.java | 235 private void checkMatchesNumber(String number, String query, boolean expectedMatches, 237 checkMatchesNumber(number, query, expectedMatches, false, matchStart, matchEnd); 240 private void checkMatchesNumber(String number, String query, boolean expectedMatches, 242 final SmartDialNameMatcher matcher = new SmartDialNameMatcher(query); 243 final SmartDialMatchPosition pos = matcher.matchesNumber(number, query, matchNanp); 251 private void checkMatches(String displayName, String query, boolean expectedMatches, 253 final SmartDialNameMatcher matcher = new SmartDialNameMatcher(query); 257 displayName, query, matchPositions); 258 Log.d(TAG, "query=" + query + " text=" + displayNam [all...] |