/frameworks/base/core/java/android/content/ |
ContentUris.java | 84 public static long parseId(Uri contentUri) { 85 String last = contentUri.getLastPathSegment(); 104 * @param contentUri to start with 109 public static Uri withAppendedId(Uri contentUri, long id) { 110 return appendId(contentUri.buildUpon(), id).build();
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentUris.java | 13 public static Uri withAppendedId(Uri contentUri, long id) { 14 return Uri.withAppendedPath(contentUri, String.valueOf(id)); 18 public static long parseId(Uri contentUri) { 19 if (!contentUri.isHierarchical()) { 22 String path = contentUri.getLastPathSegment();
|
/packages/apps/Camera2/src/com/android/camera/data/ |
RgbzMetadataLoader.java | 35 final Context context, Uri contentUri, Metadata metadata) { 36 if (RefocusHelper.isRGBZ(context, contentUri)) {
|
DataUtils.java | 29 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { 33 Cursor cursor = contentResolver.query(contentUri, proj, null, null, null);
|
PanoramaMetadataLoader.java | 32 public static boolean loadPanoramaMetadata(final Context context, Uri contentUri, 35 PhotoSphereHelper.getPanoramaMetadata(context, contentUri);
|
FilmstripContentQueries.java | 54 * @param contentUri to resolve an item at 62 Uri contentUri, String[] projection, long minimumId, String orderBy, 67 Cursor cursor = contentResolver.query(contentUri, projection,
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
MediaPickerMessagePartData.java | 26 final Uri contentUri, final int width, final int height) { 27 this(startRect, null /* messageText */, contentType, contentUri, width, height); 31 final String contentType, final Uri contentUri, final int width, final int height) { 32 this(startRect, messageText, contentType, contentUri, width, height, 37 final Uri contentUri, final int width, final int height, 39 this(startRect, null /* messageText */, contentType, contentUri, width, height, 44 final String contentType, final Uri contentUri, final int width, final int height, 46 super(messageText, contentType, contentUri, width, height, onlySingleAttachment);
|
MessagePartData.java | 120 protected MessagePartData(final String contentType, final Uri contentUri, 122 this(null, null, contentType, contentUri, width, height, false /*singlePartOnly*/); 129 final Uri contentUri, final int width, final int height) { 130 this(null, messageText, contentType, contentUri, width, height, false /*singlePartOnly*/); 137 final Uri contentUri, final int width, final int height, final boolean singlePartOnly) { 138 this(null, messageText, contentType, contentUri, width, height, singlePartOnly); 145 final String contentType, final Uri contentUri, final int width, final int height, 150 mContentUri = contentUri; 167 final Uri contentUri, final int width, final int height) { 168 return new MessagePartData(contentType, contentUri, width, height) [all...] |
/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/ |
LightCycleHelper.java | 45 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { 52 public static long getModifiedTimeFromURI(ContentResolver contentResolver, Uri contentUri) {
|
/frameworks/support/v13/java/android/support/v13/view/inputmethod/ |
InputContentInfoCompat.java | 54 public BaseInputContentInfoCompatImpl(@NonNull Uri contentUri, 56 mContentUri = contentUri; 105 public Api25InputContentInfoCompatImpl(@NonNull Uri contentUri, 107 mObject = InputContentInfoCompatApi25.create(contentUri, description, linkUri); 147 public InputContentInfoCompat(@NonNull Uri contentUri, 150 mImpl = new Api25InputContentInfoCompatImpl(contentUri, description, linkUri); 152 mImpl = new BaseInputContentInfoCompatImpl(contentUri, description, linkUri);
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputContentInfo.java | 48 * @param contentUri Content URI to be exported from the input method. 51 * {@code contentUri} such as MIME type(s). This object cannot be {@code null}. Also 53 * {@code contentUri} for accessibility reasons. 55 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description) { 56 this(contentUri, description, null /* link Uri */); 62 * @param contentUri Content URI to be exported from the input method. 65 * {@code contentUri} such as MIME type(s). This object cannot be {@code null}. Also 67 * {@code contentUri} for accessibility reasons. 72 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description, 74 validateInternal(contentUri, description, linkUri, true /* throwException */) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IMms.aidl | 33 * @param contentUri the content uri from which to read MMS message encoded in standard MMS 41 void sendMessage(int subId, String callingPkg, in Uri contentUri, 51 * @param contentUri a contentUri to which the downloaded MMS message will be written 59 in Uri contentUri, in Bundle configOverrides, 88 * @param contentUri the content uri from which to read PDU of the message to import 95 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, 152 * @param contentUri the content Uri from which to read PDU data of the draft MMS 155 Uri addMultimediaMessageDraft(String callingPkg, in Uri contentUri);
|
/frameworks/support/v13/api25/android/support/v13/view/inputmethod/ |
InputContentInfoCompatApi25.java | 26 public static Object create(Uri contentUri, ClipDescription description, Uri linkUri) { 27 return new InputContentInfo(contentUri, description, linkUri);
|
/frameworks/base/services/core/java/com/android/server/ |
MmsServiceBroker.java | 125 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl, 132 Uri contentUri, Bundle configOverrides, PendingIntent downloadedIntent) 149 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, 185 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri) 331 public void sendMessage(int subId, String callingPkg, Uri contentUri, 340 contentUri = adjustUriForUserAndGrantPermission(contentUri, 343 getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl, 349 Uri contentUri, Bundle configOverrides, 358 contentUri = adjustUriForUserAndGrantPermission(contentUri [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
RefocusHelper.java | 35 public static boolean isRGBZ(Context context, Uri contentUri) {
|
PhotoSphereHelper.java | 102 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { 109 public static long getModifiedTimeFromURI(ContentResolver contentResolver, Uri contentUri) {
|
/cts/tests/tests/content/src/android/content/cts/ |
SearchRecentSuggestionsProviderTest.java | 57 final Uri contentUri = Uri.parse(uriStr); 60 Cursor c = s.query(contentUri, null, null, selArgs, null); 64 c = s.query(contentUri, null, null, selArgs, null); 68 c = s.query(contentUri, null, null, selArgs, null); 72 c = s.query(contentUri, null, null, selArgs, null);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
MimeType.java | 59 public static boolean isViewable(Context context, Uri contentUri, String contentType) { 66 LogUtils.d(LOG_TAG, "Attachment with null content type. '%s", contentUri); 74 if (contentUri != null) { 75 Utils.setIntentDataAndTypeAndNormalize(mimetypeIntent, contentUri, contentType); 97 contentType, contentUri, mimetypeIntent.getType(), mimetypeIntent.getData());
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentsView.java | 213 * @param contentUri 217 public Attachment generateLocalAttachment(Uri contentUri) throws AttachmentFailureException { 218 if (contentUri == null || TextUtils.isEmpty(contentUri.getPath())) { 224 String contentType = contentResolver.getType(contentUri); 232 attachment.contentUri = contentUri; 233 attachment.thumbnailUri = contentUri; 238 contentUri, new String[]{OpenableColumns.DISPLAY_NAME, OpenableColumns.SIZE}, 259 metadataCursor = getOptionalColumn(contentResolver, contentUri, [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsManager.java | 132 * @param contentUri the content URI of the PDU to be sent 136 public static void sendMultimediaMessage(int subId, Context context, Uri contentUri, 141 smsManager.sendMultimediaMessage(context, contentUri, locationUrl, 144 MmsService.startRequest(context, new SendRequest(locationUrl, contentUri, sentIntent)); 154 * @param contentUri the content URI of the PDU to be sent 159 Uri contentUri, PendingIntent downloadedIntent) { 163 smsManager.downloadMultimediaMessage(context, locationUrl, contentUri, 167 new DownloadRequest(locationUrl, contentUri, downloadedIntent));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ShareVCardActivity.java | 58 final Uri contentUri = FileProvider.getUriForFile(this, 60 if (DEBUG) Log.d(LOG_TAG, "exporting to " + contentUri); 62 final ExportRequest request = new ExportRequest(contentUri);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferHistory.java | 183 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); 184 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); 253 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); 254 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); 285 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + sessionId); 286 BluetoothOppTransferInfo transInfo = BluetoothOppUtility.queryRecord(this, contentUri); 294 BluetoothOppUtility.updateVisibilityToHidden(this, contentUri); 296 transInfo.mTimeStamp, contentUri); 300 in.setDataAndNormalize(contentUri);
|
Constants.java | 287 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + id); 290 context.getContentResolver().update(contentUri, updateValues, null, null); 291 Constants.sendIntentIfCompleted(context, contentUri, status); 298 public static void sendIntentIfCompleted(Context context, Uri contentUri, int status) { 302 intent.setDataAndNormalize(contentUri);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
DirectoryPartition.java | 138 public void setContentUri(String contentUri) { 139 mContentUri = contentUri;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
MessagePartImageRequestDescriptor.java | 42 protected MessagePartImageRequestDescriptor(final String messagePartId, final Uri contentUri, 45 super(contentUri, desiredWidth, desiredHeight, sourceWidth, sourceHeight,
|