Lines Matching refs:path

37         // Not a valid path, but this came from a user's test case.
38 builder.path("//foo");
50 .path("/rss/")
143 .path("/test/")
414 String path, String query, String fragment) {
420 if (path != null) {
421 sb.append(path);
442 uriString, ssp, uri, scheme, authority, path, query, fragment);
444 uriString, ssp, uri, scheme, authority, path, query, fragment);
451 uriString, ssp, uri, scheme, authority, path, query, fragment);
453 uriString, ssp, uri, scheme, authority, path, query, fragment);
462 .encodedPath(path)
468 uriString, ssp, built, scheme, authority, path, query, fragment);
470 uriString, ssp, built, scheme, authority, path, query, fragment);
476 .path(path)
482 uriString, ssp, built, scheme, authority, path, query, fragment);
484 uriString, ssp, built, scheme, authority, path, query, fragment);
490 uriString, ssp, built, scheme, authority, path, query, fragment);
492 uriString, ssp, built, scheme, authority, path, query, fragment);
497 String scheme, String authority, String path, String query,
502 assertEquals(path, uri.getPath());
503 assertEquals(path, uri.getEncodedPath());
535 .path("/rss/")
741 Uri.parse("http://foo/path?abc").getQueryParameters("abc"));
743 Uri.parse("http://foo/path?foo=bar&abc").getQueryParameters("abc"));
745 Uri.parse("http://foo/path?abcd=abc&abc").getQueryParameters("abc"));
747 Uri.parse("http://foo/path?abc=a&abc=&abc").getQueryParameters("abc"));
749 Uri.parse("http://foo/path?abc=a&abc=&abc=").getQueryParameters("abc"));
760 assertTrue(Uri.parse("content://com.example/path").isPathPrefixMatch(
761 Uri.parse("content://com.example/path/")));
762 assertTrue(Uri.parse("content://com.example/path").isPathPrefixMatch(
763 Uri.parse("content://com.example/path")));
764 assertTrue(Uri.parse("content://com.example///path///").isPathPrefixMatch(
765 Uri.parse("content://com.example/path/")));
766 assertTrue(Uri.parse("content://com.example/path").isPathPrefixMatch(
767 Uri.parse("content://com.example///path///")));
770 assertTrue(Uri.parse("content://com.example/path/to/child").isPathPrefixMatch(
771 Uri.parse("content://com.example/path/")));
772 assertTrue(Uri.parse("content://com.example/path/to/child").isPathPrefixMatch(
773 Uri.parse("content://com.example/path")));
776 assertTrue(Uri.parse("content://com.example/path#fragment").isPathPrefixMatch(
777 Uri.parse("content://com.example/path/")));
778 assertTrue(Uri.parse("content://com.example/path?q=v").isPathPrefixMatch(
779 Uri.parse("content://com.example/path/")));
780 assertTrue(Uri.parse("content://com.example/path/?q=v").isPathPrefixMatch(
781 Uri.parse("content://com.example/path/")));
783 // Different path
784 assertFalse(Uri.parse("content://com.example/path").isPathPrefixMatch(
785 Uri.parse("content://com.example/path/deeper/")));
787 Uri.parse("content://com.example/path")));
790 assertTrue(Uri.parse("content://com.example/path/").isPathPrefixMatch(
792 assertTrue(Uri.parse("content://com.example/path/").isPathPrefixMatch(
796 assertFalse(Uri.parse("content://com.example/path/").isPathPrefixMatch(
797 Uri.parse("file://com.example/path/")));
798 assertFalse(Uri.parse("content://com.example/path/").isPathPrefixMatch(
799 Uri.parse("content://org.example/path/")));
802 assertTrue(Uri.parse("content://com.example/path path/").isPathPrefixMatch(
803 Uri.parse("content://com.example/path%20path/")));
804 assertFalse(Uri.parse("content://com.example/path/path").isPathPrefixMatch(
805 Uri.parse("content://com.example/path%2Fpath")));