/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactAccessorSdk5.java | 63 Cursor cursor = contentResolver.query(contactUri, 75 cursor = contentResolver.query(Phone.CONTENT_URI,
|
/external/chromium/chrome/browser/history/ |
multipart_uitest.cc | 48 std::string query( 53 sql::Statement statement(db.GetUniqueStatement(query.c_str()));
|
query_parser_unittest.cc | 18 std::string QueryToString(const std::string& query); 24 // Test helper: Convert a user query string in 8-bit (for hardcoding 25 // convenience) to a SQLite query string. 26 std::string QueryParserTest::QueryToString(const std::string& query) { 28 query_parser_.ParseQuery(UTF8ToUTF16(query), &sqlite_query); 92 const std::string query; member in struct:TestData2 118 parser.ParseQuery(UTF8ToUTF16(data[i].query), &query_nodes.get());
|
/external/chromium/googleurl/src/ |
url_parse_internal.h | 89 Component* query, 94 Component* query,
|
url_canon_internal_file.h | 150 source.query, parsed.query, output, &new_parsed->query);
|
url_canon_mailtourl.cc | 48 // mailto: only uses {scheme, path, query} -- clear the rest. 85 // Query -- always use the default utf8 charset converter. 86 CanonicalizeQuery(source.query, parsed.query, NULL, 87 output, &new_parsed->query);
|
url_parse.h | 118 QUERY, 137 // Note that this can get a little funny for the port, query, and ref 143 // delimited components that is present (the port and query) and one that 148 // Example input: http://foo:80/?query 156 // *QUERY: 14 15 <- 193 // a question mark but no query string. 194 Component query; member in struct:url_parse::Parsed 235 // MailtoURL is for mailto: urls. They are made up scheme,path,query 310 // Extract the first key/value from the range defined by |*query|. Updates 311 // |*query| to start at the end of the extracted key/value pair. This i [all...] |
/external/webkit/Source/JavaScriptCore/wtf/url/api/ |
ParsedURL.cpp | 73 String ParsedURL::query() const function in class:WTF::ParsedURL 75 return segment(m_segments.query);
|
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 99 String query; local 140 query = null; 153 query = url.getQuery(); 158 * Extract the path, query and fragment. Each part has its own leading 159 * delimiter character. The query can contain slashes and the fragment 161 * / path ? query # fragment 173 query = spec.substring(pos + 1, nextPos); 179 query = null; 192 setURL(url, url.getProtocol(), host, port, authority, userInfo, path, query, ref); 242 String authority, String userInfo, String path, String query, [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP1to2UpgradeTests.java | 55 Cursor c = mBp1.query(Browser.BOOKMARKS_URI, 64 c = getMockContentResolver().query(Browser.BOOKMARKS_URI, 74 c = getMockContentResolver().query(Bookmarks.CONTENT_URI, 92 Cursor c = getMockContentResolver().query(History.CONTENT_URI, 101 c = getMockContentResolver().query(Browser.BOOKMARKS_URI, 121 Cursor c = getMockContentResolver().query(Bookmarks.CONTENT_URI, 130 c = getMockContentResolver().query(Browser.BOOKMARKS_URI, 142 Cursor c = getMockContentResolver().query(Bookmarks.CONTENT_URI,
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Source.java | 132 Intent createSearchIntent(String query, Bundle appData); 144 * @param query The user query. 148 SourceResult getSuggestions(String query, int queryLimit, boolean onlySource);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 54 assertNotNull(mContentResolver.query( 60 assertNotNull(mContentResolver.query( 69 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null, 87 // query 88 Cursor c = mContentResolver.query(uri, null, null, null, null); 107 c = mContentResolver.query(uri, null, null, null, null);
|
MediaStore_Audio_AlbumsTest.java | 52 assertNotNull(mContentResolver.query( 55 assertNotNull(mContentResolver.query( 61 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)); 64 @ToBeFixed(bug = "", explanation = "The result cursor of query for all columns does not " 70 @ToBeFixed(bug = "", explanation = "The result cursor of query for all columns does not " 94 // query 95 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, 147 c = mContentResolver.query(filterUri, null, null, null, null); 155 c = mContentResolver.query(filterUri, null, null, null, null); 162 Cursor c = mContentResolver.query(audioAlbumsUri, null, selection, selectionArgs, null) [all...] |
SettingsTest.java | 60 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION, 77 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION, 89 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION, 130 cursor = provider.query(uri, BLUETOOTH_DEVICES_PROJECTION, 149 cursor = provider.query(uri, BLUETOOTH_DEVICES_PROJECTION, 161 cursor = provider.query(uri, BLUETOOTH_DEVICES_PROJECTION, "_id = " + Id, null, null); 183 cursor = provider.query(Settings.Secure.CONTENT_URI, SECURE_PROJECTION, 221 Cursor c = cr.query(uri, SELECT_VALUE, NAME_EQ_PLACEHOLDER, 223 fail("SettingsProvider didn't throw IllegalArgumentException for query name " 243 Cursor c = cr.query(uri, SELECT_VALUE, NAME_EQ_PLACEHOLDER [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
httpcommon-inl.h | 77 const CTYPE* query = strchrn(val, len, static_cast<CTYPE>('?')); local 78 if (!query) { 79 query = val + len; 81 size_t path_length = (query - val); 89 query_.assign(query, len - path_length);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ProfileView.js | 232 performSearch: function(query, finishedCallback) 237 query = query.trim(); 239 if (!query.length) 244 var greaterThan = (query.indexOf(">") === 0); 245 var lessThan = (query.indexOf("<") === 0); 246 var equalTo = (query.indexOf("=") === 0 || ((greaterThan || lessThan) && query.indexOf("=") === 1)); 247 var percentUnits = (query.lastIndexOf("%") === (query.length - 1)) [all...] |
/external/chromium/chrome/browser/bookmarks/ |
bookmark_index_unittest.cc | 42 void ExpectMatches(const std::string& query, 48 ExpectMatches(query, title_vector); 51 void ExpectMatches(const std::string& query, 54 model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); 86 void ExpectMatchPositions(const std::string& query, 89 model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); 107 // all query paths. 111 const std::string query; member in struct:TestData 146 ExpectMatches(data[i].query, expected); 156 const std::string query; member in struct:TestData [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
UriTest.java | 322 notes = "Test get query parameters.", 328 notes = "Test get query parameters.", 608 testHierarchical("http", "google.com", "/p1/p2", "query", "fragment"); 613 testHierarchical("http", "google.com", "", "query", "fragment"); 614 testHierarchical("http", "google.com", "", "query", null); 615 testHierarchical("http", null, "/", "query", null); 619 String path, String query, String fragment) { 628 if (query != null) { 629 sb.append('?').append(query); 647 uriString, ssp, uri, scheme, authority, path, query, fragment) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/url/src/ |
URLParser.h | 125 // host, and port) and the full path (path, query, and reference). 143 parsePath(spec, fullPath, parsed.path, parsed.query, parsed.fragment); 169 static void parsePath(const CHAR* spec, const URLComponent& path, URLComponent& filepath, URLComponent& query, URLComponent& fragment) 171 // path = [/]<segment1>/<segment2>/<...>/<segmentN>;<param>?<query>#<fragment> 176 query.reset(); 218 // Query fragment: everything from the ? to the next boundary (either 222 query = URLComponent::fromRange(querySeparator + 1, queryEnd); 224 query.reset(); 243 parsed.query.reset(); 290 parsed.query.reset(); // May use this; reset for convenience [all...] |
/sdk/traceview/src/com/android/traceview/ |
ProfileView.java | 128 String query = mSearchBox.getText(); 129 if (query.length() == 0) 131 findName(query); 143 String query = mSearchBox.getText(); 144 if (query.length() == 0) 146 findNextName(query); 169 String query = mSearchBox.getText(); 170 if (query.length() == 0) 172 findNextName(query); 244 private void findName(String query) { [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkViews.java | 78 * Get the response to the query 79 * @return the response to the query 81 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); method in interface:MonkeySourceNetworkViews.ViewIntrospectionCommand 129 * Also sets up a communication connection so we can query the 306 return getter.query(node, args); 328 return (new GetAccessibilityIds()).query(node, new ArrayList<String>()); 353 MonkeyCommandReturn result = idGetter.query(node, emptyArgs); 372 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetLocation 394 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetText 418 public MonkeyCommandReturn query(AccessibilityNodeInfo node method in class:MonkeySourceNetworkViews.GetClass 432 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChecked 447 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetEnabled 462 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetSelected 478 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetSelected 502 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetFocused 518 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.SetFocused 544 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetAccessibilityIds 573 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetParent 594 public MonkeyCommandReturn query(AccessibilityNodeInfo node, method in class:MonkeySourceNetworkViews.GetChildren [all...] |
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
ApplicationsProvider.java | 96 // A query parameter to refresh application statistics. Used by QSB. 312 public Cursor query(Uri uri, String[] projectionIn, String selection, method in class:ApplicationsProvider 314 if (DBG) Log.d(TAG, "query(" + uri + ")"); 328 String query = null; local 330 query = uri.getLastPathSegment().toLowerCase(); 335 return getSuggestions(query, projectionIn); 345 String query = null; local 347 query = uri.getLastPathSegment().toLowerCase(); 349 return getSearchResults(query, projectionIn); 356 private Cursor getSuggestions(String query, String[] projectionIn) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
DefaultContactListAdapter.java | 66 String query = getQueryString(); local 67 if (query == null) { 68 query = ""; 70 query = query.trim(); 71 if (TextUtils.isEmpty(query)) { 73 // so let's just send a "nothing" query to the local directory. 79 builder.appendPath(query); // Builder will encode the query
|
/external/apache-http/src/org/apache/http/client/utils/ |
URIUtils.java | 61 * @param query 62 * Query 78 final String query, 99 if (query != null) { 101 buffer.append(query); 112 * and port are taken from the target host, but whose path, query and 117 * Contains the path, query and fragment to use.
|
/external/webkit/Source/WebKit2/WebProcess/qt/ |
WebProcessMainQt.cpp | 74 QList<QNetworkProxy> queryProxy(const QNetworkProxyQuery& query = QNetworkProxyQuery()); 104 QList<QNetworkProxy> EnvHttpProxyFactory::queryProxy(const QNetworkProxyQuery& query) 106 QString protocol = query.protocolTag().toLower();
|