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

1 2 3 45 6 7 8 91011>>

  /development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
ShortcutHelper.java 25 import android.net.Uri;
164 final Uri uri = Uri.parse(urlAsString); local
165 b.setIntent(new Intent(Intent.ACTION_VIEW, uri));
167 setSiteInformation(b, uri);
173 private ShortcutInfo.Builder setSiteInformation(ShortcutInfo.Builder b, Uri uri) {
176 b.setShortLabel(uri.getHost());
177 b.setLongLabel(uri.toString())
    [all...]
  /frameworks/base/media/java/android/media/
MediaMetadataRetriever.java 23 import android.net.Uri;
78 * Sets the data source (URI) to use. Call this
82 * @param uri The URI of the input media.
84 * @throws IllegalArgumentException If the URI is invalid.
86 public void setDataSource(String uri, Map<String, String> headers)
98 MediaHTTPService.createHttpServiceBinderIfNecessary(uri),
99 uri, local
105 IBinder httpServiceBinder, String uri, String[] keys, String[] values)
140 * Sets the data source as a content Uri. Call this method before
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
StreamingVideoActivity.java 65 * URI of the stream
67 public final String uri; field in class:StreamingVideoActivity.Stream
69 public Stream(String name, String code, String uri) {
72 this.uri = uri;
85 && uri.equals(stream.uri);
91 return name.hashCode() ^ uri.hashCode() ^ code.hashCode();
243 throw new IOException("unable to get rtsp uri. Response Code:"
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
SearchUtil.java 30 import android.net.Uri;
55 Uri.Builder uriBuilder = getSearchUri(searchable).buildUpon();
64 Uri uri = uriBuilder.build(); local
66 .acquireUnstableContentProviderClient(uri);
67 try (Cursor c = provider.query(uri, null, selection, selectionArg, null, null)) {
116 private static Uri getSearchUri(SearchableInfo searchable) {
124 Uri.Builder uriBuilder = new Uri.Builder()
  /cts/tests/tests/permission2/src/android/permission2/cts/
NoProcessOutgoingCallPermissionTest.java 24 import android.net.Uri;
41 Uri uri = Uri.parse("tel:123456"); local
42 Intent intent = new Intent(Intent.ACTION_CALL, uri);
45 Log.i(LOG_TAG, "Called phone: " + uri.toString());
  /cts/tests/tests/provider/src/android/provider/cts/
Settings_NameValueTableTest.java 22 import android.net.Uri;
30 Uri uri = Settings.System.CONTENT_URI; local
35 Cursor c = cr.query(uri, null, null, null, null);
41 MyNameValueTable.putString(cr, uri, name, value);
42 c = cr.query(uri, null, null, null, null);
49 c = cr.query(uri, null, selection, null, null);
58 cr.delete(uri, selection, null);
59 c = cr.query(uri, null, null, null, null);
69 Uri uri = Uri.parse("content://authority/path") local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_DataUsageTest.java 23 import android.net.Uri;
141 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(TextUtils.join(",", ids)) local
144 int result = mResolver.update(uri, new ContentValues(), null, null);
153 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(String.valueOf(dataId)) local
156 int result = mResolver.update(uri, new ContentValues(), null, null);
ContactsContract_DumpFileProviderTest.java 20 import android.net.Uri;
53 Uri uri = Uri.parse(URI_PREFIX + fileName); local
54 assertOpenFileDescriptorThrowsError(uri);
60 final Uri uri = Uri.parse(URI_PREFIX + fileName); local
62 mResolver.openFileDescriptor(uri, "r");
71 final Uri uri = Uri.parse(URI_PREFIX + fileName) local
78 final Uri uri = Uri.parse(URI_PREFIX + fileName); local
    [all...]
ContactsContract_StreamItemPhotosTest.java 22 import android.net.Uri;
32 private Uri mStreamItemUri;
54 Uri insertUri = Uri.withAppendedPath(
57 Uri uri = mResolver.insert(insertUri, values); local
58 long photoId = ContentUris.parseId(uri);
60 assertEquals(Uri.withAppendedPath(insertUri, Long.toString(photoId)), uri); local
70 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values) local
74 Long.toString(photoId)), uri); local
    [all...]
DataUtil.java 25 import android.net.Uri;
33 private static final Uri URI = ContactsContract.Data.CONTENT_URI;
37 Uri uri = ContentUris.withAppendedId(URI, dataId); local
38 Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, null);
79 Uri uri = resolver.insert(URI, newValues) local
84 Uri uri = ContentUris.withAppendedId(URI, dataId); local
89 Uri uri = ContentUris.withAppendedId(URI, dataId); local
    [all...]
  /developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
ImageDragListener.java 20 import android.net.Uri;
27 * Sets colors of the target when DragEvents fire. When a drop is received, the {@link Uri} backing
87 Uri uri = item.getUri(); local
88 if (uri == null) {
91 return setImageUri(view, event, uri);
97 protected boolean setImageUri(View view, DragEvent event, Uri uri) {
101 ((ImageView) view).setImageURI(uri);
  /developers/build/prebuilts/gradle/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
ImageDragListener.java 20 import android.net.Uri;
79 Uri uri = item.getUri(); local
80 if (uri == null) {
83 return setImageUri(view, event, uri);
89 protected boolean setImageUri(View view, DragEvent event, Uri uri) {
93 ((ImageView) view).setImageURI(uri);
  /developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
ImageDragListener.java 20 import android.net.Uri;
27 * Sets colors of the target when DragEvents fire. When a drop is received, the {@link Uri} backing
87 Uri uri = item.getUri(); local
88 if (uri == null) {
91 return setImageUri(view, event, uri);
97 protected boolean setImageUri(View view, DragEvent event, Uri uri) {
101 ((ImageView) view).setImageURI(uri);
  /developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
ImageDragListener.java 20 import android.net.Uri;
79 Uri uri = item.getUri(); local
80 if (uri == null) {
83 return setImageUri(view, event, uri);
89 protected boolean setImageUri(View view, DragEvent event, Uri uri) {
93 ((ImageView) view).setImageURI(uri);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
PickContact.java 28 import android.net.Uri;
90 Uri uri = data.getData(); local
91 if (uri != null) {
94 c = getContentResolver().query(uri, new String[] { BaseColumns._ID },
101 String txt = mPendingResult.mMsg + ":\n" + uri + "\nid: " + id;
  /development/samples/ApiDemos/src/com/example/android/apis/os/
SmsMessageReceiver.java 23 import android.net.Uri;
45 Uri uri; local
51 uri = Uri.withAppendedPath(
53 Uri.encode(fromAddress));
56 // Query the filter URI
57 Cursor cursor = context.getContentResolver().query(uri, projection, null, null, null);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete4.java 25 import android.net.Uri;
88 Uri uri = Uri.withAppendedPath( local
90 Uri.encode(constraint.toString()));
91 return mContent.query(uri, CONTACT_PROJECTION, null, null, null);
  /development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
ImageDragListener.java 20 import android.net.Uri;
27 * Sets colors of the target when DragEvents fire. When a drop is received, the {@link Uri} backing
87 Uri uri = item.getUri(); local
88 if (uri == null) {
91 return setImageUri(view, event, uri);
97 protected boolean setImageUri(View view, DragEvent event, Uri uri) {
101 ((ImageView) view).setImageURI(uri);
  /development/samples/browseable/DragAndDropAcrossApps/DropTarget/src/com.example.android/droptarget/
ImageDragListener.java 20 import android.net.Uri;
79 Uri uri = item.getUri(); local
80 if (uri == null) {
83 return setImageUri(view, event, uri);
89 protected boolean setImageUri(View view, DragEvent event, Uri uri) {
93 ((ImageView) view).setImageURI(uri);
  /external/apache-http/src/org/apache/http/impl/client/
DefaultRedirectHandler.java 34 import java.net.URI;
98 public URI getLocationURI(
117 URI uri; local
119 uri = new URI(location);
121 throw new ProtocolException("Invalid redirect URI: " + location, ex);
125 // rfc2616 demands the location value be a complete URI
127 if (!uri.isAbsolute()) {
130 + uri + "' not allowed")
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/extensions/
ExtensionNamespacesManager.java 148 * @param ns The extension namespace URI.
210 String uri = Constants.S_EXTENSIONS_JAVA_URL; local
214 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName,
215 new Object[]{uri, lang, lib}));
217 uri = Constants.S_EXTENSIONS_OLD_JAVA_URL;
218 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName,
219 new Object[]{uri, lang, lib}));
221 uri = Constants.S_EXTENSIONS_LOTUSXSL_JAVA_URL;
222 m_predefExtensions.add(new ExtensionNamespaceSupport(uri, handlerClassName,
223 new Object[]{uri, lang, lib}))
    [all...]
  /external/libevent/include/event2/
rpc_struct.h 62 /* the URI at which the request handler lives */
63 const char* uri; member in struct:evrpc
  /external/libmojo/base/android/java/src/org/chromium/base/
ContentUriUtils.java 10 import android.net.Uri;
20 * This class provides methods to access content URI schemes.
30 * Provides functionality to translate a file into a content URI for use
35 * Generate a content URI from the given file.
39 Uri getContentUriFromFile(Context context, File file);
51 public static Uri getContentUriFromFile(Context context, File file) {
61 * Opens the content URI for reading, and returns the file descriptor to
65 * @param uriString the content URI to open
78 * Check whether a content URI exists.
81 * @param uriString the content URI to query
113 Uri uri = Uri.parse(uriString); local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/address/
AddressFactoryImpl.java 65 * Creates an Address with the new display name and URI attribute
70 * @param uri - the new URI value of the address.
76 javax.sip.address.URI uri) {
77 if (uri == null)
78 throw new NullPointerException("null URI");
82 addressImpl.setURI(uri);
87 /** create a sip uri.
89 *@param uri -- the uri to parse
188 SipURI uri = new SipUri(); local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
RequestLine.java 31 import javax.sip.address.URI;
48 /** uri field. Note that this can be a SIP URI or a generic URI
49 * like tel URI.
51 protected GenericURI uri; field in class:RequestLine
81 if (uri != null) {
82 uri.encode(buffer);
94 return uri;
97 /** Constructor given the request URI and the method
    [all...]

Completed in 621 milliseconds

1 2 3 45 6 7 8 91011>>