/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
StringLoader.java | 3 import android.net.Uri; 10 * A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by 11 * {@link android.content.ContentResolver#openInputStream(Uri)}. 16 private final ModelLoader<Uri, T> uriLoader; 18 public StringLoader(ModelLoader<Uri, T> uriLoader) { 24 Uri uri; local 26 uri = toFileUri(model); 28 uri = Uri.parse(model) [all...] |
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsConverter.java | 29 import java.net.URI; 42 @Parameter(names = "-uri", converter = URIConverter.class) 43 public URI uri; field in class:ArgsConverter
|
/external/libxml2/ |
testURI.c | 16 #include <libxml/uri.h> 25 xmlURIPtr uri; local 28 uri = xmlCreateURI(); 31 ret = xmlParseURIReference(uri, str); 36 if (uri->scheme) printf("scheme: %s\n", uri->scheme); 37 if (uri->opaque) printf("opaque: %s\n", uri->opaque); 38 if (uri->authority) printf("authority: %s\n", uri->authority) [all...] |
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/ |
HelloServer.java | 62 String uri = session.getUri(); local 63 HelloServer.LOG.info(method + " '" + uri + "' ");
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
RFC2396UrlDecoder.java | 48 * @param uri the path to decode 51 public static String decode(String uri) { 52 StringBuffer translatedUri = new StringBuffer(uri.length()); 53 byte[] encodedchars = new byte[uri.length() / 3]; 55 int length = uri.length(); 58 if (uri.charAt(i) == '%') { 61 while (i < length && uri.charAt(i) == '%') { 64 byte x = (byte)Integer.parseInt(uri.substring(i + 1, i + 3), 16); 67 throw new IllegalArgumentException("Illegal hex characters in pattern %" + uri.substring(i + 1, i + 3)); 85 translatedUri.append(uri.charAt(i)) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AlertInfoParser.java | 81 GenericURI uri; local 88 uri = urlParser.uriReference( true ); 89 alertInfo.setAlertInfo(uri);
|
CallInfoParser.java | 79 GenericURI uri=urlParser.uriReference(true); local 80 callInfo.setInfo(uri); 96 uri=urlParser.uriReference(true); 97 callInfo.setInfo(uri);
|
ErrorInfoParser.java | 82 GenericURI uri = urlParser.uriReference( true ); local 83 errorInfo.setErrorInfo(uri);
|
/external/syslinux/gpxe/src/usr/ |
imgmgmt.c | 29 #include <gpxe/uri.h> 41 * @v uri_string URI as a string (e.g. "http://www.nowhere.com/vmlinuz") 50 struct uri *uri; local 54 if ( ! ( uri = parse_uri ( uri_string ) ) ) 57 image_set_uri ( image, uri ); 59 /* Redact password portion of URI, if necessary */ 60 password = uri->password; 62 uri->password = "***"; 64 uri, URI_ALL ) [all...] |
/frameworks/base/core/java/android/content/ |
Entity.java | 19 import android.net.Uri; 25 * plus a collection of Uri, ContentValues tuples as subvalues. One example of its use 28 * corresponds to that RawContact. The uri refers to the Data table uri for each row. 47 public void addSubValue(Uri uri, ContentValues values) { 48 mSubValues.add(new Entity.NamedContentValues(uri, values)); 52 public final Uri uri; field in class:Entity.NamedContentValues 55 public NamedContentValues(Uri uri, ContentValues values) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProviderTest.java | 19 import android.net.Uri; 38 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/data/1/blob"); local 40 InputStream in = resolver.openInputStream(uri); 56 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/huge"); local 57 InputStream in = resolver.openInputStream(uri); 71 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/file") local [all...] |
/frameworks/base/media/java/android/media/tv/ |
TvContentRatingSystemInfo.java | 22 import android.net.Uri; 34 private final Uri mXmlUri; 48 Uri uri = new Uri.Builder() local 53 return new TvContentRatingSystemInfo(uri, applicationInfo); 56 private TvContentRatingSystemInfo(Uri xmlUri, ApplicationInfo applicationInfo) { 70 * Returns the URI to the XML resource that defines the TV content rating system. 75 public final Uri getXmlUri() {
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
PortFilter.java | 21 import android.net.Uri; 47 Uri uri = intent.getData(); local 48 if (uri != null) { 49 port = uri.getPort();
|
/frameworks/ex/common/java/com/android/common/ |
Search.java | 24 import android.net.Uri; 88 Uri.Builder uriBuilder = new Uri.Builder() 91 .query("") // TODO: Remove, workaround for a bug in Uri.writeToParcel() 92 .fragment(""); // TODO: Remove, workaround for a bug in Uri.writeToParcel() 118 Uri uri = uriBuilder.build(); local 121 return context.getContentResolver().query(uri, null, selection, selArgs, null);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMLocatorImpl.java | 28 private final String uri; field in class:DOMLocatorImpl 36 this.uri = src.getUri(); 77 /* URI 81 return uri;
|
/libcore/luni/src/test/java/libcore/java/net/ |
CookiesMCompatibilityTest.java | 22 import java.net.URI; 41 URI uri = new URI("http://services.chargepoint.com"); local 42 cm.put(uri, responseHeaders); 45 new URI("https://webservices.chargepoint.com/foo"), 53 URI uri = new URI("http://services.chargepoint.com"); local 57 cm.put(uri, responseHeaders) [all...] |
CookiesTest.java | 22 import java.net.URI; 41 URI uri = new URI("http://chargepoint.com"); local 42 cm.put(uri, responseHeaders); 45 new URI("https://webservices.chargepoint.com/backend.php/mobileapi/"),
|
OldAndroidURITest.java | 19 import java.net.URI; 32 URI uri = new URI(str); local 33 assertEquals(host, uri.getHost()); 34 assertEquals(path, uri.getPath()); 35 assertEquals(absolute, uri.isAbsolute()); 44 private static void resolve(String base, String uri, String expected) { 45 URI b = URI.create(base) [all...] |
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ImportRequest.java | 19 import android.net.Uri; 25 * Class representing one request for importing vCard (given as a Uri). 28 * to import some specific Uri. 30 * Note: This object's accepting only One Uri does NOT mean that 31 * there's only one vCard entry inside the instance, as one Uri often has multiple 41 * Uri to be imported. May have different content than originally given from users, so 47 public final Uri uri; field in class:ImportRequest 50 * Holds the byte stream of the vcard, if {@link #uri} is null. 70 * Assumes that one Uri contains only one version, while there's a (tiny) possibilit [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
UriImageRequestDescriptor.java | 19 import android.net.Uri; 24 public final Uri uri; field in class:UriImageRequestDescriptor 27 public UriImageRequestDescriptor(final Uri uri) { 28 this(uri, UriImageRequest.UNSPECIFIED_SIZE, UriImageRequest.UNSPECIFIED_SIZE, false, false, 32 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, final int desiredHeight) 34 this(uri, desiredWidth, desiredHeight, false, false, false, 0, 0); 37 public UriImageRequestDescriptor(final Uri uri, final int desiredWidth, final int desiredHeight [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationSoundPreference.java | 24 import android.net.Uri; 32 private Uri mRingtone; 39 protected Uri onRestoreRingtone() { 43 public void setRingtone(Uri ringtone) { 52 Uri uri = data.getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI); local 53 setRingtone(uri); 54 callChangeListener(uri); 60 private void updateRingtoneName(final Uri uri) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
AttachmentLoader.java | 26 import android.net.Uri; 35 public AttachmentLoader(Context c, Uri uri) { 36 super(c, uri, UIProvider.ATTACHMENT_PROJECTION, null, null, null); 53 final String uri = getWrappedCursor().getString(UIProvider.ATTACHMENT_URI_COLUMN); local 54 Attachment m = mCache.get(uri); 57 mCache.put(uri, m);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AddableFolderSelectorAdapter.java | 23 import android.net.Uri; 79 String uri = new FolderUri(Uri.parse(folderCursor.getString( local 85 exclude |= includeOnlyInitiallySelected ^ initiallySelected.contains(uri);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsListLoader.java | 21 import android.net.Uri; 56 Uri uri = Uri.withAppendedPath(Contacts.CONTENT_GROUP_URI, groupTitle); local 57 return new CursorLoader(context, uri, COLUMNS, null, null, Contacts.SORT_KEY_PRIMARY);
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
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); 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 78 Cursor cursor = resolver.query(URI, projection, selection, args, null) [all...] |