/external/webkit/Source/WebCore/storage/ |
StorageAreaSync.cpp | 278 SQLiteStatement query(m_database, "SELECT key, value FROM ItemTable"); 279 if (query.prepare() != SQLResultOk) { 287 int result = query.step(); 289 itemMap.set(query.getColumnText(0), query.getColumnText(1)); 290 result = query.step(); 389 SQLiteStatement& query = it->second.isNull() ? remove : insert; local 391 query.bindText(1, it->first); 395 query.bindText(2, it->second); 397 int result = query.step() [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
SelectionBuilder.java | 96 * Execute query using the current internal state as {@code WHERE} clause. 99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { method in class:SelectionBuilder 100 return query(db, table, columns, null, null, orderBy, null); 104 * Execute query using the current internal state as {@code WHERE} clause. 106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, method in class:SelectionBuilder 108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having,
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockCorpus.java | 55 public Intent createSearchIntent(String query, Bundle appData) { 95 public CorpusResult getSuggestions(String query, int queryLimit, boolean onlyCorpus) { 96 return new Result(query, mSource.getSuggestions(query, queryLimit, true));
|
SingleCorpusPromoterTest.java | 30 public static final String TEST_QUERY = "query"; 57 private Suggestions makeSuggestions(String query) { 58 Suggestions suggestions = new Suggestions(query, mCorpora); 61 results.add(corpus.getSuggestions(query, 10, false));
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
discoitemsquerytask.cc | 70 const XmlElement* query = stanza->FirstNamed(QN_DISCO_ITEMS_QUERY); local 71 if (query) { 72 SignalGotDiscoItems(to_, query);
|
friendinvitesendtask.cc | 41 XmlElement* query = new XmlElement(QN_ROSTER_QUERY); local 45 query->AddElement(item); 46 iq->AddElement(query);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_GenresTest.java | 52 assertNotNull(mContentResolver.query( 57 assertNotNull(mContentResolver.query( 67 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null)); 78 // query 79 Cursor c = mContentResolver.query(uri, null, null, null, null); 90 c = mContentResolver.query(uri, null, null, null, null);
|
MediaStore_Audio_ArtistsTest.java | 52 assertNotNull(mContentResolver.query( 55 assertNotNull(mContentResolver.query( 61 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)); 88 // query 89 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); 122 c = mContentResolver.query(filterUri, null, null, null, null); 130 c = mContentResolver.query(filterUri, null, null, null, null); 137 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null);
|
MediaStore_Audio_Artists_AlbumsTest.java | 56 assertNotNull(mContentResolver.query(contentUri, null, null, null, null)); 59 assertNotNull(mContentResolver.query(contentUri, null, null, null, null)); 63 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1), 67 @ToBeFixed(bug = "", explanation = "The result cursor of query for all columns does not " 73 @ToBeFixed(bug = "", explanation = "The result cursor of query for all columns does not " 84 Cursor c = mContentResolver.query(audioMediaUri, new String[] { Media.ARTIST_ID }, null, 101 // query 102 c = mContentResolver.query(artistsAlbumsUri, null, null, null, null); 145 c = mContentResolver.query(artistsAlbumsUri, null, null, null, null);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
AbstractSource.java | 79 public Intent createSearchIntent(String query, Bundle appData) { 80 return createSourceSearchIntent(getIntentComponent(), query, appData); 83 public static Intent createSourceSearchIntent(ComponentName activity, String query, 95 intent.putExtra(SearchManager.USER_QUERY, query); 96 intent.putExtra(SearchManager.QUERY, query);
|
AppsCorpus.java | 76 public Intent createSearchIntent(String query, Bundle appData) { 77 Intent appSearchIntent = createAppSearchIntent(query, appData); 82 return super.createSearchIntent(query, appData); 92 private Intent createAppSearchIntent(String query, Bundle appData) { 95 Intent intent = AbstractSource.createSourceSearchIntent(name, query, appData);
|
SearchActivity.java | 68 private static final String INSTANCE_KEY_QUERY = "query"; 208 String query = savedInstanceState.getString(INSTANCE_KEY_QUERY); local 210 setQuery(query, false); 226 String query = intent.getStringExtra(SearchManager.QUERY); local 231 setQuery(query, selectAll); 339 // Close all open suggestion cursors. The query will be redone in onResume() 395 protected void setQuery(String query, boolean selectAll) { 396 mSearchActivityView.setQuery(query, selectAll); 414 String query = CharMatcher.WHITESPACE.trimAndCollapseFrom(getQuery(), ' ') local 593 String query = suggestion.getSuggestionQuery(); local 659 final String query = CharMatcher.WHITESPACE.trimLeadingFrom(getQuery()); local [all...] |
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationLauncher.java | 55 String query = intent.getStringExtra(SearchManager.QUERY); local 56 showSearchResults(query); 60 private void showSearchResults(String query) { 61 setTitle(query); 63 mCursor = Applications.search(getContentResolver(), query);
|
/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...] |
/frameworks/base/core/java/android/app/ |
SearchManager.java | 81 * to obtain the query string from Intent.ACTION_SEARCH. 83 public final static String QUERY = "query"; 89 * to obtain the query string typed in by the user. 90 * This may be different from the value of {@link #QUERY} 92 * In that case, {@link #QUERY} will contain the value of 121 * to obtain the keycode that the user used to trigger this query. It will be zero if the 136 * the initial query should be selected when the global search activity is started, so 137 * that the user can easily replace it with another query. 173 * Flag to specify that the entry can be used for query refinement, i.e., the query tex [all...] |
/external/webkit/Source/WebCore/xml/ |
XSLTProcessorQt.cpp | 136 QXmlQuery query(QXmlQuery::XSLT20); 140 query.setMessageHandler(&messageHandler); 144 query.bindVariable(QString(it->first), QXmlItem(QVariant(QString(it->second)))); 163 query.setFocus(&inputBuffer); 164 query.setQuery(&styleSheetBuffer, QUrl(stylesheet->href())); 166 query.setUriResolver(&uriResolver); 168 success = query.evaluateTo(&outputBuffer);
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
webserver.rb | 32 ie.test_num = request.query['t'].to_i || 0 33 ie.subtest_data = request.query['s'] || nil 34 ie.random_mode = request.query['r'] 35 ie.lookup_mode = request.query['l'] 36 ie.claimed_browser = request.query['b'] || nil 37 ie.stop_num = request.query['x'] || nil 54 mime_type = request.query['m']
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallerInfoTest.java | 80 * Same as testEmergencyIsProperlySet but uses the async query api. 84 QueryRunner query; local 86 query = new QueryRunner("911"); 87 query.runAndCheckCompletion(); 90 query = new QueryRunner("tel:911"); 91 query.runAndCheckCompletion(); 94 query = new QueryRunner("18001234567"); 95 query.runAndCheckCompletion(); 165 * query, so we have to use a thread with its own looper. 178 // Run the query in the thread, wait for completion [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngineInfo.java | 121 * Returns the URI for launching a web search with the given query (or null if there was no 124 public String getSearchUriForQuery(String query) { 125 return getFormattedUri(searchUri(), query); 129 * Returns the URI for retrieving web search suggestions for the given query (or null if there 132 public String getSuggestUriForQuery(String query) { 133 return getFormattedUri(suggestUri(), query); 156 private String getFormattedUri(String templateUri, String query) { 161 // Encode the query terms in the requested encoding (and fallback to UTF-8 if not). 164 return templateUri.replace(PARAMETER_SEARCH_TERMS, URLEncoder.encode(query, enc)); 166 Log.e(TAG, "Exception occured when encoding query " + query + " to " + enc) [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 102 <scheme>://<authority><path>?<query> 269 * Gets the decoded query component from this URI. The query comes after 270 * the query separator ('?') and before the fragment separator ('#'). This 274 * @return the decoded query or null if there isn't one 279 * Gets the encoded query component from this URI. The query comes after 280 * the query separator ('?') and before the fragment separator ('#'). This 284 * @return the encoded query or null if there isn't one 384 // the data we include -- only the ssp, not the query params o 627 private Part query; field in class:Uri.StringUri 1135 private final Part query; field in class:Uri.HierarchicalUri 1317 private Part query; field in class:Uri.Builder 1425 Builder query(Part query) { method in class:Uri.Builder 1436 public Builder query(String query) { method in class:Uri.Builder 1559 String query = getEncodedQuery(); local 1602 String query = getEncodedQuery(); local 1662 final String query = getEncodedQuery(); local [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...] |
/frameworks/base/core/java/android/webkit/ |
SearchBoxImpl.java | 129 public void setQuery(String query) { 130 final String formattedQuery = jsonSerialize(query); 255 private static String jsonSerialize(String query) { 258 stringer.array().value(query).endArray(); 260 Log.w(TAG, "Error serializing query : " + query); 272 String query = null; local 276 query = suggestionsJson.getString("query"); 294 mCallbackProxy.onSearchboxSuggestionsReceived(query, suggestions) [all...] |
/libcore/luni/src/main/java/java/net/ |
URI.java | 37 * {@code http://username:password@host:8080/directory/file?query#fragment} 41 * <tr><td>{@link #getSchemeSpecificPart() Scheme-specific part}</td><td>{@code //username:password@host:8080/directory/file?query#fragment}</td><td></td></tr> 47 * <tr><td>{@link #getQuery() Query} </td><td>{@code query} </td><td></td></tr> 88 * has an authority, user info, host, port, path or query. An opaque URIs may 117 * <tr><td>Query </td><td>{@code 0-9}, {@code a-z}, {@code A-Z}, {@code _-!.~'()*,;:$&+=?/[]@}</td><td>Non-ASCII characters okay </td><td>{@code q=green%20robots} </td><td>{@code q=green robots}</td></tr> 146 /** for query, fragment, and scheme-specific part */ 188 private transient String query; field in class:URI 235 public URI(String scheme, String userInfo, String host, int port, String path, String query, 238 && query == null && fragment == null) [all...] |
/external/chromium/googleurl/src/ |
url_parse.cc | 180 Component* query, 182 // path = [/]<segment1>/<segment2>/<...>/<segmentN>;<param>?<query>#<ref> 187 query->reset(); 201 // Only match the query string if it precedes the reference fragment 228 // Query fragment: everything from the ? to the next boundary (either the end 232 *query = MakeRange(query_separator + 1, query_end); 234 query->reset(); 292 // and port) and the full path (path, query, and reference). 310 ParsePath(spec, full_path, &parsed->path, &parsed->query, &parsed->ref); 346 parsed->query.reset() [all...] |
/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...] |