HomeSort by relevance Sort by last modified time
    Searched refs:UrlUtils (Results 1 - 22 of 22) sorted by null

  /libcore/luni/src/test/java/libcore/net/url/
UrlUtilsTest.java 23 assertEquals("", UrlUtils.canonicalizePath("", true));
24 assertEquals("", UrlUtils.canonicalizePath(".", true));
25 assertEquals("", UrlUtils.canonicalizePath("..", true));
26 assertEquals("...", UrlUtils.canonicalizePath("...", true));
27 assertEquals("", UrlUtils.canonicalizePath("./", true));
28 assertEquals("", UrlUtils.canonicalizePath("../", true));
29 assertEquals("a", UrlUtils.canonicalizePath("../a", true));
30 assertEquals("a", UrlUtils.canonicalizePath("a", true));
31 assertEquals("a/", UrlUtils.canonicalizePath("a/", true));
32 assertEquals("a/", UrlUtils.canonicalizePath("a/.", true))
    [all...]
  /libcore/luni/src/main/java/java/net/
URLStreamHandler.java 21 import libcore.net.url.UrlUtils;
104 fileStart = UrlUtils.findFirstOf(spec, "/?#", authorityStart, end);
106 int userInfoEnd = UrlUtils.findFirstOf(spec, "@", authorityStart, fileStart);
122 int ipv6End = UrlUtils.findFirstOf(spec, "]", hostStart, fileStart);
124 if (UrlUtils.findFirstOf(spec, ":", hostStart, ipv6End) == ipv6End) {
130 int hostEnd = UrlUtils.findFirstOf(spec, ":", colonSearchFrom, fileStart);
172 nextPos = UrlUtils.findFirstOf(spec, "#", pos, end);
177 nextPos = UrlUtils.findFirstOf(spec, "?#", pos, end);
190 path = UrlUtils.authoritySafePath(authority, path);
200 return UrlUtils.canonicalizePath(path, true)
    [all...]
URL.java 32 import libcore.net.url.UrlUtils;
161 protocol = UrlUtils.getSchemePrefix(spec);
251 file = UrlUtils.authoritySafePath(host, file);
URI.java 26 import libcore.net.url.UrlUtils;
353 int fragmentStart = UrlUtils.findFirstOf(uri, "#", 0, uri.length());
360 int colon = UrlUtils.findFirstOf(uri, ":", 0, fragmentStart);
361 if (colon < UrlUtils.findFirstOf(uri, "/?#", 0, fragmentStart)) {
389 fileStart = UrlUtils.findFirstOf(uri, "/?", authorityStart, fragmentStart);
401 int queryStart = UrlUtils.findFirstOf(uri, "?", fileStart, fragmentStart);
418 if (!UrlUtils.isValidSchemeChar(i, uri.charAt(i))) {
    [all...]
  /libcore/luni/src/main/java/libcore/net/url/
UrlUtils.java 21 public final class UrlUtils {
22 private UrlUtils() {
JarHandler.java 77 tmpFile = UrlUtils.canonicalizePath(tmpFile, true);
  /packages/apps/Browser/src/com/android/browser/
UrlUtils.java 29 public class UrlUtils {
48 private UrlUtils() { /* cannot be instantiated */ }
IntentHandler.java 237 url = UrlUtils.smartUrlFilter(intent.getData());
263 url = UrlUtils.fixUrl(url);
264 url = UrlUtils.smartUrlFilter(url);
323 String url = UrlUtils.fixUrl(inUrl).trim();
329 || UrlUtils.ACCEPTED_URI_SCHEMA.matcher(url).matches()) {
BookmarkItem.java 132 url = UrlUtils.stripUrl(url);
PreloadRequestReceiver.java 97 String url = UrlUtils.smartUrlFilter(i.getData());
UrlInputView.java 310 String url = UrlUtils.fixUrl(inUrl).trim();
314 || UrlUtils.ACCEPTED_URI_SCHEMA.matcher(url).matches()) {
NavigationBarBase.java 182 String url = UrlUtils.smartUrlFilter(text, false);
SnapshotBar.java 193 title = UrlUtils.stripUrl(snapshot.getUrl());
UrlHandler.java 173 Matcher m = UrlUtils.ACCEPTED_URI_SCHEMA.matcher(url);
SuggestionsAdapter.java 498 title = UrlUtils.stripUrl(url);
516 return UrlUtils.stripUrl(url);
NavigationBarPhone.java 142 mUrlInput.setText(UrlUtils.stripUrl(title), false);
Tab.java 402 mVoiceSearchData.mLastVoiceSearchUrl = UrlUtils.smartUrlFilter(
    [all...]
TabBar.java 546 tv.setDisplayTitle(UrlUtils.stripUrl(url));
AddBookmarkPage.java     [all...]
Controller.java     [all...]
  /packages/apps/Browser/src/com/android/browser/preferences/
GeneralPreferencesFragment.java 42 import com.android.browser.UrlUtils;
132 homepage = UrlUtils.smartUrlFilter(homepage);
  /packages/apps/Browser/src/com/android/browser/provider/
BrowserProvider2.java 57 import com.android.browser.UrlUtils;
    [all...]

Completed in 603 milliseconds