/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
StringLoader.java | 3 import android.net.Uri; 9 * A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by 10 * {@link android.content.ContentResolver#openInputStream(Uri)}. 13 private final ModelLoader<Uri, T> uriLoader; 15 public StringLoader(ModelLoader<Uri, T> uriLoader) { 21 Uri uri = Uri.parse(model); local 23 final String scheme = uri.getScheme(); 25 uri = Uri.fromFile(new File(model)) [all...] |
/external/nist-sip/java/javax/sip/header/ |
WWWAuthenticateHeader.java | 3 import javax.sip.address.URI; 11 URI getURI(); 16 void setURI(URI uri);
|
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/ |
AssetProvider.java | 26 import android.net.Uri; 73 public String getType(Uri uri){ 74 // Returns the MIME type for the selected URI, in conformance with the ContentProvider 75 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME 79 String path = uri.getLastPathSegment(); 87 return guessContentTypeFromName(uri.toString()); 92 public AssetFileDescriptor openAssetFile (Uri uri, String mode) 94 // ContentProvider interface for opening a file descriptor by URI. This content provide [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
XMLNSDecl.java | 35 * @param uri non-null reference to namespace URI. 38 public XMLNSDecl(String prefix, String uri, boolean isExcluded) 42 m_uri = uri; 52 * @return The prefix that is associated with this URI, or null 60 /** non-null reference to namespace URI. 65 * Return the URI. 66 * @return The URI that is associated with this declaration.
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
WebServerPlugin.java | 16 boolean canServeUri(String uri, File rootDir); 18 NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType);
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
AmbiguousContentProvider.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
PermissionContentProvider.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
PermissionContentProviderGranting.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
PermissionContentProviderPath.java | 6 import android.net.Uri; 18 public int delete(Uri uri, String selection, String[] selectionArgs) { 24 public String getType(Uri uri) { 29 public Uri insert(Uri uri, ContentValues values) { 39 public Cursor query(Uri uri, String[] projection, String selection [all...] |
PermissionContentProviderPathRestricting.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
PrivateContentProvider.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
PrivateContentProviderGranting.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/ |
AmbiguousContentProvider.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
BasicContentProvider.java | 22 import android.net.Uri; 34 public int delete(Uri uri, String selection, String[] selectionArgs) { 40 public String getType(Uri uri) { 45 public Uri insert(Uri uri, ContentValues values) { 55 public Cursor query(Uri uri, String[] projection, String selection [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
DataProvider.java | 27 import android.net.Uri; 43 // Indicates an invalid content URI 99 // Adds a URI "match" entry that maps picture URL content URIs to a numeric code 105 // Adds a URI "match" entry that maps modification date content URIs to a numeric code 232 * @see android.content.ContentProvider#query(Uri, String[], String, String[], String) 233 * @param uri The content URI of the table 242 Uri uri, 249 // Decodes the content URI and maps it to a cod 261 returnCursor.setNotificationUri(getContext().getContentResolver(), uri); local [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedProvider.java | 26 import android.net.Uri; 38 // The constants below represent individual URI routes, as IDs. Every URI pattern recognized by 42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined 43 // URI patterns, and the corresponding route ID will be returned. 45 * URI ID for route: /entries 50 * URI ID for route: /entries/{ID} 70 * Determine the mime type for entries returned by a given URI. 73 public String getType(Uri uri) { 111 c.setNotificationUri(ctx.getContentResolver(), uri); local [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedProvider.java | 26 import android.net.Uri; 38 // The constants below represent individual URI routes, as IDs. Every URI pattern recognized by 42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined 43 // URI patterns, and the corresponding route ID will be returned. 45 * URI ID for route: /entries 50 * URI ID for route: /entries/{ID} 70 * Determine the mime type for entries returned by a given URI. 73 public String getType(Uri uri) { 111 c.setNotificationUri(ctx.getContentResolver(), uri); local [all...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedProvider.java | 26 import android.net.Uri; 38 // The constants below represent individual URI routes, as IDs. Every URI pattern recognized by 42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined 43 // URI patterns, and the corresponding route ID will be returned. 45 * URI ID for route: /entries 50 * URI ID for route: /entries/{ID} 70 * Determine the mime type for entries returned by a given URI. 73 public String getType(Uri uri) { 111 c.setNotificationUri(ctx.getContentResolver(), uri); local [all...] |
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
AccessPermissionWithDiffSigTest.java | 28 import android.net.Uri; 48 private static final Uri PERM_URI = Uri.parse("content://ctspermissionwithsignature"); 49 private static final Uri PERM_URI_GRANTING = Uri.parse("content://ctspermissionwithsignaturegranting"); 50 private static final Uri PERM_URI_PATH = Uri.parse("content://ctspermissionwithsignaturepath"); 51 private static final Uri PERM_URI_PATH_RESTRICTING = Uri.parse( 53 private static final Uri PRIV_URI = Uri.parse("content://ctsprivateprovider") 89 Uri uri = item.getUri(); local 179 Uri uri = item.getUri(); local 585 Uri uri = clip.getItemAt(i).getUri(); local 627 Uri uri = item.getUri(); local 743 Uri uri = item.getUri(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
RawContactUtil.java | 24 import android.net.Uri; 34 private static final Uri URI = ContactsContract.RawContacts.CONTENT_URI; 38 Uri uri = ContentUris.withAppendedId(URI, rawContactId); local 39 resolver.update(uri, values, null, null); 60 Uri uri = resolver.insert(URI, values) local 66 Uri uri = ContentUris.withAppendedId(URI, rawContactId); local 78 Uri uri = ContentUris.withAppendedId(URI, contactId); local 85 Uri uri = ContentUris.withAppendedId(URI, rawContactId) local [all...] |
/external/apache-http/src/org/apache/http/client/utils/ |
URIUtils.java | 32 import java.net.URI; 38 * A collection of utilities for {@link URI URIs}, to workaround 49 * Constructs a {@link URI} using all the parameters. This should be 51 * {@link URI#URI(String, String, String, int, String, String, String)} 52 * or any of the other URI multi-argument URI constructors. 73 * relative, if the URI string constructed from the given 78 public static URI createURI( 112 return new URI(buffer.toString()) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
iri2uri.py | 4 Converts an IRI to a URI. 18 # Convert an IRI to a URI following the rules in RFC 3987 65 def iri2uri(uri): 66 """Convert an IRI to a URI. Note that IRIs must be 69 if isinstance(uri ,unicode): 70 (scheme, authority, path, query, fragment) = urlparse.urlsplit(uri) 75 uri = urlparse.urlunsplit((scheme, authority, path, query, fragment)) 76 uri = "".join([encode(c) for c in uri]) 77 return uri [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ExtendedContentHandler.java | 51 * @param uri the namespace URI of the attribute name 60 String uri, 75 * Add an attribute to the current element. The namespace URI of the 116 * startElement(uri,localName,qname,atts) 119 * @param uri the namespace URI of the element 125 public void startElement(String uri, String localName, String qName) 138 * startPrefixMapping(prefix,uri) 148 * @param uri the namespace URI being declare [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
AnimatableSVGPaint.h | 46 const String& uri, const String& visitedLinkURI) 48 return create(type, visitedLinkType, AnimatableColor::create(color, visitedLinkColor), uri, visitedLinkURI); 53 const String& uri, const String& visitedLinkURI) 55 return adoptRefWillBeNoop(new AnimatableSVGPaint(type, visitedLinkType, color, uri, visitedLinkURI)); 61 const String& uri() const { return m_uri; }; function in class:blink::FINAL 75 AnimatableSVGPaint(SVGPaintType type, SVGPaintType visitedLinkType, PassRefPtrWillBeRawPtr<AnimatableColor> color, const String& uri, const String& visitedLinkURI) 79 , m_uri(uri)
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
IntentReceiverActivity.java | 22 import android.net.Uri; 33 * Class to receive intents sent across profile boundaries, and read/write to content uri specified 60 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; local 73 message = getFirstLineFromUri(uri); 75 Log.i(TAG, "Caught a SecurityException while trying to read " + uri, e); 78 Log.i(TAG, "Caught a IOException while trying to read " + uri, e); 84 Log.i(TAG, "Taking persistable uri permission to " + uri); 85 getContentResolver().takePersistableUriPermission(uri, [all...] |