/frameworks/base/core/java/android/content/ |
D | ContentUris.java | 87 public static long parseId(@NonNull Uri contentUri) { in parseId() argument 88 String last = contentUri.getLastPathSegment(); in parseId() 112 public static @NonNull Uri withAppendedId(@NonNull Uri contentUri, long id) { in withAppendedId() argument 113 return appendId(contentUri.buildUpon(), id).build(); in withAppendedId() 124 public static @NonNull Uri removeId(@NonNull Uri contentUri) { in removeId() argument 126 final String last = contentUri.getLastPathSegment(); in removeId() 133 final List<String> segments = contentUri.getPathSegments(); in removeId() 134 final Uri.Builder builder = contentUri.buildUpon(); in removeId()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 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, in sendMessage() argument 342 contentUri = adjustUriForUserAndGrantPermission(contentUri, in sendMessage() 345 getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl, in sendMessage() 351 Uri contentUri, Bundle configOverrides, in downloadMessage() argument 361 contentUri = adjustUriForUserAndGrantPermission(contentUri, in downloadMessage() 365 getServiceGuarded().downloadMessage(subId, callingPkg, locationUrl, contentUri, in downloadMessage() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputContentInfo.java | 74 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description) { in InputContentInfo() argument 75 this(contentUri, description, null /* link Uri */); in InputContentInfo() 91 public InputContentInfo(@NonNull Uri contentUri, @NonNull ClipDescription description, in InputContentInfo() argument 93 validateInternal(contentUri, description, linkUri, true /* throwException */); in InputContentInfo() 94 mContentUri = contentUri; in InputContentInfo() 124 private static boolean validateInternal(@NonNull Uri contentUri, in validateInternal() argument 126 if (contentUri == null) { in validateInternal() 138 final String contentUriScheme = contentUri.getScheme(); in validateInternal()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | UriPathPair.java | 39 public UriPathPair(Uri fileUri, Uri contentUri) { in UriPathPair() argument 43 if (contentUri == null || !ContentResolver.SCHEME_CONTENT.equals(contentUri.getScheme())) { in UriPathPair() 48 mContentUri = contentUri; in UriPathPair()
|
D | MbmsDownloadReceiver.java | 360 Uri contentUri = MbmsTempFileProvider.getUriForFile( in generateFreshTempFiles() local 362 context.grantUriPermission(getMiddlewarePackageCached(context), contentUri, in generateFreshTempFiles() local 364 result.add(new UriPathPair(fileUri, contentUri)); in generateFreshTempFiles() 406 Uri contentUri = MbmsTempFileProvider.getUriForFile( in generateUrisForPausedFiles() local 408 context.grantUriPermission(getMiddlewarePackageCached(context), contentUri, in generateUrisForPausedFiles() local 411 result.add(new UriPathPair(fileUri, contentUri)); in generateUrisForPausedFiles()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IMms.aidl | 41 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/ |
D | VCardComposer.java | 288 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/base/services/core/java/com/android/server/inputmethod/ |
D | InputContentUriTokenHandler.java | 50 InputContentUriTokenHandler(@NonNull Uri contentUri, int sourceUid, in InputContentUriTokenHandler() argument 53 mUri = contentUri; in InputContentUriTokenHandler()
|
D | InputMethodManagerService.java | 4480 @Nullable Uri contentUri, @Nullable String packageName) { in createInputContentUriToken() argument 4487 if (contentUri == null) { in createInputContentUriToken() 4490 final String contentUriScheme = contentUri.getScheme(); in createInputContentUriToken() 4518 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken() 4520 final Uri contentUriWithoutUserId = ContentProvider.getUriWithoutUserId(contentUri); in createInputContentUriToken() 5180 public IInputContentUriToken createInputContentUriToken(Uri contentUri, in createInputContentUriToken() argument 5182 return mImms.createInputContentUriToken(mToken, contentUri, packageName); in createInputContentUriToken()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 566 private void restoreSettings(BackupDataInput data, Uri contentUri, in restoreSettings() argument 575 restoreSettings(settings, settings.length, contentUri, movedToGlobal); in restoreSettings() 578 private void restoreSettings(byte[] settings, int bytes, Uri contentUri, in restoreSettings() argument 581 Log.i(TAG, "restoreSettings: " + contentUri); in restoreSettings() 588 if (contentUri.equals(Settings.Secure.CONTENT_URI)) { in restoreSettings() 592 } else if (contentUri.equals(Settings.System.CONTENT_URI)) { in restoreSettings() 596 } else if (contentUri.equals(Settings.Global.CONTENT_URI)) { in restoreSettings() 601 throw new IllegalArgumentException("Unknown URI: " + contentUri); in restoreSettings() 656 : contentUri; in restoreSettings()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 2171 public void sendMultimediaMessage(Context context, Uri contentUri, String locationUrl, in sendMultimediaMessage() argument 2173 if (contentUri == null) { in sendMultimediaMessage() 2182 iMms.sendMessage(getSubscriptionId(), ActivityThread.currentPackageName(), contentUri, in sendMultimediaMessage() local 2211 public void downloadMultimediaMessage(Context context, String locationUrl, Uri contentUri, in downloadMultimediaMessage() argument 2216 if (contentUri == null) { in downloadMultimediaMessage() 2225 locationUrl, contentUri, configOverrides, downloadedIntent); in downloadMultimediaMessage() local 2294 public Uri importMultimediaMessage(Uri contentUri, String messageId, long timestampSecs, in importMultimediaMessage() argument 2296 if (contentUri == null) { in importMultimediaMessage() 2303 contentUri, messageId, timestampSecs, seen, read); in importMultimediaMessage() 2442 public Uri addMultimediaMessageDraft(Uri contentUri) { in addMultimediaMessageDraft() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsFileTransferCreationParams.java | 181 public Builder setContentUri(Uri contentUri) { in setContentUri() argument 182 mContentUri = contentUri; in setContentUri()
|
D | RcsFileTransferPart.java | 163 public void setContentUri(Uri contentUri) throws RcsMessageStoreException { in setContentUri() argument 165 (iRcs, callingPackage) -> iRcs.setFileTransferContentUri(mId, contentUri, in setContentUri()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodPrivilegedOperations.java | 148 public IInputContentUriToken createInputContentUriToken(Uri contentUri, String packageName) { in createInputContentUriToken() argument 154 return ops.createInputContentUriToken(contentUri, packageName); in createInputContentUriToken()
|
D | IInputMethodPrivilegedOperations.aidl | 32 IInputContentUriToken createInputContentUriToken(in Uri contentUri, in String packageName); in createInputContentUriToken() argument
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 265 Uri contentUri = in getPartnerConfigBundle() local 272 contentUri, in getPartnerConfigBundle()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SearchRecentSuggestionsProviderTest.java | 388 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/ |
D | CarrierMessagingService.java | 307 public void onDownloadMms(@NonNull Uri contentUri, int subId, @NonNull Uri location, in onDownloadMms() argument
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | IRcs.aidl | 214 void setFileTransferContentUri(int partId, in Uri contentUri, String callingPackage); in setFileTransferContentUri() argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 3017 final Uri contentUri = inputContentInfo.getContentUri(); in exposeContentInternal() local 3019 mPrivOps.createInputContentUriToken(contentUri, editorInfo.packageName); in exposeContentInternal() 3021 Log.e(TAG, "createInputContentAccessToken failed. contentUri=" + contentUri.toString() in exposeContentInternal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsMessageStoreController.java | 829 public void setFileTransferContentUri(int partId, Uri contentUri, String callingPackage) { 832 contentUri, "Could not set content URI for file transfer"));
|