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

1 2 34 5 6 7 8 91011>>

  /cts/tests/tests/content/src/android/content/cts/
IntentFilter_AuthorityEntryTest.java 21 import android.net.Uri;
55 Uri uri = Uri.parse("testUri"); local
56 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri));
57 uri = Uri.parse("content://contacts/deleted_people");
58 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri));
59 uri = Uri.parse("test")
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStoreIntentsTest.java 21 import android.net.Uri;
82 final Uri uri = new Uri.Builder().scheme(scheme) local
84 intent.setDataAndType(uri, mime);
100 final Uri uri = new Uri.Builder().scheme(scheme) local
102 intent.setDataAndType(uri, mime);
118 final Uri uri = new Uri.Builder().scheme(scheme local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DeletedContactUtil.java 24 import android.net.Uri;
33 private static final Uri URI = DeletedContacts.CONTENT_URI;
39 Uri uri = ContentUris.withAppendedId(URI, contactId); local
40 Cursor cursor = resolver.query(uri, projection, null, null, null);
56 Cursor cursor = resolver.query(URI, projection, null, null, null);
70 Cursor cursor = resolver.query(URI, projection, null, null, null);
83 Cursor cursor = resolver.query(URI, projection, selection, args, null)
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
PixelCopyVideoSourceActivity.java 20 import android.net.Uri;
52 Uri uri = Uri.parse("android.resource://android.view.cts/" + R.raw.colorgrid_video); local
53 mVideoView.setVideoURI(uri);
  /developers/build/prebuilts/gradle/StorageClient/Application/tests/src/com/example/android/storageclient/tests/
SampleTests.java 33 import android.net.Uri;
75 * Test if the metadata dump handles an invalid URI without blowing up.
78 Uri uri = Uri.parse("content://HAHADOESNTEXIST"); local
79 StorageClientFragment.ImageDialogFragment.dumpImageMetaData(mTestActivity, uri);
  /developers/samples/android/content/documentsUi/StorageClient/Application/tests/src/com/example/android/storageclient/tests/
SampleTests.java 33 import android.net.Uri;
75 * Test if the metadata dump handles an invalid URI without blowing up.
78 Uri uri = Uri.parse("content://HAHADOESNTEXIST"); local
79 StorageClientFragment.ImageDialogFragment.dumpImageMetaData(mTestActivity, uri);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ContactPhotoBinder.java 27 import android.net.Uri;
72 Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id); local
74 mContext.getContentResolver(), uri);
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactDetailActivity.java 20 import android.net.Uri;
47 // This activity expects to receive an intent that contains the uri of a contact
56 // Fetch the data Uri from the intent provided to this activity
57 final Uri uri = getIntent().getData(); local
60 // ContactDetailFragment with the Uri provided in the intent
65 // data Uri
66 ft.add(android.R.id.content, ContactDetailFragment.newInstance(uri), TAG);
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
LocalUriFetcher.java 5 import android.net.Uri;
14 * A DataFetcher that uses an {@link android.content.ContentResolver} to load data from a {@link android.net.Uri}
17 * @param <T> The type of data that will obtained for the given uri (For example, {@link java.io.InputStream} or
22 private final Uri uri; field in class:LocalUriFetcher
27 * Opens an input stream for a uri pointing to a local asset. Only certain uris are supported
29 * @see ContentResolver#openInputStream(android.net.Uri)
33 * @param uri A Uri pointing to a local asset. This load will fail if the uri isn't openable b
    [all...]
  /external/libbackup/src/com/google/android/libraries/backup/
PreferenceBackupUtil.java 8 import android.net.Uri;
19 static String getRingtoneTitleFromUri(Context context, @Nullable String uri) {
20 if (uri == null) {
24 Ringtone sound = RingtoneManager.getRingtone(context, Uri.parse(uri));
32 * Get ringtone uri from a preference key in a shared preferences file, retrieve the associated
35 * @param srcRingtoneUriPrefKey preference key of the ringtone uri.
43 String uri = preferences.getString(srcRingtoneUriPrefKey, null); local
44 String title = getRingtoneTitleFromUri(context, uri);
80 * same title and, if possible, save its uri to the target preference key
91 String uri = getRingtoneUriFromTitle(context, title, ringtoneType); local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
AlertInfo.java 53 /** URI field
55 protected GenericURI uri; field in class:AlertInfo
72 if (uri != null) {
73 encoding.append(LESS_THAN).append(uri.encode()).append(GREATER_THAN);
84 * Set the uri member
85 * @param uri URI to set
87 public void setAlertInfo(URI uri) {
88 this.uri = (GenericURI) uri
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
AddressParser.java 58 GenericURI uri = uriParser.uriReference( true ); local
61 retval.setURI(uri);
78 GenericURI uri = uriParser.uriReference( true ); local
81 addr.setURI(uri);
116 GenericURI uri = uriParser.uriReference( inclParams ); local
118 retval.setURI(uri);
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
CacheAdapter.java 28 import java.net.URI;
55 URI uri = response.request().uri(); local
57 final java.net.CacheRequest request = delegate.put(uri, connection);
103 return delegate.get(request.uri(), request.method(), headers);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowContentProviderOperationBuilderTest.java 10 import android.net.Uri;
21 Uri uri = Uri.parse("content://authority/path"); local
23 builder = ContentProviderOperation.newUpdate(uri);
32 assertThat(op.getUri()).isEqualTo(uri);
42 public Cursor query(Uri uri, String[] projection, String selection,
48 public String getType(Uri uri) {
86 Uri uri; field in class:ShadowContentProviderOperationBuilderTest.ContentRequest
    [all...]
  /external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
ParamsParser.java 3 import android.net.Uri;
46 Uri uri = Uri.parse(request.getRequestLine().getUri()); local
47 Set<String> paramNames = uri.getQueryParameterNames();
50 map.put(paramName, uri.getQueryParameter(paramName));
  /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/v8/src/builtins/
builtins-global.cc 12 #include "src/uri.h"
25 RETURN_RESULT_OR_FAILURE(isolate, Uri::DecodeUri(isolate, encoded_uri));
37 isolate, Uri::DecodeUriComponent(isolate, encoded_uri_component));
40 // ES6 section 18.2.6.4 encodeURI (uri)
43 Handle<String> uri; local
45 isolate, uri, Object::ToString(isolate, args.atOrUndefined(isolate, 1)));
47 RETURN_RESULT_OR_FAILURE(isolate, Uri::EncodeUri(isolate, uri));
59 Uri::EncodeUriComponent(isolate, uri_component));
70 RETURN_RESULT_OR_FAILURE(isolate, Uri::Escape(isolate, string))
    [all...]
  /external/wpa_supplicant_8/src/utils/
http-utils.h 26 char *uri; member in struct:http_logo
  /frameworks/base/core/java/android/provider/
ContactsInternal.java 24 import android.net.Uri;
41 /** URI matcher used to parse contact URIs. */
48 // Contacts URI matching table
58 final Uri uri = intent.getData(); local
60 final int match = sContactsUriMatcher.match(uri);
85 * If the URI in {@code intent} is of a corp contact, launch quick contact on the managed
88 * @return the URI in {@code intent} is of a corp contact thus launched on the managed profile.
91 final Uri uri = originalIntent.getData() local
    [all...]
  /frameworks/base/core/java/android/text/style/
URLSpan.java 23 import android.net.Uri;
102 Uri uri = Uri.parse(getURL()); local
104 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
ReceiverActivity.java 23 import android.net.Uri;
46 final Uri uri = DocumentsContract.buildRootUri( local
50 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM);
  /frameworks/base/services/core/java/com/android/server/slice/
SliceShellCommand.java 21 import android.net.Uri;
74 Uri uri = new Uri.Builder() local
78 if (!SliceProvider.SLICE_TYPE.equals(context.getContentResolver().getType(uri))) {
82 Bundle b = context.getContentResolver().call(uri, SliceProvider.METHOD_GET_PERMISSIONS,
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
VideoViewCaptureActivity.java 21 import android.net.Uri;
49 Uri uri = Uri.parse("android.resource://com.android.test.hwui/" + R.raw.colorgrid_video); local
50 mVideoView.setVideoURI(uri);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/
HapticFeedbackController.java 6 import android.net.Uri;
51 Uri uri = Settings.System.getUriFor(Settings.System.HAPTIC_FEEDBACK_ENABLED); local
52 mContext.getContentResolver().registerContentObserver(uri, false, mContentObserver);
  /libcore/luni/src/test/filesystems/src/mypackage/
MockFileSystem.java 20 import java.net.URI;
32 private URI uri; field in class:MockFileSystem
36 public MockFileSystem(URI uri, Map<String, ?> env) {
37 this.uri = uri;
46 public URI getURI() {
47 return uri;

Completed in 2238 milliseconds

1 2 34 5 6 7 8 91011>>