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

1 2 3 4 5 6 7 8 91011>>

  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
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...]
  /packages/apps/Mms/src/com/android/mms/model/
AudioModel.java 29 import android.net.Uri;
47 public AudioModel(Context context, Uri uri) throws MmsException {
48 this(context, null, null, uri);
49 initModelFromUri(uri);
53 public AudioModel(Context context, String contentType, String src, Uri uri) throws MmsException {
54 super(context, SmilHelper.ELEMENT_TAG_AUDIO, contentType, src, uri);
58 private void initModelFromUri(Uri uri) throws MmsException
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
IntentSenderTest.java 23 import android.net.Uri;
66 * This intent will have, in the ClipData, a uri whose associated file stores a message.
67 * The receiver will read the message from the uri, and put it inside the result intent.
70 Uri uri = getUriWithTextInFile("reading_test", MESSAGE); local
71 assertTrue(uri != null);
73 intent.setClipData(ClipData.newRawUri("", uri));
83 * This intent will have a message in an extra, and a uri specified by the ClipData.
84 * The receiver will read the message from the extra, and write it to the uri in
88 // It's the receiver of the intent that should write to the uri, not us. So, for now, w
90 Uri uri = getUriWithTextInFile("writing_test", ""); local
103 Uri uri = getUriWithTextInFile("persistable_test", MESSAGE); local
152 final Uri uri = Uri.parse("content:\/\/media\/external\/images\/media\/10240"); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
NamespaceMappings.java 31 * prefix/uri/depth triplets are pushed on a stack pushed on a stack. The depth
46 * When the <chapter> element is encounted the prefix "p1" associated with uri
55 * So prefix/uri pairs are pushed and poped off the stack as elements are
57 * are on the stack and a prefix can be found given a uri, or a uri can be found
76 * though possibly different URI's or depths. Such a stack must have
93 * ensure prefix/uri map scopes are closed correctly.
111 * and predefines a few prefix/uri pairs which always exist.
118 // Define the default namespace (initially maps to "" uri)
132 * Use a namespace prefix to lookup a namespace URI
140 String uri = null; local
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
MediaStoreThumbFetcher.java 6 import android.net.Uri;
22 private final Uri mediaStoreUri;
32 public MediaStoreThumbFetcher(Context context, Uri mediaStoreUri, DataFetcher<InputStream> defaultFetcher,
38 MediaStoreThumbFetcher(Context context, Uri mediaStoreUri, DataFetcher<InputStream> defaultFetcher, int width,
88 private static boolean isMediaStoreUri(Uri uri) {
89 return uri != null
90 && ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())
91 && MediaStore.AUTHORITY.equals(uri.getAuthority());
94 private static boolean isMediaStoreVideo(Uri uri)
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 27 import android.net.Uri;
41 private Uri mVideoUri;
58 Uri query = mVideoUri.buildUpon().build();
96 Uri uri = Uri.fromFile(mFile); local
97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
104 verify(getActivity(), uri); local
135 Uri uri = Uri.fromFile(mFile) local
145 verify(getActivity(), uri); local
157 Uri uri = Uri.fromFile(mFile); local
    [all...]
  /packages/apps/Camera2/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 27 import android.net.Uri;
41 private Uri mVideoUri;
58 Uri query = mVideoUri.buildUpon().build();
96 Uri uri = Uri.fromFile(mFile); local
97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
104 verify(getActivity(), uri); local
135 Uri uri = Uri.fromFile(mFile) local
145 verify(getActivity(), uri); local
157 Uri uri = Uri.fromFile(mFile); local
    [all...]
  /packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
VideoCaptureIntentTest.java 27 import android.net.Uri;
41 private Uri mVideoUri;
58 Uri query = mVideoUri.buildUpon().build();
96 Uri uri = Uri.fromFile(mFile); local
97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
104 verify(getActivity(), uri); local
135 Uri uri = Uri.fromFile(mFile) local
145 verify(getActivity(), uri); local
157 Uri uri = Uri.fromFile(mFile); local
    [all...]
  /packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 28 import android.net.Uri;
43 import java.net.URI;
48 private Uri mVideoUri;
65 Uri query = mVideoUri.buildUpon().build();
103 Uri uri = Uri.fromFile(mFile); local
104 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
111 verify(getActivity(), uri); local
158 Uri uri = Uri.fromFile(mFile) local
168 verify(getActivity(), uri); local
180 Uri uri = Uri.fromFile(mFile); local
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
BeamShareActivity.java 29 import android.net.Uri;
43 * in ACTION_SHARE intents in either a content/file Uri,
46 * Text or Uri NdefRecord. The data is then passed on into
54 ArrayList<Uri> mUris;
62 mUris = new ArrayList<Uri>();
114 void tryUri(Uri uri) {
115 if (uri.getScheme().equalsIgnoreCase("content") ||
116 uri.getScheme().equalsIgnoreCase("file")) {
118 mUris.add(uri);
144 Uri uri = item.getUri(); local
158 final Uri uri = intent.getParcelableExtra(Intent.EXTRA_STREAM); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
SettingsTest.java 28 import android.net.Uri;
117 Uri uri = Uri.parse("content://settings/bluetooth_devices"); local
119 ContentProviderClient provider = cr.acquireContentProviderClient(uri);
130 provider.insert(uri, value);
131 cursor = provider.query(uri, BLUETOOTH_DEVICES_PROJECTION,
149 provider.update(uri, value, "name=\"" + insertName + "\"", null);
150 cursor = provider.query(uri, BLUETOOTH_DEVICES_PROJECTION,
161 provider.delete(uri, "name=\"" + updateName + "\"", null)
204 Uri uri = Uri.parse("content:\/\/settings\/" + table); local
    [all...]
  /external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
SimpleWebServer.java 226 private String encodeUri(String uri) {
228 StringTokenizer st = new StringTokenizer(uri, "/ ", true);
248 String uri = session.getUri(); local
251 System.out.println(session.getMethod() + " '" + uri + "' ");
271 return respond(Collections.unmodifiableMap(header), session, uri);
274 private Response respond(Map<String, String> headers, IHTTPSession session, String uri) {
276 uri = uri.trim().replace(File.separatorChar, '/');
277 if (uri.indexOf('?') >= 0) {
278 uri = uri.substring(0, uri.indexOf('?'))
    [all...]
  /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
BluetoothMapEmailProvider.java 26 import android.net.Uri;
58 private Uri CONTENT_URI = null;
84 abstract protected Uri getContentUri();
125 * @param uri The URI whose data is to be written.
130 public void readDataFromPipe(ParcelFileDescriptor input, Uri uri, String mimeType,
137 * Use the message to do an update of the message specified by the URI.
140 public void readDataFromPipe(ParcelFileDescriptor input, Uri uri,
    [all...]
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 27 import android.net.Uri;
71 private final SimpleCache<Uri, Bitmap> mThumbnailCache;
87 mThumbnailCache = new SimpleCache<Uri, Bitmap>(8, 16, 0.75f, true);
100 * @param uri the uri of the image
106 public ItemLoadedFuture getThumbnail(Uri uri,
108 return getThumbnail(uri, false, callback);
114 * @param uri the uri of the imag
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
SaxTest.java 40 @Override public void startElement(String uri, String localName,
42 assertEquals("", uri);
53 @Override public void startElement(String uri, String localName,
55 assertEquals("", uri);
68 @Override public void startElement(String uri, String localName,
70 assertEquals("", uri);
81 @Override public void startElement(String uri, String localName,
83 assertEquals("http://quux", uri);
100 @Override public void startElement(String uri, String localName,
102 assertEquals("", uri);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 29 import android.net.Uri;
37 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
38 public static final Uri RESULTS_CONTENT_URI =
39 Uri.withAppendedPath(CONTENT_URI, RESULTS_PATH);
41 public static Uri getTestNameUri(String testName) {
42 return Uri.withAppendedPath(RESULTS_CONTENT_URI, testName);
110 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
115 int match = URI_MATCHER.match(uri);
    [all...]
  /external/apache-http/src/org/apache/http/client/methods/
HttpOptions.java 34 import java.net.URI;
51 * identified by the Request-URI. This method allows the client to
70 public HttpOptions(final URI uri) {
72 setURI(uri);
76 * @throws IllegalArgumentException if the uri is invalid.
78 public HttpOptions(final String uri) {
80 setURI(URI.create(uri));
  /external/apache-http/src/org/apache/http/impl/
DefaultHttpRequestFactory.java 99 public HttpRequest newHttpRequest(final String method, final String uri)
102 return new BasicHttpRequest(method, uri);
104 return new BasicHttpEntityEnclosingRequest(method, uri);
106 return new BasicHttpRequest(method, uri);
  /external/chromium_org/cc/test/
skia_common.h 26 void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap);
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableSVGPaint.cpp 51 return create(paintType(), visitedLinkPaintType(), color, uri(), visitedLinkURI());
52 return create(svgPaint->paintType(), svgPaint->visitedLinkPaintType(), color, svgPaint->uri(), svgPaint->visitedLinkURI());
61 && uri() == svgPaint->uri()
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGRemoteFontFaceSource.h 19 SVGRemoteFontFaceSource(const String& uri, FontResource*, PassRefPtrWillBeRawPtr<FontLoader>);
  /external/chromium_org/third_party/libxml/src/include/libxml/
uri.h 2 * Summary: library of generic URI related routines
3 * Description: library of generic URI related routines
24 * A parsed URI reference. This is a struct containing the various fields
34 char *scheme; /* the URI scheme */
43 int cleanup; /* parsing potentially unclean URI */
44 char *query_raw; /* the query string (as it appears in the URI) */
55 xmlBuildURI (const xmlChar *URI,
58 xmlBuildRelativeURI (const xmlChar *URI,
66 xmlParseURIReference (xmlURIPtr uri,
69 xmlSaveUri (xmlURIPtr uri);
    [all...]
  /external/libxml2/include/libxml/
uri.h 2 * Summary: library of generic URI related routines
3 * Description: library of generic URI related routines
24 * A parsed URI reference. This is a struct containing the various fields
34 char *scheme; /* the URI scheme */
43 int cleanup; /* parsing potentially unclean URI */
44 char *query_raw; /* the query string (as it appears in the URI) */
55 xmlBuildURI (const xmlChar *URI,
58 xmlBuildRelativeURI (const xmlChar *URI,
66 xmlParseURIReference (xmlURIPtr uri,
69 xmlSaveUri (xmlURIPtr uri);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
ProxyAuthenticate.java 31 import javax.sip.address.URI;
63 * @since 1.2 this method is deprecated, uri is not a valid paramter for this header
66 public URI getURI() {
71 * @see gov.nist.javax.sip.header.AuthenticationHeader#setURI(javax.sip.address.URI)
73 * @since 1.2 this method is deprecated, uri is not a valid paramter for this header
76 public void setURI(URI uri) {
SipRequestLine.java 3 import javax.sip.address.URI;
13 /** get the Request-URI.
15 * @return the request URI
17 public abstract URI getUri();
34 * Set the URI.
36 * @param uri URI to set.
38 public abstract void setUri(URI uri);

Completed in 1676 milliseconds

1 2 3 4 5 6 7 8 91011>>