/frameworks/av/media/libmedia/include/media/ |
IMediaHTTPConnection.h | 35 const char *uri, const KeyedVector<String8, String8> *headers) = 0; 41 virtual status_t getUri(String8 *uri) = 0;
|
/frameworks/base/core/java/android/content/ |
AsyncQueryHandler.java | 20 import android.net.Uri; 49 public Uri uri; field in class:AsyncQueryHandler.WorkerArgs 79 cursor = resolver.query(args.uri, args.projection, 96 args.result = resolver.insert(args.uri, args.values); 100 args.result = resolver.update(args.uri, args.values, args.selection, 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); 149 * @param uri The URI, using the content:// scheme, for the content to 156 * return all rows for the given URI [all...] |
/frameworks/base/core/java/android/database/ |
ContentObservable.java | 19 import android.net.Uri; 46 * @deprecated Use {@link #dispatchChange(boolean, Uri)} instead. 54 * Invokes {@link ContentObserver#dispatchChange(boolean, Uri)} on each observer. 55 * Includes the changed content Uri when available. 64 * @param uri The Uri of the changed content, or null if unknown. 66 public void dispatchChange(boolean selfChange, Uri uri) { 70 observer.dispatchChange(selfChange, uri);
|
/frameworks/base/core/java/android/database/sqlite/ |
SqliteWrapper.java | 25 import android.net.Uri; 56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 76 public static int update(Context context, ContentResolver resolver, Uri uri, 79 return resolver.update(uri, values, where, selectionArgs); 87 public static int delete(Context context, ContentResolver resolver, Uri uri, 90 return resolver.delete(uri, where, selectionArgs) [all...] |
/frameworks/base/media/java/android/media/ |
IMediaHTTPConnection.aidl | 26 IBinder connect(in String uri, in String headers);
|
AsyncPlayer.java | 22 import android.net.Uri; 41 Uri uri; field in class:AsyncPlayer.Command 48 + " uri=" + uri + " }"; 62 player.setDataSource(cmd.context, cmd.uri); 76 Log.w(mTag, "error loading sound for " + cmd.uri, e); 159 * @param uri The URI to play. (see {@link MediaPlayer#setDataSource(Context, Uri)}) [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
PduCache.java | 22 import android.net.Uri; 29 public final class PduCache extends AbstractCache<Uri, PduCacheEntry> { 74 private final HashMap<Integer, HashSet<Uri>> mMessageBoxes; 75 private final HashMap<Long, HashSet<Uri>> mThreads; 76 private final HashSet<Uri> mUpdating; 79 mMessageBoxes = new HashMap<Integer, HashSet<Uri>>(); 80 mThreads = new HashMap<Long, HashSet<Uri>>(); 81 mUpdating = new HashSet<Uri>(); 95 synchronized public boolean put(Uri uri, PduCacheEntry entry) [all...] |
SqliteWrapper.java | 26 import android.net.Uri; 68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 88 public static int update(Context context, ContentResolver resolver, Uri uri, 91 return resolver.update(uri, values, where, selectionArgs); 99 public static int delete(Context context, ContentResolver resolver, Uri uri, 102 return resolver.delete(uri, where, selectionArgs) [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoItemData.java | 19 import android.net.Uri; 32 Date lastModifiedDate, String filePath, Uri uri, 35 super(contentId, title, mimeType, creationDate, lastModifiedDate, filePath, uri, dimensions,
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
RingtonePreviewKlaxon.java | 20 import android.net.Uri; 34 public static void start(Context context, Uri uri) { 37 getAsyncRingtonePlayer(context).play(uri, 0);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BoundCursorLoader.java | 21 import android.net.Uri; 32 public BoundCursorLoader(final String bindingId, final Context context, final Uri uri, 35 super(context, uri, projection, selection, selectionArgs, sortOrder);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
MessagePartVideoThumbnailRequestDescriptor.java | 20 import android.net.Uri; 29 public MessagePartVideoThumbnailRequestDescriptor(Uri uri) { 30 super(null, uri, ImageRequest.UNSPECIFIED_SIZE, ImageRequest.UNSPECIFIED_SIZE,
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
PduCache.java | 22 import android.net.Uri; 30 public final class PduCache extends AbstractCache<Uri, PduCacheEntry> { 74 private final SparseArray<HashSet<Uri>> mMessageBoxes; 75 private final SimpleArrayMap<Long, HashSet<Uri>> mThreads; 76 private final HashSet<Uri> mUpdating; 79 mMessageBoxes = new SparseArray<HashSet<Uri>>(); 80 mThreads = new SimpleArrayMap<Long, HashSet<Uri>>(); 81 mUpdating = new HashSet<Uri>(); 95 public synchronized boolean put(Uri uri, PduCacheEntry entry) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallGatewayManager.java | 20 import android.net.Uri; 57 * Intent extra to specify the URI of the provider to place the 63 // TODO: Should the value be a Uri (Parcelable)? Need to make sure 64 // MMI code '#' don't get confused as URI fragments. 170 * Return the gateway uri from the intent. 171 * @param intent With the gateway uri extra. 172 * @return The gateway URI or null if not found. 174 public static Uri getProviderGatewayUri(Intent intent) { 175 final String uri = intent.getStringExtra(EXTRA_GATEWAY_URI); local 176 return TextUtils.isEmpty(uri) ? null : Uri.parse(uri) [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
XMLWriter.java | 158 * <p>Whenever the XML writer finds a new Namespace URI, it checks 161 * not already in use for another Namespace URI).</p> 164 * to a Namespace URI with the setPrefix method:</p> 360 * clear the prefix or URI information in the writer or 413 * Specify a preferred prefix for a Namespace URI. 419 * @param uri The Namespace URI. 426 public void setPrefix (String uri, String prefix) 428 prefixTable.put(uri, prefix); 433 * Get the current or preferred prefix for a Namespace URI 1255 String uri = nsSupport.getURI(prefix); local [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 24 import android.net.Uri; 63 private static HashMap<Uri, Uri> sSessionsToContentUris = new HashMap<>(); 64 private static HashMap<Uri, Uri> sContentUrisToSessions = new HashMap<>(); 65 private static LruCache<Uri, Bitmap> sSessionsToPlaceholderBitmap = 67 new LruCache<Uri, Bitmap>(20 * 1024 * 1024) { 69 protected int sizeOf(Uri key, Bitmap value) { 73 private static HashMap<Uri, Point> sSessionsToSizes = new HashMap<>(); 74 private static HashMap<Uri, Integer> sSessionsToPlaceholderVersions = new HashMap<>() 157 Uri uri = null; local 206 Uri uri = generateUniquePlaceholderUri(); local 245 Uri uri = generateUniquePlaceholderUri(); local [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssContentProvider.java | 27 import android.net.Uri; 47 // incoming URI parameter is. 55 // Here's the public URI used to query for RSS items. 56 public static final Uri CONTENT_URI = Uri.parse( "content://my_rss_item/rssitem"); 118 // Convert the URI into a custom MIME type. 119 // Our UriMatcher will parse the URI to decide whether the 120 // URI is for a single item or a list. 122 public String getType(Uri uri) { 165 c.setNotificationUri(getContext().getContentResolver(), uri); local [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/base/cmds/content/src/com/android/commands/content/ |
Content.java | 26 import android.net.Uri; 51 * adb shell content insert --uri content://settings/secure --bind name:s:new_setting 57 * adb shell content update --uri content://settings/secure --bind value:s:newer_value 62 * adb shell content delete --uri content://settings/secure --where "name=\'new_setting\'" 67 * adb shell content query --uri content://settings/secure --projection name:value 78 + "usage: adb shell content insert --uri <URI> [--user <USER_ID>]" 80 + " <URI> a content provider URI.\n" 88 + " adb shell content insert --uri content://settings/secure --bind name:s:new_setting 195 Uri uri = null; local 221 Uri uri = null; local 243 Uri uri = null; local 275 Uri uri = null; local 304 Uri uri = null; local 324 Uri uri = null; local 343 Uri uri = null; local [all...] |
/frameworks/base/core/java/android/net/ |
PacProxySelector.java | 32 import java.net.URI; 59 public List<Proxy> select(URI uri) { 71 // Strip path and username/password from URI so it's not visible to PAC script. The 74 if (!"http".equalsIgnoreCase(uri.getScheme())) { 75 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
NamespaceMappings.java | 31 * prefix/uri/depth triplets are pushed on a stack pushed on a stack. The depth 46 * When the <chapter> element is encounted the prefix "p1" associated with uri 55 * So prefix/uri pairs are pushed and poped off the stack as elements are 57 * are on the stack and a prefix can be found given a uri, or a uri can be found 76 * though possibly different URI's or depths. Such a stack must have 93 * ensure prefix/uri map scopes are closed correctly. 111 * and predefines a few prefix/uri pairs which always exist. 118 // Define the default namespace (initially maps to "" uri) 132 * Use a namespace prefix to lookup a namespace URI 140 String uri = null; local [all...] |
/external/autotest/server/site_tests/cheets_CTS/ |
generate_controlfiles.py | 200 def get_controlfile_content(package, abi, revision, build, uri): 206 if is_public(uri): 220 if is_public(uri): 224 source = "uri='%s'" % uri 276 def is_public(uri): 277 if uri.startswith('gs:'): 279 elif uri.startswith('https://dl.google.com'): 284 def download(uri, destination): 285 """Download |uri| to local |destination|."" [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
MediaStoreThumbFetcher.java | 6 import android.net.Uri; 18 * A DataFetcher that retrieves an {@link java.io.InputStream} for a local Uri that may or may not be for a resource 19 * in the media store. If the local Uri is for a resource in the media store and the size requested is less than or 30 private final Uri mediaStoreUri; 37 public MediaStoreThumbFetcher(Context context, Uri mediaStoreUri, DataFetcher<InputStream> defaultFetcher, 42 MediaStoreThumbFetcher(Context context, Uri mediaStoreUri, DataFetcher<InputStream> defaultFetcher, int width, 89 private static boolean isMediaStoreUri(Uri uri) { 90 return uri != null 91 && ContentResolver.SCHEME_CONTENT.equals(uri.getScheme() [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 27 import android.net.Uri; 41 private Uri mVideoUri; 58 Uri query = mVideoUri.buildUpon().build(); 96 Uri uri = Uri.fromFile(mFile); local 97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 104 verify(getActivity(), uri); local 135 Uri uri = Uri.fromFile(mFile) local 145 verify(getActivity(), uri); local 157 Uri uri = Uri.fromFile(mFile); local [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 28 import android.net.Uri; 43 import java.net.URI; 48 private Uri mVideoUri; 65 Uri query = mVideoUri.buildUpon().build(); 103 Uri uri = Uri.fromFile(mFile); local 104 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 111 verify(getActivity(), uri); local 158 Uri uri = Uri.fromFile(mFile) local 168 verify(getActivity(), uri); local 180 Uri uri = Uri.fromFile(mFile); local [all...] |