HomeSort by relevance Sort by last modified time
    Searched defs:uri (Results 226 - 250 of 2622) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactManager.java 22 import android.net.Uri;
104 Uri uri = ContactsContract.Contacts.CONTENT_URI; local
114 return managedQuery(uri, projection, selection, selectionArgs, sortOrder);
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader4.java 31 import android.net.Uri;
130 // Create our content URI by adding the ID of the currently selected item using a
157 Uri uri = getContentResolver().insert( local
160 if(uri != null){
RssContentProvider.java 27 import android.net.Uri;
47 // incoming URI parameter is.
55 // Here's the public URI used to query for RSS items.
56 public static final Uri CONTENT_URI = Uri.parse( "content://my_rss_item/rssitem");
118 // Convert the URI into a custom MIME type.
119 // Our UriMatcher will parse the URI to decide whether the
120 // URI is for a single item or a list.
122 public String getType(Uri uri) {
165 c.setNotificationUri(getContext().getContentResolver(), uri); local
    [all...]
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicRetriever.java 22 import android.net.Uri;
33 * resolver). After that, it's ready to retrieve a random song, with its title and URI, upon
55 Uri uri = android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; local
57 Log.i(TAG, "URI: " + uri.toString());
59 // Perform a query on the content resolver. The URI we're passing specifies that we
61 Cursor cur = mContentResolver.query(uri, null,
147 public Uri getURI() {
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
WordActivity.java 25 import android.net.Uri;
48 Uri uri = getIntent().getData(); local
49 Cursor cursor = managedQuery(uri, null, null, null, null);
  /development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
ContactablesLoaderCallbacks.java 24 import android.net.Uri;
56 Uri uri = Uri.withAppendedPath( local
71 uri, // URI representing the table/resource to be queried
  /development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DataLayerListenerService.java 20 import android.net.Uri;
71 Uri uri = event.getDataItem().getUri(); local
72 String path = uri.getPath();
75 // the uri.
76 String nodeId = uri.getHost();
77 // Set the data of the message to be the bytes of the Uri.
78 byte[] payload = uri.toString().getBytes();
  /device/sample/apps/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
PartnerReceiver.java 27 import android.net.Uri;
140 intent.setData(Uri.parse("market://details?id=" + pkgName));
146 Uri uri = intent.getData(); local
147 String pkg = uri != null ? uri.getSchemeSpecificPart() : null;
  /external/apache-http/src/org/apache/http/client/methods/
HttpRequestBase.java 35 import java.net.URI;
71 private URI uri; field in class:HttpRequestBase
86 public URI getURI() {
87 return this.uri;
93 URI uri = getURI(); local
95 if (uri != null) {
96 uritext = uri.toASCIIString();
104 public void setURI(final URI uri)
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
RequestWrapper.java 34 import java.net.URI;
69 private URI uri; field in class:RequestWrapper
81 // Make a copy of the original URI
83 this.uri = ((HttpUriRequest) request).getURI();
89 this.uri = new URI(requestLine.getUri());
91 throw new ProtocolException("Invalid request URI: "
130 public URI getURI() {
131 return this.uri;
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicLineFormatter.java 207 final String uri = reqline.getUri(); local
210 int len = method.length() + 1 + uri.length() + 1 +
216 buffer.append(uri);
BasicLineParser.java 340 String uri = buffer.substringTrimmed(i, blank); local
351 return createRequestLine(method, uri, ver);
364 * @param uri the requested URI
370 final String uri,
372 return new BasicRequestLine(method, uri, ver);
  /external/apache-xml/src/main/java/org/apache/xalan/serialize/
SerializerUtils.java 227 String uri = serializer.getNamespaceURIFromPrefix(prefix); local
228 // String uri = getURI(prefix);
230 if ((null != uri) && uri.equals(dtm.getStringValue(attr)))
255 String uri = dtm.getNodeValue(namespace); local
258 if ((uri != null && uri.length() > 0) && (null != prefix))
266 if ((null == foundURI) || !foundURI.equals(uri))
268 handler.startPrefixMapping(prefix, uri, false);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
AttributesImplSerializer.java 47 * "prefix:localName" or "{uri}localName".
94 * @param uri the URI of the attribute
104 String uri,
111 super.addAttribute(uri, local, qname, type, val);
130 /* now add with key of the format "{uri}localName" */
132 m_buff.append('{').append(uri).append('}').append(local);
155 // Add quick look-up to find with uri/local name pair
156 String uri = super.getURI(index); local
159 m_buff.append('{').append(uri).append('}').append(local)
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
SystemIDResolver.java 27 import org.apache.xml.serializer.utils.URI.MalformedURIException;
49 * Get an absolute URI from a given relative URI (local path).
51 * <p>The relative URI is a local filesystem path. The path can be
56 * generate a good absolute URI.</p>
58 * @param localPath The relative URI to resolve
60 * @return Resolved absolute URI
109 * Return true if the systemId denotes an absolute URI .
112 * @return true if the systemId is an an absolute URI
118 * character cannot be used as the first segment of a relative URI pat
288 URI uri = null; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
SystemIDResolver.java 27 import org.apache.xml.utils.URI.MalformedURIException;
42 * Get an absolute URI from a given relative URI (local path).
44 * <p>The relative URI is a local filesystem path. The path can be
49 * generate a good absolute URI.</p>
51 * @param localPath The relative URI to resolve
53 * @return Resolved absolute URI
102 * Return true if the systemId denotes an absolute URI .
105 * @return true if the systemId is an an absolute URI
111 * character cannot be used as the first segment of a relative URI pat
281 URI uri = null; local
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
JarFinder.java 30 import java.net.URI;
65 Map<URI, ClassLoader> map = Maps.newLinkedHashMap();
69 for (Map.Entry<URI, ClassLoader> entry : map.entrySet()) {
75 @VisibleForTesting static ImmutableMap<URI, ClassLoader> getClassPathEntries(
77 Map<URI, ClassLoader> entries = Maps.newLinkedHashMap();
86 URI uri; local
88 uri = entry.toURI();
92 if (!entries.containsKey(uri)) {
93 entries.put(uri, classloader)
178 URI uri; local
201 URI uri = new URI(path); local
    [all...]
  /external/conscrypt/benchmark-graphs/src/main/java/org/conscrypt/graphgen/
Main.java 31 import java.net.URI;
93 URI uri = Main.class.getResource(JSON_TEMPLATES).toURI(); local
96 if (uri.getScheme().equals("jar")) {
97 FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap());
100 templatesPath = Paths.get(uri);
  /external/curl/docs/examples/
rtsp.c 77 static void rtsp_options(CURL *curl, const char *uri)
80 printf("\nRTSP: OPTIONS %s\n", uri);
81 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri);
88 static void rtsp_describe(CURL *curl, const char *uri,
93 printf("\nRTSP: DESCRIBE %s\n", uri);
111 static void rtsp_setup(CURL *curl, const char *uri, const char *transport)
114 printf("\nRTSP: SETUP %s\n", uri);
116 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri);
124 static void rtsp_play(CURL *curl, const char *uri, const char *range)
127 printf("\nRTSP: PLAY %s\n", uri);
220 char *uri = malloc(strlen(url) + 32); local
    [all...]
  /external/libcups/cups/
ppd-util.c 286 * Try finding a printer URI for this printer...
498 * 'cups_get_printer_uri()' - Get the printer-uri-supported attribute for the
519 char uri[HTTP_MAX_URI], /* printer-uri attribute */ local
527 "device-uri",
529 "printer-uri-supported",
537 * Setup the printer URI...
540 if (httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL, "localhost", 0, "/printers/%s", name) < HTTP_URI_STATUS_OK)
542 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to create printer-uri"), 1)
    [all...]
tlscheck.c 49 char uri[1024], /* Printer URI */ local
50 scheme[32], /* URI scheme */
74 "uri-authentication-supported",
75 "uri-security-supported"
699 httpAssembleURI(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipps", NULL, host, port, resource);
701 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri);
  /external/libevent/include/event2/
http_struct.h 97 char *uri; /* uri after HTTP request was parsed */ member in struct:evhttp_request
98 struct evhttp_uri *uri_elems; /* uri elements */
  /external/libmicrohttpd/src/testspdy/
test_misc.c 79 char *uri; local
89 asprintf(&uri,"https://127.0.0.1:%i/",port);
90 execlp("spdycat", "spdycat","-anv",uri,NULL );
test_session_timeout.c 303 char *uri; local
304 asprintf (&uri, "127.0.0.1:%i", port);
305 execlp ("openssl", "openssl", "s_client", "-connect", uri, NULL);
  /external/libmojo/base/android/java/src/org/chromium/base/
ContentUriUtils.java 11 import android.net.Uri;
25 * This class provides methods to access content URI schemes.
35 * Provides functionality to translate a file into a content URI for use
40 * Generate a content URI from the given file.
44 Uri getContentUriFromFile(Context context, File file);
56 public static Uri getContentUriFromFile(Context context, File file) {
66 * Opens the content URI for reading, and returns the file descriptor to
70 * @param uriString the content URI to open
83 * Check whether a content URI exists.
86 * @param uriString the content URI to query
118 Uri uri = Uri.parse(uriString); local
135 Uri uri = Uri.parse(uriString); local
    [all...]

Completed in 609 milliseconds

1 2 3 4 5 6 7 8 91011>>