HomeSort by relevance Sort by last modified time
    Searched refs:uri (Results 51 - 75 of 3612) sorted by null

1 23 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/net/
OldAndroidURITest.java 19 import java.net.URI;
32 URI uri = new URI(str); local
33 assertEquals(host, uri.getHost());
34 assertEquals(path, uri.getPath());
35 assertEquals(absolute, uri.isAbsolute());
44 private static void resolve(String base, String uri, String expected) {
45 URI b = URI.create(base)
    [all...]
  /external/syslinux/gpxe/src/net/tcp/
https.c 40 * @v uri Uniform Resource Identifier
43 static int https_open ( struct xfer_interface *xfer, struct uri *uri ) {
44 return http_open_filter ( xfer, uri, HTTPS_PORT, add_tls );
47 /** HTTPS URI opener */
  /frameworks/base/core/java/android/database/
ContentObserver.java 19 import android.net.Uri;
100 * Includes the changed content Uri when available.
104 * did not provide a Uri argument, applications should also implement
106 * implement the {@link #onChange(boolean, Uri)} overload.
111 * // the onChange(boolean, Uri) method to ensure correct operation on older versions
112 * // of the framework that did not have the onChange(boolean, Uri) method.
118 * // Implement the onChange(boolean, Uri) method to take advantage of the new Uri argument.
120 * public void onChange(boolean selfChange, Uri uri) {
    [all...]
IContentObserver.aidl 20 import android.net.Uri;
32 oneway void onChange(boolean selfUpdate, in Uri uri, int userId);
  /frameworks/base/sax/java/android/sax/
Children.java 30 Element getOrCreate(Element parent, String uri, String localName) {
31 int hash = uri.hashCode() * 31 + localName.hashCode();
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
45 && current.uri.compareTo(uri) == 0
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
65 Element get(String uri, String localName) {
66 int hash = uri.hashCode() * 31 + localName.hashCode();
75 && current.uri.compareTo(uri) ==
    [all...]
  /art/tools/ahat/test/
TestHandler.java 35 public static void testNoCrash(AhatHandler handler, String uri) throws IOException {
37 HtmlDoc doc = new HtmlDoc(ps, DocString.text("noCrash test"), DocString.uri("style.css"));
38 Query query = new Query(DocString.uri(uri));
  /cts/tests/tests/media/src/android/media/cts/
IConnectionStatus.java 19 import android.net.Uri;
32 public void testConnection(Uri uri);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_AllUriTest.java 22 import android.net.Uri;
240 private static Uri getUri(String[] path) {
241 return Uri.parse(path[0]);
271 private String[] getColumns(Uri uri) {
272 try (Cursor c = mResolver.query(uri,
282 private void checkQueryExecutable(Uri uri,
286 try (Cursor c = mResolver.query(uri, projection, selection,
291 addFailure("Query failed: URI=" + uri + " Message=" + th.getMessage(), th)
351 final Uri uri = getUri(path); local
366 final Uri uri = getUri(path); local
432 final Uri uri = getUri(path); local
491 final Uri uri = getUri(path); local
508 final Uri uri = getUri(path); local
588 final Uri uri = getUri(path); local
627 final Uri uri = getUri(path); local
670 final Uri uri = getUri(path); local
    [all...]
  /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...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
FileDescriptorLocalUriFetcher.java 5 import android.net.Uri;
12 * Fetches an {@link android.os.ParcelFileDescriptor} for a local {@link android.net.Uri}.
15 public FileDescriptorLocalUriFetcher(Context context, Uri uri) {
16 super(context, uri);
20 protected ParcelFileDescriptor loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException {
21 return contentResolver.openAssetFileDescriptor(uri, "r").getParcelFileDescriptor();
StreamLocalUriFetcher.java 5 import android.net.Uri;
12 * Fetches an {@link java.io.InputStream} for a local {@link android.net.Uri}.
15 public StreamLocalUriFetcher(Context context, Uri uri) {
16 super(context, uri);
20 protected InputStream loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException {
21 return contentResolver.openInputStream(uri);
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
UriPatternMatcher.java 20 * A general interface for matching a URI against a URI pattern. Guice-servlet provides regex and
27 * @param uri A "contextual" (i.e. relative) Request URI, *not* a complete one.
28 * @return Returns true if the uri matches the pattern.
30 boolean matches(String uri);
UriPatternType.java 22 * An enumeration of the available URI-pattern matching styles
40 private static String getUri(String uri) {
41 // Strip out the query, if it existed in the URI. See issue 379.
42 int queryIdx = uri.indexOf('?');
44 uri = uri.substring(0, queryIdx);
46 return uri;
73 public boolean matches(String uri) {
74 if (null == uri) {
78 uri = getUri(uri)
    [all...]
  /libcore/ojluni/src/main/java/java/nio/file/
Paths.java 29 import java.net.URI;
33 * by converting a path string or {@link URI}.
88 * Converts the given URI to a {@link Path} object.
92 * URI {@link URI#getScheme scheme} of the given URI. URI schemes are
95 * URI.
97 * <p> In the case of the default provider, identified by the URI scheme
98 * "file", the given URI has a non-empty path component, and undefined quer
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/data/
NotificationWatcher.java 18 import android.net.Uri;
30 private ArrayList<Uri> mUris = new ArrayList<Uri>();
34 public void notifyChange(Uri uri, boolean syncToNetwork) {
35 mUris.add(uri);
39 public boolean isNotified(Uri uri) {
40 return mUris.contains(uri);
  /packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
AllUriTest.java 21 import android.net.Uri;
45 insert for 'content://com.android.contacts/settings' failed: Must specify both or neither of ACCOUNT_NAME and ACCOUNT_TYPE; URI: content://com.android.contacts/settings?account_type=1, calling user: com.android.providers.contacts.tests2, calling package:com.android.providers.contacts.tests2
263 private static Uri getUri(String[] path) {
264 return Uri.parse(path[0]);
294 private String[] getColumns(Uri uri) {
295 try (Cursor c = mResolver.query(uri,
305 private void checkQueryExecutable(Uri uri,
309 try (Cursor c = mResolver.query(uri, projection, selection
374 final Uri uri = getUri(path); local
389 final Uri uri = getUri(path); local
455 final Uri uri = getUri(path); local
514 final Uri uri = getUri(path); local
531 final Uri uri = getUri(path); local
611 final Uri uri = getUri(path); local
650 final Uri uri = getUri(path); local
693 final Uri uri = getUri(path); local
    [all...]
  /external/libxml2/
uri.c 2 * uri.c: set of generic URI related routines
18 #include <libxml/uri.h>
25 * The definition of the URI regexp in the above RFC has no size limit
27 * data URI scheme as defined in RFC 2397. Even for data URI the usual
53 static void xmlCleanURI(xmlURIPtr uri);
199 * @uri: pointer to an URI structure
202 * Parse an URI schem
934 xmlURIPtr uri; local
980 xmlURIPtr uri; local
1747 xmlURIPtr uri; local
2397 xmlURIPtr uri; local
2529 xmlURIPtr uri; local
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageIconProvider.java 29 import android.net.Uri;
57 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
63 public String getType(Uri uri) {
64 if (uri == null) {
65 throw new IllegalArgumentException("URI passed in is null.");
68 if (AUTHORITY.equals(uri.getEncodedAuthority())) {
75 public Uri insert(Uri uri, ContentValues values)
    [all...]
  /external/syslinux/gpxe/src/core/
open.c 25 #include <gpxe/uri.h>
36 * Open URI
39 * @v uri URI
42 * The URI will be regarded as being relative to the current working
43 * URI (see churi()).
45 int xfer_open_uri ( struct xfer_interface *xfer, struct uri *uri ) {
47 struct uri *resolved_uri;
50 /* Resolve URI */
84 struct uri *uri; local
144 struct uri *uri = va_arg ( args, struct uri * ); local
    [all...]
  /external/syslinux/gpxe/src/usr/
imgmgmt.c 29 #include <gpxe/uri.h>
41 * @v uri_string URI as a string (e.g. "http://www.nowhere.com/vmlinuz")
50 struct uri *uri; local
54 if ( ! ( uri = parse_uri ( uri_string ) ) )
57 image_set_uri ( image, uri );
59 /* Redact password portion of URI, if necessary */
60 password = uri->password;
62 uri->password = "***";
64 uri, URI_ALL )
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DOMLocatorImpl.java 61 * The URI where the error occured,
62 * or null if there is no URI available.
92 DOMLocatorImpl (int lineNumber, int columnNumber, String uri ){
95 fUri = uri;
100 } // DOMLocatorImpl (int lineNumber, int columnNumber, String uri )
102 DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri ){
105 fUri = uri;
111 } // DOMLocatorImpl (int lineNumber, int columnNumber, int utf16Offset, String uri )
113 DOMLocatorImpl (int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri ){
118 fUri = uri;
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
NameSpace.java 43 /** Namespace URI of this NameSpace element.
52 * @param uri URI of this element
54 public NameSpace(String prefix, String uri)
57 m_uri = uri;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCursorLoader.java 4 import android.net.Uri;
13 private Uri uri; field in class:ShadowCursorLoader
23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
25 this.uri = uri;
33 public Uri getUri() {
34 return uri;
38 public void setUri(Uri uri)
    [all...]
  /frameworks/base/media/java/android/media/
IMediaScannerListener.aidl 19 import android.net.Uri;
29 * @param uri the Uri for the file if the scanning operation succeeded
32 void scanCompleted(String path, in Uri uri);
IRingtonePlayer.aidl 20 import android.net.Uri;
29 oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping);
35 oneway void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa);
39 String getTitle(in Uri uri);
41 ParcelFileDescriptor openRingtone(in Uri uri);

Completed in 481 milliseconds

1 23 4 5 6 7 8 91011>>