/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()
|
D | ContentProvider.java | 2645 @NonNull Uri contentUri, @NonNull UserHandle userHandle) { in createContentUriForUser() 2646 if (!ContentResolver.SCHEME_CONTENT.equals(contentUri.getScheme())) { in createContentUriForUser() 2648 "Given URI [%s] is not a content URI: ", contentUri)); in createContentUriForUser() 2652 if (uriHasUserId(contentUri)) { in createContentUriForUser() 2653 if (String.valueOf(userId).equals(contentUri.getUserInfo())) { in createContentUriForUser() 2654 return contentUri; in createContentUriForUser() 2658 contentUri, in createContentUriForUser() 2662 Uri.Builder builder = contentUri.buildUpon(); in createContentUriForUser() 2664 "" + userHandle.getIdentifier() + "@" + contentUri.getEncodedAuthority()); in createContentUriForUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 131 public void sendMessage(int subId, String callingPkg, Uri contentUri, String locationUrl, 139 Uri contentUri, Bundle configOverrides, PendingIntent downloadedIntent, 152 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId, 188 public Uri addMultimediaMessageDraft(String callingPkg, Uri contentUri) 334 public void sendMessage(int subId, String callingPkg, Uri contentUri, in sendMessage() argument 345 contentUri = adjustUriForUserAndGrantPermission(contentUri, in sendMessage() 349 getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl, in sendMessage() 355 Uri contentUri, Bundle configOverrides, in downloadMessage() argument 365 contentUri = adjustUriForUserAndGrantPermission(contentUri, in downloadMessage() 370 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 | 37 public UriPathPair(Uri fileUri, Uri contentUri) { in UriPathPair() argument 41 if (contentUri == null || !ContentResolver.SCHEME_CONTENT.equals(contentUri.getScheme())) { in UriPathPair() 46 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/mms/java/android/telephony/ |
D | MmsManager.java | 63 public void sendMultimediaMessage(int subId, @NonNull Uri contentUri, in sendMultimediaMessage() argument 72 iMms.sendMessage(subId, ActivityThread.currentPackageName(), contentUri, in sendMultimediaMessage() 96 @NonNull Uri contentUri, @Nullable Bundle configOverrides, in downloadMultimediaMessage() argument 104 locationUrl, contentUri, configOverrides, downloadedIntent, in downloadMultimediaMessage()
|
/frameworks/base/mms/java/com/android/internal/telephony/ |
D | IMms.aidl | 42 void sendMessage(int subId, String callingPkg, in Uri contentUri, in sendMessage() argument 62 in Uri contentUri, in Bundle configOverrides, in downloadMessage() argument 91 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument 151 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 | 5029 @Nullable Uri contentUri, @Nullable String packageName) { in createInputContentUriToken() argument 5036 if (contentUri == null) { in createInputContentUriToken() 5039 final String contentUriScheme = contentUri.getScheme(); in createInputContentUriToken() 5067 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken() 5069 final Uri contentUriWithoutUserId = ContentProvider.getUriWithoutUserId(contentUri); in createInputContentUriToken() 5842 public void createInputContentUriToken(Uri contentUri, String packageName, in createInputContentUriToken() argument 5845 () -> mImms.createInputContentUriToken(mToken, contentUri, packageName)); in createInputContentUriToken()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 712 Uri contentUri, in restoreSettings() argument 728 contentUri, in restoreSettings() 739 Uri contentUri, in restoreSettings() argument 749 contentUri, in restoreSettings() 762 Uri contentUri, in restoreSettings() argument 769 Log.i(TAG, "restoreSettings: " + contentUri); in restoreSettings() 772 SettingsBackupWhitelist whitelist = getBackupWhitelist(contentUri); in restoreSettings() 784 if (isBlockedBySystem || isBlockedByDynamicList(dynamicBlockList, contentUri, key)) { in restoreSettings() 795 if (settingsToPreserve.contains(getQualifiedKeyForSetting(key, contentUri))) { in restoreSettings() 846 destination = contentUri; in restoreSettings() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 2638 public void sendMultimediaMessage(Context context, Uri contentUri, String locationUrl, in sendMultimediaMessage() argument 2640 sendMultimediaMessage(context, contentUri, locationUrl, configOverrides, sentIntent, in sendMultimediaMessage() 2668 public void sendMultimediaMessage(@NonNull Context context, @NonNull Uri contentUri, in sendMultimediaMessage() argument 2671 if (contentUri == null) { in sendMultimediaMessage() 2679 m.sendMultimediaMessage(subId, contentUri, locationUrl, configOverrides, in sendMultimediaMessage() 2712 public void downloadMultimediaMessage(Context context, String locationUrl, Uri contentUri, in downloadMultimediaMessage() argument 2714 downloadMultimediaMessage(context, locationUrl, contentUri, configOverrides, in downloadMultimediaMessage() 2745 @NonNull Uri contentUri, @Nullable Bundle configOverrides, in downloadMultimediaMessage() argument 2750 if (contentUri == null) { in downloadMultimediaMessage() 2758 m.downloadMultimediaMessage(subId, locationUrl, contentUri, configOverrides, in downloadMultimediaMessage()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | IInputMethodPrivilegedOperations.aidl | 34 void createInputContentUriToken(in Uri contentUri, in String packageName, in createInputContentUriToken() argument
|
D | InputMethodPrivilegedOperations.java | 153 public IInputContentUriToken createInputContentUriToken(Uri contentUri, String packageName) { in createInputContentUriToken() argument 161 ops.createInputContentUriToken(contentUri, packageName, ResultCallbacks.of(value)); in createInputContentUriToken()
|
/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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 316 Uri contentUri = in getPartnerConfigBundle() local 323 contentUri, in getPartnerConfigBundle()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsBackupAgentTest.java | 309 SettingsBackupWhitelist getBackupWhitelist(Uri contentUri) { in getBackupWhitelist() argument 311 return super.getBackupWhitelist(contentUri); in getBackupWhitelist()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageExporter.java | 316 int quality, Uri contentUri) throws ImageExportException { 318 try (OutputStream out = resolver.openOutputStream(contentUri)) {
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierMessagingService.java | 344 public void onDownloadMms(@NonNull Uri contentUri, int subId, @NonNull Uri location, in onDownloadMms() argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 3353 final Uri contentUri = inputContentInfo.getContentUri(); in exposeContentInternal() local 3355 mPrivOps.createInputContentUriToken(contentUri, editorInfo.packageName); in exposeContentInternal() 3357 Log.e(TAG, "createInputContentAccessToken failed. contentUri=" + contentUri.toString() in exposeContentInternal()
|