/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AlertInfoParser.java | 81 GenericURI uri; local 88 uri = urlParser.uriReference( true ); 89 alertInfo.setAlertInfo(uri);
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
AttributesImpl.java | 108 * Return an attribute's Namespace URI. 111 * @return The Namespace URI, the empty string if none is 203 * @param uri The attribute's Namespace URI, or the empty 209 public int getIndex (String uri, String localName) 213 if (data[i].equals(uri) && data[i+1].equals(localName)) { 243 * @param uri The Namespace URI, or the empty string for a name 244 * with no explicit Namespace URI. 250 public String getType (String uri, String localName [all...] |
/frameworks/av/media/libstagefright/ |
DataSource.cpp | 187 const char *uri, 195 bool isWidevine = !strncasecmp("widevine://", uri, 11); 198 if (!strncasecmp("file://", uri, 7)) { 199 source = new FileSource(uri + 7); 200 } else if (!strncasecmp("http://", uri, 7) 201 || !strncasecmp("https://", uri, 8) 220 tmp.append(uri + 11); 222 uri = tmp.string(); 236 if (httpSource->connect(uri, &nonCacheSpecificHeaders) != OK) { 255 } else if (!strncasecmp("data:", uri, 5)) [all...] |
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
VariableSpeedNative.java | 23 import android.net.Uri; 40 /*package*/ static boolean playFromContext(Context context, Uri uri) 42 AssetFileDescriptor afd = context.getContentResolver().openAssetFileDescriptor(uri, "r"); 64 /*package*/ static native void playUri(String uri);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
ImageUtils.java | 26 import android.net.Uri; 89 * Create a bitmap from a local URI 92 * @param uri The local URI 96 public static BitmapResult createLocalBitmap(final ContentResolver resolver, final Uri uri, 99 final InputStreamFactory factory = createInputStreamFactory(resolver, uri); 206 final Uri uri) { 207 final String scheme = uri.getScheme() [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
AttributesImpl.java | 100 * Return an attribute's Namespace URI. 103 * @return The Namespace URI, the empty string if none is 195 * @param uri The attribute's Namespace URI, or the empty 201 public int getIndex (String uri, String localName) 205 if (data[i].equals(uri) && data[i+1].equals(localName)) { 235 * @param uri The Namespace URI, or the empty string for a name 236 * with no explicit Namespace URI. 242 public String getType (String uri, String localName [all...] |
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSessionManager.java | 20 import android.net.Uri; 37 * Called when the session with the given Uri was queued and will be 40 public void onSessionQueued(Uri mediaUri); 43 * Called when the media underlying the session with the given Uri has 46 public void onSessionUpdated(Uri mediaUri); 50 * given Uri has been updated. 52 public void onSessionPreviewAvailable(Uri mediaUri); 54 /** Called when the session with the given Uri finished. */ 55 public void onSessionDone(Uri mediaUri); 57 /** Called when the session with the given Uri failed processing. * [all...] |
CaptureSessionManagerImpl.java | 22 import android.net.Uri; 50 /** A URI of the item being processed. */ 51 private Uri mUri; 63 private Uri mContentUri; 143 public synchronized void startSession(Uri uri, CharSequence progressMessage) { 144 mUri = uri; 146 mPlaceHolderSession = mPlaceholderManager.convertToPlaceholder(uri); 226 throw new IllegalStateException("Cannot retrieve URI of not started session."); 251 public Uri getUri() [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
PhotoSphereHelper.java | 23 import android.net.Uri; 71 public Intent showPanorama(Activity activity, Uri uri) { 76 public void showRgbz(Uri uri) { 87 public static PanoramaMetadata getPanoramaMetadata(Context context, Uri uri) { 100 * Get the file path from a Media storage URI. 102 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { 107 * Get the modified time from a Media storage URI [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ImageSavingTask.java | 22 import android.net.Uri; 33 Uri sourceUri; 34 Uri selectedUri; 54 Uri uri; field in class:ImageSavingTask.UpdatePreviewSaved 59 Uri uri; field in class:ImageSavingTask.URIResult 67 public void saveImage(Uri sourceUri, Uri selectedUri, 86 Uri sourceUri = request.sourceUri 117 Uri uri = saveImage.processAndSaveImage(preset, flatten, local 134 Uri uri = ((UpdatePreviewSaved) message).uri; local [all...] |
/packages/apps/Mms/src/com/android/mms/drm/ |
DrmUtils.java | 22 import android.net.Uri; 61 * @param uri Uri to content 64 public static boolean haveRightsForAction(Uri uri, int action) { 68 // first check if the URI is registered as DRM in DRM-framework 69 if (drmManagerClient.canHandle(uri.toString(), null)) { 70 int check = drmManagerClient.checkRightsStatus(uri.toString(), action);
|
/frameworks/base/core/java/android/content/ |
Intent.java | 39 import android.net.Uri; 100 * in the contacts database, expressed as a {@link android.net.Uri}.</p> 117 * a particular URI.</p> 177 * {@link ContentResolver#openInputStream(Uri) ContentResolver.openInputStream()}, 179 * and returning the resulting URI to the caller. This can be used, 243 * <li> For data that is not a <code>content:</code> URI and where no explicit 344 * <code>vnd.android.cursor.dir/vnd.google.note</code> is a URI from which 361 * <code>vnd.android.cursor.item/vnd.google.note</code> is a URI from which 442 * and allows the user to edit it. If they keep their changes, the URI 643 * mailto: URI it will bring up a compose window filled with the informatio 7289 StringBuilder uri = new StringBuilder(128); local 7909 Uri uri = streams != null ? streams.get(which) : null; local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 27 import android.net.Uri; 326 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); 339 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); local 340 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); 346 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); local 347 final Uri lookupUri = Contacts.getLookupUri(getContentResolver(), uri); 349 final Uri lookupWithoutIdUri = Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI 357 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); local 366 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); local 375 final Uri uri = ContentUris.withAppendedId(legacyContentUri, rawContactId); local 410 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); local 421 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); local 432 final Uri uri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); local 441 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); local 450 final Uri uri = ContentUris.withAppendedId(legacyContentUri, rawContactId); local 464 final Uri uri = ContentUris.withAppendedId(legacyContentUri, dataId); local 475 final Uri uri = ContentUris.withAppendedId(legacyContentUri, rawContactId); local 517 Uri uri = getCallLogUri(); local 528 Uri uri = getCallLogUri(); local [all...] |
/external/chromium_org/v8/src/ |
uri.js | 13 // This file contains support for URI manipulations written in 103 throw new $URIError("URI malformed"); 116 throw new $URIError("URI malformed"); 122 throw new $URIError("URI malformed"); 127 throw new $URIError("URI malformed"); 134 throw new $URIError("URI malformed"); 138 throw new $URIError("URI malformed"); 143 throw new $URIError("URI malformed"); 150 throw new $URIError("URI malformed"); 154 throw new $URIError("URI malformed") [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToXMLSAXHandler.java | 199 final String uri = getNamespaceURI(m_elemContext.m_elementName, true); local 206 m_saxHandler.startElement(uri, localName, m_elemContext.m_elementName, m_attributes); 314 * @param prefix The prefix that maps to the URI 315 * @param uri The URI for the namespace 317 public void startPrefixMapping(String prefix, String uri) 320 startPrefixMapping(prefix, uri, true); 324 * Remember the prefix/uri mapping at the current nested element depth. 327 * @param prefix The prefix that maps to the URI 328 * @param uri The URI for the namespac [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieManagerTest.java | 24 import java.net.URI; 35 private static void checkValidParams4Get(URI uri, 39 manager.get(uri, map); 47 private static void checkValidParams4Put(URI uri, 51 manager.put(uri, map); 60 * {@link java.net.CookieManager#get(java.net.URI, java.util.Map)} & 61 * {@link java.net.CookieManager#put(java.net.URI, java.util.Map)} 68 checkValidParams4Get(new URI(""), null) 99 URI uri = new URI(cookies[i][j]); local 274 URI uri = new URI("http:\/\/a.b.c"); local [all...] |
CookiePolicyTest.java | 21 import java.net.URI; 29 * java.net.CookiePolicy#shouldAccept(java.net.URI, 35 URI uri = new URI(""); local 44 CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, null); 64 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null); 74 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(uri, null); 78 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, cookie); 82 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 26 import android.net.Uri; 50 private Uri mUri; 59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) { 60 mUri = uri; 65 public Uri getUri() { 128 Uri uri = null; local 138 uri = Uri.parse(d.readUTF()) 192 public final Uri uri; field in class:Thumbnail.Media [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentResolverTest.java | 28 import android.net.Uri; 40 private Uri uri21; 41 private Uri uri22; 48 uri21 = Uri.parse(EXTERNAL_CONTENT_URI.toString() + "/21"); 49 uri22 = Uri.parse(EXTERNAL_CONTENT_URI.toString() + "/22"); 167 assertThat(testCursor.uri, equalTo(uri21)); 186 contentResolver.notifyChange(Uri.parse("foo"), null, true); 187 contentResolver.notifyChange(Uri.parse("bar"), null); 190 ShadowContentResolver.NotifiedUri uri = shadowContentResolver.getNotifiedUris().get(0); local 192 assertThat(uri.uri.toString(), equalTo("foo")) 214 Uri uri = Uri.parse("content:\/\/com.xtremelabs.robolectric"); local 341 final Uri uri = Uri.parse("content:\/\/"+AUTHORITY+"\/some\/path"); local 356 public Uri uri; field in class:ContentResolverTest.QueryParamTrackingTestCursor [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 22 import android.net.Uri; 38 private final static Uri sTestUri1 = Uri.parse("content://authority/blah"); 57 public Uri insert(Uri uri, ContentValues values) { 58 assertEquals(sTestUri1.toString(), uri.toString()); 60 return uri.buildUpon().appendPath("19").build(); 63 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); 70 public Uri insert(Uri uri, ContentValues values) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 30 import android.net.Uri; 60 private final Uri mUri; 67 public UriImage(Context context, Uri uri) { 68 if ((null == context) || (null == uri)) { 72 String scheme = uri.getScheme(); 74 initFromContentUri(context, uri); 75 } else if (uri.getScheme().equals("file")) { 76 initFromFile(context, uri); 80 mUri = uri; [all...] |
/external/chromium_org/third_party/libevent/ |
evhttp.h | 117 /** Set a callback for a specified URI */ 121 /** Removes the callback for a specified URI */ 214 char *uri; /* uri after HTTP request was parsed */ member in struct:evhttp_request 300 enum evhttp_cmd_type type, const char *uri); 315 Helper function to encode a URI. 319 @param uri an unencoded URI 320 @return a newly allocated URI-encoded string 322 char *evhttp_encode_uri(const char *uri); [all...] |
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 24 import android.net.Uri; 31 private Uri mContentUri; 98 public ImageSpan(Context context, Uri uri) { 99 this(context, uri, ALIGN_BOTTOM); 106 public ImageSpan(Context context, Uri uri, int verticalAlignment) { 109 mContentUri = uri; 110 mSource = uri.toString();
|
/frameworks/base/media/java/android/media/tv/ |
TvContract.java | 23 import android.net.Uri; 60 * An optional query, update or delete URI parameter that allows the caller to specify TV input 67 * An optional query, update or delete URI parameter that allows the caller to specify channel 74 * An optional query, update or delete URI parameter that allows the caller to specify start 81 * An optional query, update or delete URI parameter that allows the caller to specify end time 88 * A query, update or delete URI parameter that allows the caller to operate on all or 96 * A optional query, update or delete URI parameter that allows the caller to specify canonical 113 * Builds a URI that points to a specific channel. 117 public static final Uri buildChannelUri(long channelId) { 122 * Build a special channel URI intended to be used with pass-through inputs. (e.g. HDMI 251 Uri uri = buildProgramsUriForChannel(channelId); local [all...] |
/packages/apps/Camera/src/com/android/camera/ |
MediaSaver.java | 21 import android.net.Uri; 50 public void onMediaSaved(Uri uri); 113 Uri uri = storeImage(r.data, r.title, r.date, r.loc, r.width, r.height, local 115 r.listener.onMediaSaved(uri); 132 private Uri storeImage(final byte[] data, String title, long date, 134 Uri uri = Storage.addImage(mContentResolver, title, date, loc, local 136 return uri; [all...] |