/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestBasic.java | 71 String urlString = url.toString(); 72 int urlLength = urlString.length(); 75 int startSchemeIndex = urlString.startsWith("https") ? 5 : 0; 76 int startDomainIndex = urlString.indexOf(domainAndRegistry); 95 if (stopIndex < urlString.length()) {
|
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/ |
MainTest.java | 32 assertEquals("http://example.com/", request.urlString()); 39 assertEquals("http://example.com/", request.urlString()); 47 assertEquals("http://example.com/", request.urlString()); 56 assertEquals("http://example.com/", request.urlString()); 66 assertEquals("http://example.com/", request.urlString()); 74 assertEquals("http://example.com/", request.urlString()); 82 assertEquals("http://example.com/", request.urlString());
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ESDescriptor.java | 39 bit(8) URLstring[URLlength];
73 String URLString;
98 URLString = IsoTypeReader.readString(bb, URLLength);
189 IsoTypeWriter.writeUtf8String(out, URLString);
289 return URLString;
292 public void setURLString(String URLString) {
293 this.URLString = URLString;
322 sb.append(", URLString='").append(URLString).append('\''); [all...] |
InitialObjectDescriptor.java | 36 bit(8) URLstring[URLlength];
59 String urlString;
84 urlString = IsoTypeReader.readString(bb, urlLength);
124 sb.append(", urlString='").append(urlString).append('\'');
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
ARDAppEngineClient.m | 45 NSString *urlString = nil; 47 urlString = 50 urlString = 54 NSURL *roomURL = [NSURL URLWithString:urlString]; 95 NSString *urlString = 98 NSURL *url = [NSURL URLWithString:urlString]; 136 NSString *urlString = 138 NSURL *url = [NSURL URLWithString:urlString];
|
ARDWebSocketChannel.m | 99 NSString *urlString = 102 NSURL *url = [NSURL URLWithString:urlString]; 116 NSString *urlString = 119 NSURL *url = [NSURL URLWithString:urlString];
|
/frameworks/base/core/java/android/net/ |
PacProxySelector.java | 69 String urlString; 77 urlString = uri.toURL().toString(); 79 urlString = uri.getHost(); 81 urlString = uri.getHost(); 84 response = mProxyService.resolvePacFile(uri.getHost(), urlString);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
YouTubeUtil.java | 36 public static String getYoutubePreviewImageLink(String urlString) { 44 if (!urlString.startsWith("http")) { 46 urlString = "http://" + urlString; 48 final Uri uri = Uri.parse(urlString);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
Utils.java | 154 * @param urlString 157 static String redactUrlForNonVerbose(String urlString) { 160 return urlString; 162 if (TextUtils.isEmpty(urlString)) { 163 return urlString; 168 final URL url = new URL(urlString); 177 .append("[").append(urlString.length()).append("]");
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 83 String urlString; 87 urlString = "file://" + absolutePath; 89 urlString = "file:///" + absolutePath; 92 urlString = "file:" + localPath; 94 return replaceChars(urlString); 275 * @param urlString SystemID string 281 public static String getAbsoluteURI(String urlString, String base) 285 return getAbsoluteURI(urlString); 292 uri = new URI(baseURI, urlString);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SystemIDResolver.java | 76 String urlString; 80 urlString = "file://" + absolutePath; 82 urlString = "file:///" + absolutePath; 85 urlString = "file:" + localPath; 87 return replaceChars(urlString); 268 * @param urlString SystemID string 274 public static String getAbsoluteURI(String urlString, String base) 278 return getAbsoluteURI(urlString); 285 uri = new URI(baseURI, urlString);
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
SourceTreeManager.java | 110 * @param urlString Value from an xsl:import or xsl:include's href attribute, 119 String base, String urlString, SourceLocator locator) 127 source = m_uriResolver.resolve(urlString, base); 132 String uri = SystemIDResolver.getAbsoluteURI(urlString, base); 228 * @param base The base URI to use if the urlString is relative. 229 * @param urlString An absolute or relative URL string. 233 * base and urlString. 238 String base, String urlString, SourceLocator locator, XPathContext xctxt) 245 Source source = this.resolveURI(base, urlString, locator); 247 // System.out.println("getSourceTree - base: "+base+", urlString: "+urlString+", source: "+source.getSystemId()) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
UrlComponentEncodingTester.java | 230 String urlString = component.urlString(encoded); 231 HttpUrl url = HttpUrl.parse(urlString); 252 String urlString = component.urlString(identity); 253 HttpUrl url = HttpUrl.parse(urlString); 263 HttpUrl httpUrl = HttpUrl.parse(component.urlString(encoded)); 272 HttpUrl httpUrl = HttpUrl.parse(component.urlString(encoded)); 283 HttpUrl httpUrl = HttpUrl.parse(component.urlString(encoded)); 332 @Override public String urlString(String value) [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
MmsHttpClient.java | 100 * @param urlString The request URL, for sending it is usually the MMSC, and for downloading 113 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, 116 LogUtil.d(requestId, "HTTP: " + method + " " + redactUrlForNonVerbose(urlString) 127 final URL url = new URL(urlString); 216 final String redactedUrl = redactUrlForNonVerbose(urlString); 220 final String redactedUrl = redactUrlForNonVerbose(urlString); 415 * @param urlString 418 public static String redactUrlForNonVerbose(String urlString) { 421 return urlString; 423 if (TextUtils.isEmpty(urlString)) { [all...] |
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
MainActivity.java | 118 private String loadFromNetwork(String urlString) throws IOException { 123 stream = downloadUrl(urlString); 136 * @param urlString A string representation of a URL. 140 private InputStream downloadUrl(String urlString) throws IOException { 142 URL url = new URL(urlString);
|
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/ |
MainActivity.java | 118 private String loadFromNetwork(String urlString) throws IOException { 123 stream = downloadUrl(urlString); 136 * @param urlString A string representation of a URL. 140 private InputStream downloadUrl(String urlString) throws IOException { 142 URL url = new URL(urlString);
|
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
MainActivity.java | 118 private String loadFromNetwork(String urlString) throws IOException { 123 stream = downloadUrl(urlString); 136 * @param urlString A string representation of a URL. 140 private InputStream downloadUrl(String urlString) throws IOException { 142 URL url = new URL(urlString);
|
/cts/tests/tests/media/src/android/media/cts/ |
StreamingMediaPlayerTest.java | 99 String urlString = dynamicConfig.getValue(HTTP_H263_AMR_VIDEO_1_KEY); 100 playVideoTest(urlString, 176, 144); 108 String urlString = dynamicConfig.getValue(HTTP_H263_AMR_VIDEO_2_KEY); 109 playVideoTest(urlString, 176, 144); 117 String urlString = dynamicConfig.getValue(HTTP_MPEG4_SP_AAC_VIDEO_1_KEY); 118 playVideoTest(urlString, 176, 144); 126 String urlString = dynamicConfig.getValue(HTTP_MPEG4_SP_AAC_VIDEO_2_KEY); 127 playVideoTest(urlString, 176, 144); 135 String urlString = dynamicConfig.getValue(HTTP_H264_BASE_AAC_VIDEO_1_KEY); 136 playVideoTest(urlString, 640, 360) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
AboutPreferenceFragment.java | 93 private void startActivityForUrl(String urlString) { 96 intent.setData(Uri.parse(urlString));
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ResultsUploader.java | 81 @Nullable String urlString = resultProcessorConfig.options().get("url"); 82 if (Strings.isNullOrEmpty(urlString)) { 87 this.uploadUri = Optional.of(new URI(urlString).resolve(POST_PATH)); 89 throw new InvalidConfigurationException(urlString + " is an invalid upload url", e);
|
/external/curl/tests/libtest/ |
lib1900.c | 33 char *urlstring[MAX_URLS]; variable 68 urlstring[num_handles] = strdup(buf); 92 Curl_safefree(urlstring[i]); 116 sprintf(urlbuf, "%s%s", base_url, urlstring[handlenum]);
|
/external/guava/guava/src/com/google/common/base/ |
FinalizableReferenceQueue.java | 315 String urlString = finalizerUrl.toString(); 316 if (!urlString.endsWith(finalizerPath)) { 317 throw new IOException("Unsupported path style: " + urlString); 319 urlString = urlString.substring(0, urlString.length() - finalizerPath.length()); 320 return new URL(finalizerUrl, urlString);
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
JarResource.java | 142 String urlString = this.getURL().toExternalForm().trim(); 143 int endOfJarUrl = urlString.indexOf("!/"); 147 throw new IOException("Not a valid jar url: "+urlString); 149 URL jarFileURL = new URL(urlString.substring(startOfJarUrl, endOfJarUrl)); 150 String subEntryName = (endOfJarUrl+2 < urlString.length() ? urlString.substring(endOfJarUrl + 2) : null);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
VideoProvider.java | 61 protected JSONObject parseUrl(String urlString) { 62 Log.d(TAG, "Parse URL: " + urlString); 68 java.net.URL url = new java.net.URL(urlString);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
VideoProvider.java | 155 protected JSONObject parseUrl(String urlString) { 156 Log.d(TAG, "Parse URL: " + urlString); 162 java.net.URL url = new java.net.URL(urlString);
|