/external/libxml2/python/tests/ |
tstURI.py | 8 uri = libxml2.parseURI("http://example.org:8088/foo/bar?query=simple#fragid") variable 9 if uri.scheme() != 'http': 10 print("Error parsing URI: wrong scheme") 12 if uri.server() != 'example.org': 13 print("Error parsing URI: wrong server") 15 if uri.port() != 8088: 16 print("Error parsing URI: wrong port") 18 if uri.path() != '/foo/bar': 19 print("Error parsing URI: wrong path") 21 if uri.query() != 'query=simple' 33 uri = None variable [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
UriTest.java | 20 import android.net.Uri; 28 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); 29 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); 30 parcelAndUnparcel(new Uri.Builder() 39 private void parcelAndUnparcel(Uri u) { 41 Uri.writeToParcel(p, u); 43 assertEquals(u, Uri.CREATOR.createFromParcel(p)); 47 Uri.writeToParcel(p, u); 49 assertEquals(u, Uri.CREATOR.createFromParcel(p)); 53 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build() 96 Uri uri = Uri.parse("http:\/\/localhost:42"); local 174 Uri uri = Uri.fromFile(f); local 183 Uri uri = Uri.parse("content:\/\/user"); local 198 Uri uri = Uri.parse("content:\/\/user\/a\/b"); local 235 Uri uri = Uri.parse("mailto:nobody"); local 324 Uri uri = Uri.parse(uriString); local [all...] |
Uri_BuilderTest.java | 20 import android.net.Uri.Builder; 21 import android.net.Uri; 25 Uri uri = Uri.parse("http://google.com/p1?query#fragment"); local 26 Builder builder = uri.buildUpon(); 27 uri = builder.appendPath("p2").build(); 28 assertEquals("http", uri.getScheme()); 29 assertEquals("google.com", uri.getAuthority()); 30 assertEquals("/p1/p2", uri.getPath()) [all...] |
/external/wpa_supplicant_8/hs20/server/www/ |
cert-enroll.php | 22 $uri = $row['redirect_uri']; variable 37 header("Location: $uri", true, 302);
|
redirect.php | 20 $uri = $row['redirect_uri']; variable 22 header("Location: $uri", true, 302);
|
add-free.php | 22 $uri = $row['redirect_uri']; variable 48 header("Location: $uri", true, 302);
|
add-mo.php | 42 $uri = $row['redirect_uri']; variable 54 header("Location: $uri", true, 302);
|
/frameworks/base/core/java/android/content/ |
ContentProviderResult.java | 20 import android.net.Uri; 26 * to have exactly one of {@link #uri} or {@link #count} set. 29 public final Uri uri; field in class:ContentProviderResult 32 public ContentProviderResult(Uri uri) { 33 if (uri == null) throw new IllegalArgumentException("uri must not be null"); 34 this.uri = uri; [all...] |
/art/tools/ahat/test/ |
QueryTest.java | 19 import java.net.URI; 28 String uri = "http://localhost:7100/object?foo=bar&answer=42"; local 29 Query query = new Query(new URI(uri)); 48 String uri = "http://localhost:7100/object?foo=bar&answer=42&foo=sludge"; local 49 Query query = new Query(new URI(uri)); 62 String uri = "http://localhost:7100/object"; local 63 Query query = new Query(new URI(uri)); [all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
InternalRewrite.java | 46 private final String uri; field in class:InternalRewrite 50 public InternalRewrite(Map<String, String> headers, String uri) { 53 this.uri = uri; 61 return this.uri;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentProviderResultTest.java | 11 import android.net.Uri; 24 public void uri() { method in class:ContentProviderResultTest 25 Uri uri = Uri.parse("content://com.xtremelabs.robolectric"); local 26 ContentProviderResult result = new ContentProviderResult(uri); 27 assertThat(result.uri, equalTo(uri));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
UriTest.java | 35 Uri.Builder builder = new Uri.Builder(); 39 Uri uri = builder.build(); local 40 assertEquals("//foo", uri.toString()); 45 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); 46 parcelAndUnparcel(Uri.fromParts("foo", "bob lee", "fragment")); 47 parcelAndUnparcel(new Uri.Builder() 56 private void parcelAndUnparcel(Uri u) { 59 Uri.writeToParcel(p, u) 169 Uri uri = Uri.parse("http:\/\/localhost:42"); local 216 Uri uri = Uri.parse("foo:\/\/bar\/a%20a\/b%20b"); local 263 Uri uri = Uri.fromFile(f); local 270 Uri uri = Uri.parse("content:\/\/user"); local 291 Uri uri = Uri.parse("http:\/\/google.com.\/b\/c\/g"); local 298 Uri uri = Uri.parse("empty:"); local 306 Uri uri = Uri.parse("content:\/\/user"); local 312 Uri uri = Uri.parse("content:\/\/user\/a\/b"); local 348 Uri uri = Uri.parse("mailto:nobody"); local 438 Uri uri = Uri.parse(uriString); local 542 Uri uri = Uri.parse("http:\/\/test\/").buildUpon() local 553 Uri uri = Uri.parse("http:\/\/test\/").buildUpon() local 562 Uri uri; local 619 Uri uri = Uri.parse("http:\/\/www.google.com\/?=b"); local 624 Uri uri = Uri.parse("http:\/\/www.google.com\/?a=b&&c=d"); local 629 Uri uri = Uri.parse("http:\/\/www.google.com?"); local 634 Uri uri = Uri.parse("http:\/\/www.google.com?a=b&"); local 639 Uri uri = Uri.parse("http:\/\/www.google.com\/?=b&"); local 647 Uri uri = Uri.parse("http:\/\/www.google.com?"); local 654 Uri uri = Uri.parse("http:\/\/www.google.com\/?a=b&&c=d"); local 661 Uri uri = Uri.parse("http:\/\/test?a=1"); local 668 Uri uri = Uri.parse("http:\/\/www.google.com\/?a=x&&c=z"); local 678 Uri uri = Uri.parse("http:\/\/www.google.com\/?a=x&=d&c=z"); local 688 Uri uri = Uri.parse("http:\/\/www.google.com\/?a=foo&b=&c="); local 698 Uri uri = Uri.parse("http:\/\/foo?a=bar&b=bar&c=&&d=baz&e&f&g=buzz&&&a&b=bar&h"); local 714 Uri uri = Uri.parse("http:\/\/www.google.com\/?a%20b=foo&c%20d="); local 723 Uri uri = Uri.parse("http:\/\/www.google.com\/?a%20b=foo&c%20d="); local 729 Uri uri = Uri.parse("http:\/\/www.google.com\/?a=x&b=y&c=z").buildUpon() local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookiePolicyTest.java | 21 import java.net.URI; 29 * java.net.CookiePolicy#shouldAccept(java.net.URI, 35 URI uri = new URI(""); local 45 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null); 55 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(uri, null); 59 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, cookie); 63 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( 68 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/ |
ContactTileLoaderFactory.java | 20 import android.net.Uri; 56 Uri uri = local 62 return new CursorLoader(context, uri, COLUMNS_PHONE_ONLY, null, null, null);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
RemoveReceiver.java | 23 import android.net.Uri; 30 Uri uri = intent.getData(); local 31 String pkg = uri != null ? uri.getSchemeSpecificPart() : null;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
EmlTempFileDeletionService.java | 22 import android.net.Uri; 41 final Uri uri = intent.getData(); local 42 getContentResolver().delete(uri, null, null);
|
/cts/tests/JobScheduler/jobperm/src/android/jobscheduler/cts/jobperm/ |
JobPermProvider.java | 25 import android.net.Uri; 43 Uri uri = extras.getParcelable("uri"); local 44 getContext().grantUriPermission(arg, uri, 50 Uri uri = extras.getParcelable("uri"); local 51 getContext().revokeUriPermission(arg, uri, 62 public int delete(Uri uri, String selection, String[] selectionArgs) [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 20 import android.net.Uri; 53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery)); local 54 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 20 import android.net.Uri; 53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery)); local 54 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
ListenerService.java | 20 import android.net.Uri; 53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery)); local 54 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 28 const char *uri; member in class:AndroidAccessory 58 const char *uri,
|
/external/apache-http/src/org/apache/http/message/ |
BasicHttpRequest.java | 57 private final String uri; field in class:BasicHttpRequest 59 public BasicHttpRequest(final String method, final String uri) { 64 if (uri == null) { 65 throw new IllegalArgumentException("Request URI may not be null"); 68 this.uri = uri; 72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) { 73 this(new BasicRequestLine(method, uri, ver)); 83 this.uri = requestline.getUri(); 99 return new BasicRequestLine(this.method, this.uri, ver) [all...] |
BasicRequestLine.java | 39 * It contains the method, URI, and HTTP version of the request. 59 private final String uri; field in class:BasicRequestLine 62 final String uri, 69 if (uri == null) { 71 ("URI must not be null."); 78 this.uri = uri; 91 return this.uri;
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncUnparsedEntityURI.java | 51 String uri = dtm.getUnparsedEntityURI(name); local 53 return new XString(uri);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
ResourceLoader.java | 6 import android.net.Uri; 18 private final ModelLoader<Uri, T> uriLoader; 21 public ResourceLoader(Context context, ModelLoader<Uri, T> uriLoader) { 25 public ResourceLoader(Resources resources, ModelLoader<Uri, T> uriLoader) { 32 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" local 37 return uriLoader.getResourceFetcher(uri, width, height);
|