Lines Matching refs:contentUri
126 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl,
133 Uri contentUri, Bundle configOverrides, PendingIntent downloadedIntent)
150 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId,
186 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri)
332 public void sendMessage(int subId, String callingPkg, Uri contentUri,
341 contentUri = adjustUriForUserAndGrantPermission(contentUri,
344 getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl,
350 Uri contentUri, Bundle configOverrides,
359 contentUri = adjustUriForUserAndGrantPermission(contentUri,
363 getServiceGuarded().downloadMessage(subId, callingPkg, locationUrl, contentUri,
387 public Uri importMultimediaMessage(String callingPkg, Uri contentUri,
397 callingPkg, contentUri, messageId, timestampSecs, seen, read);
455 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri)
463 return getServiceGuarded().addMultimediaMessageDraft(callingPkg, contentUri);
493 * Grants the phone package on primary user permission to access the contentUri,
496 * @param contentUri The Uri to adjust
501 private Uri adjustUriForUserAndGrantPermission(Uri contentUri, String action,
504 grantIntent.setData(contentUri);
510 contentUri = ContentProvider.maybeAddUserId(contentUri, callingUserId);
533 return contentUri;