Home
last modified time | relevance | path

Searched refs:contentUri (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java125 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, in sendMessage() argument
340 contentUri = adjustUriForUserAndGrantPermission(contentUri, in sendMessage()
343 getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl, in sendMessage()
349 Uri contentUri, Bundle configOverrides, in downloadMessage() argument
358 contentUri = adjustUriForUserAndGrantPermission(contentUri, in downloadMessage()
362 getServiceGuarded().downloadMessage(subId, callingPkg, locationUrl, contentUri, in downloadMessage()
[all …]
/frameworks/base/core/java/android/content/
DContentUris.java84 public static long parseId(Uri contentUri) { in parseId() argument
85 String last = contentUri.getLastPathSegment(); in parseId()
109 public static Uri withAppendedId(Uri contentUri, long id) { in withAppendedId() argument
110 return appendId(contentUri.buildUpon(), id).build(); in withAppendedId()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIMms.aidl41 void sendMessage(int subId, String callingPkg, in Uri contentUri, in sendMessage() argument
59 in Uri contentUri, in Bundle configOverrides, in downloadMessage() argument
95 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument
155 Uri addMultimediaMessageDraft(String callingPkg, in Uri contentUri); in addMultimediaMessageDraft() argument
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java288 public boolean init(final Uri contentUri, final String selection, in init() argument
290 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null); in init()
306 public boolean init(final Uri contentUri, final String selection, in init() argument
309 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, in init()
350 public boolean init(final Uri contentUri, final String[] projection, in init() argument
353 if (!ContactsContract.AUTHORITY.equals(contentUri.getAuthority())) { in init()
354 if (DEBUG) Log.d(LOG_TAG, "Unexpected contentUri: " + contentUri); in init()
362 if (!initInterCursorCreationPart(contentUri, projection, selection, selectionArgs, in init()
413 final Uri contentUri, final String[] projection, in initInterCursorCreationPart() argument
417 contentUri, projection, selection, selectionArgs, sortOrder); in initInterCursorCreationPart()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java1121 public void sendMultimediaMessage(Context context, Uri contentUri, String locationUrl, in sendMultimediaMessage() argument
1123 if (contentUri == null) { in sendMultimediaMessage()
1132 iMms.sendMessage(getSubscriptionId(), ActivityThread.currentPackageName(), contentUri, in sendMultimediaMessage() local
1152 public void downloadMultimediaMessage(Context context, String locationUrl, Uri contentUri, in downloadMultimediaMessage() argument
1157 if (contentUri == null) { in downloadMultimediaMessage()
1167 contentUri, configOverrides, downloadedIntent); in downloadMultimediaMessage() local
1236 public Uri importMultimediaMessage(Uri contentUri, String messageId, long timestampSecs, in importMultimediaMessage() argument
1238 if (contentUri == null) { in importMultimediaMessage()
1245 contentUri, messageId, timestampSecs, seen, read); in importMultimediaMessage()
1384 public Uri addMultimediaMessageDraft(Uri contentUri) { in addMultimediaMessageDraft() argument
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRemotePlaybackClient.java287 public void play(Uri contentUri, String mimeType, Bundle metadata, in play() argument
289 playOrEnqueue(contentUri, mimeType, metadata, positionMillis, in play()
322 public void enqueue(Uri contentUri, String mimeType, Bundle metadata, in enqueue() argument
324 playOrEnqueue(contentUri, mimeType, metadata, positionMillis, in enqueue()
328 private void playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, in playOrEnqueue() argument
331 if (contentUri == null) { in playOrEnqueue()
340 intent.setDataAndType(contentUri, mimeType); in playOrEnqueue()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java922 private void restoreSettings(BackupDataInput data, Uri contentUri, in restoreSettings() argument
931 restoreSettings(settings, settings.length, contentUri, movedToGlobal); in restoreSettings()
934 private void restoreSettings(byte[] settings, int bytes, Uri contentUri, in restoreSettings() argument
937 Log.i(TAG, "restoreSettings: " + contentUri); in restoreSettings()
942 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings()
944 } else if (contentUri.equals(Settings.System.CONTENT_URI)) { in restoreSettings()
946 } else if (contentUri.equals(Settings.Global.CONTENT_URI)) { in restoreSettings()
949 throw new IllegalArgumentException("Unknown URI: " + contentUri); in restoreSettings()
989 : contentUri; in restoreSettings()
/frameworks/base/core/tests/coretests/src/android/provider/
DSearchRecentSuggestionsProviderTest.java388 Uri contentUri = Uri.parse(uriStr); in getQueryCursor() local
392 Cursor c = cr.query(contentUri, null, null, selArgs, null); in getQueryCursor()
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java307 public void onDownloadMms(@NonNull Uri contentUri, int subId, @NonNull Uri location, in onDownloadMms() argument
/frameworks/base/docs/html/training/camera/
Dphotobasics.jd307 Uri contentUri = Uri.fromFile(f);
308 mediaScanIntent.setData(contentUri);
/frameworks/base/docs/html/training/contacts-provider/
Dretrieve-names.jd798 Uri contentUri = Uri.withAppendedPath(
804 contentUri,
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd738 Uri contentUri = ContentUris.withAppendedId(
743 mMediaPlayer.setDataSource(getApplicationContext(), contentUri);