Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentUris.java87 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/
DMmsServiceBroker.java131 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/
DInputContentInfo.java74 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/
DUriPathPair.java39 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()
DMbmsDownloadReceiver.java360 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/
DMmsManager.java62 public void sendMultimediaMessage(int subId, @NonNull Uri contentUri, in sendMultimediaMessage() argument
71 iMms.sendMessage(subId, ActivityThread.currentPackageName(), contentUri, in sendMultimediaMessage()
95 @NonNull Uri contentUri, @Nullable Bundle configOverrides, in downloadMultimediaMessage() argument
103 locationUrl, contentUri, configOverrides, downloadedIntent, in downloadMultimediaMessage()
/frameworks/base/mms/java/com/android/internal/telephony/
DIMms.aidl42 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/
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/base/services/core/java/com/android/server/inputmethod/
DInputContentUriTokenHandler.java50 InputContentUriTokenHandler(@NonNull Uri contentUri, int sourceUid, in InputContentUriTokenHandler() argument
53 mUri = contentUri; in InputContentUriTokenHandler()
DInputMethodManagerService.java5136 @Nullable Uri contentUri, @Nullable String packageName) { in createInputContentUriToken() argument
5143 if (contentUri == null) { in createInputContentUriToken()
5146 final String contentUriScheme = contentUri.getScheme(); in createInputContentUriToken()
5174 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken()
5176 final Uri contentUriWithoutUserId = ContentProvider.getUriWithoutUserId(contentUri); in createInputContentUriToken()
5818 public IInputContentUriToken createInputContentUriToken(Uri contentUri, in createInputContentUriToken() argument
5820 return mImms.createInputContentUriToken(mToken, contentUri, packageName); in createInputContentUriToken()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java698 Uri contentUri, in restoreSettings() argument
714 contentUri, in restoreSettings()
725 Uri contentUri, in restoreSettings() argument
735 contentUri, in restoreSettings()
748 Uri contentUri, in restoreSettings() argument
755 Log.i(TAG, "restoreSettings: " + contentUri); in restoreSettings()
758 SettingsBackupWhitelist whitelist = getBackupWhitelist(contentUri); in restoreSettings()
770 if (isBlockedBySystem || isBlockedByDynamicList(dynamicBlockList, contentUri, key)) { in restoreSettings()
781 if (settingsToPreserve.contains(getQualifiedKeyForSetting(key, contentUri))) { in restoreSettings()
832 destination = contentUri; in restoreSettings()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DIInputMethodPrivilegedOperations.aidl32 IInputContentUriToken createInputContentUriToken(in Uri contentUri, in String packageName); in createInputContentUriToken() argument
DInputMethodPrivilegedOperations.java149 public IInputContentUriToken createInputContentUriToken(Uri contentUri, String packageName) { in createInputContentUriToken() argument
155 return ops.createInputContentUriToken(contentUri, packageName); in createInputContentUriToken()
/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/telephony/java/android/telephony/
DSmsManager.java2524 public void sendMultimediaMessage(Context context, Uri contentUri, String locationUrl, in sendMultimediaMessage() argument
2526 if (contentUri == null) { in sendMultimediaMessage()
2531 m.sendMultimediaMessage(getSubscriptionId(), contentUri, locationUrl, configOverrides, in sendMultimediaMessage() local
2558 public void downloadMultimediaMessage(Context context, String locationUrl, Uri contentUri, in downloadMultimediaMessage() argument
2563 if (contentUri == null) { in downloadMultimediaMessage()
2568 m.downloadMultimediaMessage(getSubscriptionId(), locationUrl, contentUri, in downloadMultimediaMessage() local
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java316 Uri contentUri = in getPartnerConfigBundle() local
323 contentUri, in getPartnerConfigBundle()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java309 SettingsBackupWhitelist getBackupWhitelist(Uri contentUri) { in getBackupWhitelist() argument
311 return super.getBackupWhitelist(contentUri); in getBackupWhitelist()
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java670 Uri contentUri = inputContentInfoCompat.getContentUri(); in onCreateInputConnection()
678 mimeType, contentUri); in onCreateInputConnection()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java3258 final Uri contentUri = inputContentInfo.getContentUri(); in exposeContentInternal() local
3260 mPrivOps.createInputContentUriToken(contentUri, editorInfo.packageName); in exposeContentInternal()
3262 Log.e(TAG, "createInputContentAccessToken failed. contentUri=" + contentUri.toString() in exposeContentInternal()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...