/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urlparse.py | 34 t = (result.scheme, result.netloc, result.path, 47 self.assertEqual(result3.scheme, result.scheme) 61 t = (result.scheme, result.netloc, result.path, 72 self.assertEqual(result3.scheme, result.scheme) 143 for scheme in ('http', 'https'): 145 url = scheme + url 146 parsed = (scheme,) + parsed 147 split = (scheme,) + spli [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urlparse.py | 34 t = (result.scheme, result.netloc, result.path, 47 self.assertEqual(result3.scheme, result.scheme) 61 t = (result.scheme, result.netloc, result.path, 72 self.assertEqual(result3.scheme, result.scheme) 143 for scheme in ('http', 'https'): 145 url = scheme + url 146 parsed = (scheme,) + parsed 147 split = (scheme,) + spli [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urlparse.py | 34 t = (result.scheme, result.netloc, result.path,
47 self.assertEqual(result3.scheme, result.scheme)
61 t = (result.scheme, result.netloc, result.path,
72 self.assertEqual(result3.scheme, result.scheme)
138 for scheme in ('http', 'https'):
140 url = scheme + url
141 parsed = (scheme,) + parsed
142 split = (scheme,) + split [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
UriUtil.java | 69 * Extract the path from a file:// Uri, or null if the uri is of other scheme. 82 final String scheme = uri.getScheme(); local 83 return TextUtils.equals(scheme, ContentResolver.SCHEME_ANDROID_RESOURCE) || 84 TextUtils.equals(scheme, ContentResolver.SCHEME_CONTENT) || 85 TextUtils.equals(scheme, ContentResolver.SCHEME_FILE); 92 final String scheme = uri.getScheme(); local 93 return TextUtils.equals(scheme, ContentResolver.SCHEME_ANDROID_RESOURCE); 105 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE) 315 * SCHEME:destionation[,destination]?otherstuff 316 * where SCHEME is one of the supported sms/mms schemes [all...] |
AvatarUriUtil.java | 73 private static final String SCHEME = "messaging"; 84 public static final Uri DEFAULT_BACKGROUND_AVATAR = new Uri.Builder().scheme(SCHEME) 130 builder.scheme(SCHEME); 213 builder.scheme(SCHEME); 236 builder.scheme(SCHEME); 247 builder.scheme(SCHEME) [all...] |
/external/libxml2/ |
uri.c | 27 * data URI scheme as defined in RFC 2397. Even for data URI the usual 202 * Parse an URI scheme 222 if (uri->scheme != NULL) xmlFree(uri->scheme); 223 uri->scheme = STRNDUP(*str, cur - *str); 239 * xpointer scheme selection, so we are allowing it here to not break 440 * IPv6 and future adressing scheme are enclosed between brackets 700 * Parse an path which is not a scheme and fills in the appropriate fields 853 * scheme ":" hier-part [ "?" query ] [ "#" fragment ] 1077 if (uri->scheme != NULL) [all...] |
/external/libcups/cups/ |
ppd-util.c | 520 scheme[HTTP_MAX_URI], /* Scheme name */ local 603 httpSeparateURI(HTTP_URI_CODING_ALL, _httpResolveURI(device_uri, uri, sizeof(uri), _HTTP_RESOLVE_DEFAULT, NULL, NULL), scheme, sizeof(scheme), username, sizeof(username), host, hostsize, port, resource, resourcesize); 621 httpSeparateURI(HTTP_URI_CODING_ALL, attr->values[i].string.text, scheme, sizeof(scheme), username, sizeof(username), host, hostsize, port, resource, resourcesize); 645 scheme, sizeof(scheme), username, sizeof(username), 686 httpSeparateURI(HTTP_URI_CODING_ALL, _httpResolveURI(attr->values[0].string.text, uri, sizeof(uri), _HTTP_RESOLVE_DEFAULT, NULL, NULL), scheme, sizeof(scheme), username, sizeof(username), host, hostsize, port, resource, resourcesize) [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URI.java | 70 * [<i>scheme</i><b>{@code :}</b>]<i>scheme-specific-part</i>[<b>{@code #}</b><i>fragment</i>] 76 * <p> An <i>absolute</i> URI specifies a scheme; a URI that is not absolute is 80 * <p> An <i>opaque</i> URI is an absolute URI whose scheme-specific part does 91 * scheme-specific part begins with a slash character, or a relative URI, that 92 * is, a URI that does not specify a scheme. Some examples of hierarchical 105 * [<i>scheme</i><b>{@code :}</b>][<b>{@code //}</b><i>authority</i>][<i>path</i>][<b>{@code ?}</b><i>query</i>][<b>{@code #}</b><i>fragment</i>] 110 * scheme-specific part of a hierarchical URI consists of the characters 111 * between the scheme and fragment components. 133 * <blockquote><table summary="Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment" 473 private transient String scheme; \/\/ null ==> relative URI field in class:URI [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 49 import org.apache.http.conn.scheme.LayeredSocketFactory; 50 import org.apache.http.conn.scheme.PlainSocketFactory; 51 import org.apache.http.conn.scheme.Scheme; 52 import org.apache.http.conn.scheme.SchemeRegistry; 53 import org.apache.http.conn.scheme.SocketFactory; 80 /** The scheme registry for looking up socket factories. */ 85 * Creates a new client connection operator for the given scheme registry. 87 * @param schemes the scheme registry 92 ("Scheme registry must not be null.") [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
MovieViewControl.java | 88 String scheme = mUri.getScheme(); local 89 if ("http".equalsIgnoreCase(scheme) 90 || "rtsp".equalsIgnoreCase(scheme)) { 138 String scheme = uri.getScheme(); local 140 return ("content".equalsIgnoreCase(scheme)
|
/external/apache-http/android/src/android/net/http/ |
HttpAuthHeader.java | 40 * An authentication scheme. We currently support two different schemes: 81 * implementations compliant with this version of the Digest scheme. 114 * most one authentication-scheme (ensured by the caller). 179 * @return The authentication scheme requested. We currently 234 * @return True iff the authentication scheme requested by the 257 * Parses the header scheme name and then scheme parameters if 258 * the scheme is supported. 268 // if we have a supported scheme 277 * Parses the authentication scheme name. If we have a Diges 287 String scheme = header.substring(0, i).trim(); local [all...] |
/external/ltp/testcases/kernel/mem/mtest07/ |
mallocstress.c | 38 /* scheme. size = fibannoci number, pow of 2 or*/ 152 /* int scheme - 0 to 3; selects how fast memory size grows */ 158 int scheme) 163 dprt(("pid[%d]: allocate_free: repeat %d, scheme %d\n", getpid(), 164 repeat, scheme)); 196 switch (scheme) { 266 /* thread N will use growth scheme N mod 4 */
|
/external/syslinux/core/fs/pxe/ |
urlparse.c | 74 ui->scheme = p; 115 ui->scheme = "tftp"; 209 printf("scheme: %s\n" 216 url.scheme, url.user, url.passwd, url.host, url.port,
|
/frameworks/base/media/java/android/media/ |
MediaMetadataRetriever.java | 155 String scheme = uri.getScheme(); local 156 if(scheme == null || scheme.equals("file")) {
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
URLFetcher.java | 57 * @throws AssociationServiceException if the URL scheme is not http or https or the content 87 * @throws AssociationServiceException if the URL scheme is not http or https or the content 92 final String scheme = url.getProtocol().toLowerCase(Locale.US); local 93 if (!scheme.equals("http") && !scheme.equals("https")) {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
MultiSelectEmailAddressesListFragment.java | 81 final String scheme = getActivity().getIntent().getStringExtra( local 86 getActivity(), getAdapter().getSelectedContactIdsArray(), scheme); 88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title);
|
MultiSelectPhoneNumbersListFragment.java | 81 final String scheme = getActivity().getIntent().getStringExtra( local 86 getActivity(), getAdapter().getSelectedContactIdsArray(), scheme); 88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
EmailClientConnectionManager.java | 29 import org.apache.http.conn.scheme.PlainSocketFactory; 30 import org.apache.http.conn.scheme.Scheme; 31 import org.apache.http.conn.scheme.SchemeRegistry; 71 registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 74 registry.register(new Scheme("https", 77 // Register the httpts scheme with our insecure factory 78 registry.register(new Scheme("httpts", 100 Scheme existing = registry.get(schemeName); 111 registry.register(new Scheme(schemeName, ssf, hostAuth.mPort)) [all...] |
/external/google-breakpad/src/common/windows/ |
http_upload.cc | 82 wchar_t scheme[16], host[256], path[256]; local 86 components.lpszScheme = scheme; 87 components.dwSchemeLength = sizeof(scheme) / sizeof(scheme[0]); 97 if (wcscmp(scheme, L"https") == 0) { 99 } else if (wcscmp(scheme, L"http") != 0) {
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
TextClassificationManagerTest.java | 240 String scheme; 243 scheme = result.getIntent().getData().getScheme(); 244 typeRequirementSatisfied = "mailto".equals(scheme); 247 scheme = result.getIntent().getData().getScheme(); 248 typeRequirementSatisfied = "http".equals(scheme) 249 || "https".equals(scheme);
|
/packages/services/Telephony/src/com/android/phone/ |
CallController.java | 209 String scheme = uri.getScheme(); local 214 log("- scheme: " + scheme); 278 final String scheme = (uri != null) ? uri.getScheme() : null; local 308 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri, 449 boolean voicemailUriSpecified = scheme != null && 450 scheme.equals(PhoneAccount.SCHEME_VOICEMAIL);
|
/prebuilts/go/darwin-x86/src/net/http/ |
proxy_test.go | 49 scheme string 69 cm := connectMethod{proxy, tt.scheme, tt.addr} 71 t.Fatalf("{%q, %q, %q} cache key = %q; want %q", tt.proxy, tt.scheme, tt.addr, got, tt.key)
|
/prebuilts/go/linux-x86/src/net/http/ |
proxy_test.go | 49 scheme string 69 cm := connectMethod{proxy, tt.scheme, tt.addr} 71 t.Fatalf("{%q, %q, %q} cache key = %q; want %q", tt.proxy, tt.scheme, tt.addr, got, tt.key)
|
/cts/tests/app/src/android/app/cts/ |
AutomaticZenRuleTest.java | 30 private final Uri mConditionId = new Uri.Builder().scheme("scheme") 72 final Uri newConditionId = new Uri.Builder().scheme("scheme")
|
/external/apache-http/android/src/android/net/compatibility/ |
WebAddress.java | 36 * If given an https scheme but no port, fills in port 54 /* scheme */ "(?:(http|https|file)\\:\\/\\/)?" + 109 /* Get port from scheme or scheme from port, if necessary and 137 public void setScheme(String scheme) { 138 mScheme = scheme;
|