/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContentProvider.java | 26 import android.net.Uri; 51 public int bulkInsert(String callingPackage, Uri arg0, ContentValues[] arg1) 65 public int delete(String callingPackage, Uri arg0, String arg1, String[] arg2) 72 public String getType(Uri arg0) throws RemoteException { 78 public Uri insert(String callingPackage, Uri arg0, ContentValues arg1) throws RemoteException { 85 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal) 93 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token) 100 public Cursor query(String callingPackage, Uri arg0, String[] arg1, String arg2, String[] arg3, 107 public int update(String callingPackage, Uri arg0, ContentValues arg1, String arg2 [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
PhotoPagerLoader.java | 22 import android.net.Uri; 31 private final Uri mPhotosUri; 35 Context context, Uri photosUri, String[] projection) { 45 final Uri loaderUri = mPhotosUri.buildUpon().appendQueryParameter(
|
/packages/apps/Contacts/src/com/android/contacts/ |
GroupMetaDataLoader.java | 20 import android.net.Uri; 25 * database (if given a {@link Uri}). 51 public GroupMetaDataLoader(Context context, Uri groupUri) { 57 * Ensures that this is a valid group URI. If invalid, then an exception is 58 * thrown. Otherwise, the original URI is returned. 60 private static Uri ensureIsGroupUri(final Uri groupUri) { 63 throw new IllegalArgumentException("Uri must not be null"); 66 throw new IllegalArgumentException("Invalid group Uri: " + groupUri);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/util/ |
TelecomCallUtil.java | 19 import android.net.Uri; 33 Uri handle = call.getDetails().getHandle(); 46 Uri handle = getHandle(call); 50 public static Uri getHandle(Call call) {
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
SingleImageList.java | 20 import android.net.Uri; 34 private Uri mUri; 36 public SingleImageList(ContentResolver resolver, Uri uri) { 37 mUri = uri; 38 mSingleImage = new UriImage(this, resolver, uri); 69 public IImage getImageForUri(Uri uri) { 70 return uri.equals(mUri) ? mSingleImage : null;
|
IImageList.java | 19 import android.net.Uri; 70 * Returns the image with a particular Uri. 72 * @param uri 73 * @return the image with a particular Uri. null if not found. 75 public IImage getImageForUri(Uri uri);
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentUrisTest.java | 20 import android.net.Uri; 21 import android.net.Uri.Builder; 32 private Uri uri1 = Uri.parse("content://" + AUTHORITY + "/" + PATH1); 33 private Uri uri2 = Uri.parse("content://" + AUTHORITY + "/" + PATH2); 40 Uri result = ContentUris.withAppendedId(uri1, CODE1); 46 // no code in Uri 47 assertEquals(-1, ContentUris.parseId(Uri.parse(""))); 58 Uri uri = Uri.fromParts("abc", "123", null) local [all...] |
UriMatcherTest.java | 20 import android.net.Uri; 37 private Uri uri1 = Uri.parse("content://" + sAuthority + "/" + sPath1); 38 private Uri uri2 = Uri.parse("content://" + sAuthority + "/" + sPath2); 39 private Uri uri3 = Uri.parse("content://" + sAuthority + "/" + sPath3); 40 private Uri uri4 = Uri.parse("content://" + sAuthority + "/" + sPath4); 63 //test unknown uri [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/ |
TouristAttractions.java | 19 import android.net.Uri; 60 Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600-no/IMG_0049.JPG"), 61 Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600-no/DSC_2775.JPG"), 70 Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600-no/DSC04114.JPG"), 71 Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600-no/DSC_2739.JPG"), 80 Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600-no/68001.jpg"), 81 Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600-no/IMG_20140201_082851.jpg"), 90 Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600-no/IMG_20141124_143747.jpg"), 91 Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600-no/IMG_20141124_144008.jpg"), 100 Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500-no/ (…) [all...] |
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/ |
TouristAttractions.java | 19 import android.net.Uri; 60 Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600-no/IMG_0049.JPG"), 61 Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600-no/DSC_2775.JPG"), 70 Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600-no/DSC04114.JPG"), 71 Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600-no/DSC_2739.JPG"), 80 Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600-no/68001.jpg"), 81 Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600-no/IMG_20140201_082851.jpg"), 90 Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600-no/IMG_20141124_143747.jpg"), 91 Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600-no/IMG_20141124_144008.jpg"), 100 Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500-no/ (…) [all...] |
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/ |
TouristAttractions.java | 19 import android.net.Uri; 60 Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600-no/IMG_0049.JPG"), 61 Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600-no/DSC_2775.JPG"), 70 Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600-no/DSC04114.JPG"), 71 Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600-no/DSC_2739.JPG"), 80 Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600-no/68001.jpg"), 81 Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600-no/IMG_20140201_082851.jpg"), 90 Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600-no/IMG_20141124_143747.jpg"), 91 Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600-no/IMG_20141124_144008.jpg"), 100 Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500-no/ (…) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DumpFileProvider.java | 23 import android.net.Uri; 33 * We send content: URI to sender apps (such as gmail). This provider implement the URI. 37 public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY); 45 public Uri insert(Uri uri, ContentValues values) { 51 public int delete(Uri uri, String selection, String[] selectionArgs) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemPhotosTest.java | 22 import android.net.Uri; 31 private Uri mStreamItemUri; 53 Uri insertUri = Uri.withAppendedPath( 56 Uri uri = mResolver.insert(insertUri, values); local 57 long photoId = ContentUris.parseId(uri); 59 assertEquals(Uri.withAppendedPath(insertUri, Long.toString(photoId)), uri); local 69 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values) local 73 Long.toString(photoId)), uri); local [all...] |
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/ |
AssetProvider.java | 25 import android.net.Uri; 60 public String getType(Uri uri){ 61 // Returns the MIME type for the selected URI, in conformance with the ContentProvider 62 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME 66 String path = uri.getPath(); 74 return guessContentTypeFromName(uri.toString()); 79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) 81 // ContentProvider interface for opening a file descriptor by URI. This content provide [all...] |
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/ |
AssetProvider.java | 25 import android.net.Uri; 60 public String getType(Uri uri){ 61 // Returns the MIME type for the selected URI, in conformance with the ContentProvider 62 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME 66 String path = uri.getPath(); 74 return guessContentTypeFromName(uri.toString()); 79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) 81 // ContentProvider interface for opening a file descriptor by URI. This content provide [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
PhotosListActivity.java | 20 import android.net.Uri; 37 "content://xmldocument/?url=" + Uri.encode(PICASA_FEED_URL)));
|
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/ |
AssetProvider.java | 25 import android.net.Uri; 60 public String getType(Uri uri){ 61 // Returns the MIME type for the selected URI, in conformance with the ContentProvider 62 // interface. Looks up the file indicated by /res/assets/{uri.path}, and returns the MIME 66 String path = uri.getPath(); 74 return guessContentTypeFromName(uri.toString()); 79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) 81 // ContentProvider interface for opening a file descriptor by URI. This content provide [all...] |
/frameworks/base/core/java/android/database/ |
ContentObserver.java | 19 import android.net.Uri; 100 * Includes the changed content Uri when available. 104 * did not provide a Uri argument, applications should also implement 106 * implement the {@link #onChange(boolean, Uri)} overload. 111 * // the onChange(boolean, Uri) method to ensure correct operation on older versions 112 * // of the framework that did not have the onChange(boolean, Uri) method. 118 * // Implement the onChange(boolean, Uri) method to take advantage of the new Uri argument. 120 * public void onChange(boolean selfChange, Uri uri) { [all...] |
/frameworks/base/media/java/android/media/tv/ |
ITvInputSessionCallback.aidl | 20 import android.net.Uri; 32 void onChannelRetuned(in Uri channelUri); 45 void onTuned(in Uri channelUri); 46 void onRecordingStopped(in Uri recordedProgramUri);
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/mock/ |
SimpleMockContentProvider.java | 21 import android.net.Uri; 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
ImageProcessorListener.java | 19 import android.net.Uri; 59 * Called when image has been written to disk and ready for further processing via uri. 62 * @param uri Uri that serves as handle to image written to disk 64 public void onResultUri(TaskImageContainer.TaskInfo task, Uri uri);
|
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
RefocusHelper.java | 20 import android.net.Uri; 35 public static boolean isRGBZ(Context context, Uri contentUri) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
DirectorySdkCompat.java | 19 import android.net.Uri; 26 public static final Uri ENTERPRISE_CONTENT_URI = Directory.ENTERPRISE_CONTENT_URI;
|
TelephonyManagerSdkCompat.java | 19 import android.net.Uri; 27 public static Uri getVoicemailRingtoneUri(TelephonyManager telephonyManager,
|
/packages/apps/Dialer/src-N/com/android/dialer/compat/ |
BlockedNumbersSdkCompat.java | 20 import android.net.Uri; 26 public static final Uri CONTENT_URI = BlockedNumbers.CONTENT_URI;
|