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

1 23 4 5 6 7 8 91011>>

  /packages/services/Telecomm/src/com/android/server/telecom/components/
PhoneAccountBroadcastReceiver.java 24 import android.net.Uri;
50 Uri uri = intent.getData(); local
51 if (uri == null) {
55 String packageName = uri.getSchemeSpecificPart();
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-auth/0.13.2/
grpc-auth-0.13.2.jar 
  /art/tools/ahat/src/
DocString.java 20 import java.net.URI;
53 public static DocString link(URI uri, DocString content) {
55 return doc.appendLink(uri, content);
61 public static DocString image(URI uri, String alt) {
62 return (new DocString()).appendImage(uri, alt);
160 public DocString appendLink(URI uri, DocString content) {
162 mStringBuilder.append(uri.toASCIIString())
191 public static URI uri(String uriString) { method in class:DocString
    [all...]
  /development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
ReceiveShare.java 24 import android.net.Uri;
35 static Uri getShareUri(Intent intent) {
36 Uri uri = intent.getParcelableExtra(Intent.EXTRA_STREAM); local
37 if (uri == null) {
40 uri = clip.getItemAt(0).getUri();
43 return uri;
59 Uri uri = getShareUri(intent); local
60 if (uri != null)
91 final Uri uri = getShareUri(getIntent()); local
    [all...]
  /frameworks/support/compat/api20/android/support/v4/app/
RemoteInputCompatApi20.java 23 import android.net.Uri;
71 static Map<String, Uri> getDataResultsFromIntent(Intent intent, String remoteInputResultKey) {
76 Map<String, Uri> results = new HashMap<>();
89 results.put(mimeType, Uri.parse(uriStr));
108 Map<String, Uri> existingDataResults =
124 * @param results A map of mime type to the Uri result for that mime type.
127 Intent intent, Map<String, Uri> results) {
132 for (Map.Entry<String, Uri> entry : results.entrySet()) {
134 Uri uri = entry.getValue() local
    [all...]
  /libcore/ojluni/src/main/java/sun/security/x509/
URIName.java 29 import java.net.URI;
38 * [RFC3280] When the subjectAltName extension contains a URI, the name MUST be
84 private URI uri; field in class:URIName
107 uri = new URI(name);
109 throw new IOException("invalid URI name:" + name, use);
111 if (uri.getScheme() == null) {
112 throw new IOException("URI name must include scheme:" + name);
115 host = uri.getHost()
157 URI uri; local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockProvider.java 29 import android.net.Uri;
148 public Cursor query(@NonNull Uri uri, String[] projectionIn, String selection,
154 int match = sURIMatcher.match(uri);
162 qb.appendWhere(uri.getLastPathSegment());
170 qb.appendWhere(uri.getLastPathSegment());
178 throw new IllegalArgumentException("Unknown URI " + uri);
186 ret.setNotificationUri(getContext().getContentResolver(), uri); local
193 public String getType(@NonNull Uri uri)
232 notifyChange(getContext().getContentResolver(), uri); local
290 notifyChange(getContext().getContentResolver(), uri); local
    [all...]
  /packages/services/Telephony/src/com/android/phone/settings/fdn/
GetPin2Screen.java 21 import android.net.Uri;
82 Uri uri = intent.getData(); local
85 if (uri != null) action.setAction(uri.toString());
  /art/tools/ahat/test/
PerformanceTest.java 48 HtmlDoc doc = new HtmlDoc(ps, DocString.text("bigArray test"), DocString.uri("style.css"));
49 String uri = "http://localhost:7100/object?id=" + bigArray.getId(); local
50 Query query = new Query(DocString.uri(uri));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/
VideoPresentation.java 22 import android.net.Uri;
56 Uri uri = Uri.parse("android.resource://" + packageName + "/" + R.raw.test_video); local
57 videoView.setVideoURI(uri);
  /cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
ChangeDefaultUris.java 21 import android.net.Uri;
52 Uri uri = local
56 RingtoneManager.setActualDefaultRingtoneUri(mContext, RingtoneManager.TYPE_RINGTONE, uri);
57 RingtoneManager.setActualDefaultRingtoneUri(mContext, RingtoneManager.TYPE_ALARM, uri);
59 mContext, RingtoneManager.TYPE_NOTIFICATION, uri);
70 Uri uri = RingtoneManager.getValidRingtoneUri(mContext); local
71 RingtoneManager.setActualDefaultRingtoneUri(mContext, RingtoneManager.TYPE_RINGTONE, uri);
72 RingtoneManager.setActualDefaultRingtoneUri(mContext, RingtoneManager.TYPE_ALARM, uri);
    [all...]
  /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/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/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 10 #include "src/uri.h"
23 RETURN_RESULT_OR_FAILURE(isolate, Uri::DecodeUri(isolate, encoded_uri));
35 isolate, Uri::DecodeUriComponent(isolate, encoded_uri_component));
38 // ES6 section 18.2.6.4 encodeURI (uri)
41 Handle<String> uri; local
43 isolate, uri, Object::ToString(isolate, args.atOrUndefined(isolate, 1)));
45 RETURN_RESULT_OR_FAILURE(isolate, Uri::EncodeUri(isolate, uri));
57 Uri::EncodeUriComponent(isolate, uri_component));
68 RETURN_RESULT_OR_FAILURE(isolate, Uri::Escape(isolate, string))
    [all...]

Completed in 5524 milliseconds

1 23 4 5 6 7 8 91011>>