Searched refs:documentUri (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | DocumentImagePicker.java | 109 private void prepareDocumentForAttachment(final Uri documentUri) { in prepareDocumentForAttachment() argument 116 if (FileUtil.isInPrivateDir(documentUri)) { in prepareDocumentForAttachment() 120 + documentUri + ")"); in prepareDocumentForAttachment() 125 Factory.get().getApplicationContext().getContentResolver(), documentUri); in prepareDocumentForAttachment() 136 documentUri); in prepareDocumentForAttachment()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 148 public void writeDocument(Uri documentUri, byte[] contents) in writeDocument() argument 150 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null); in writeDocument() 157 public void writeAppendDocument(Uri documentUri, byte[] contents, int length) in writeAppendDocument() argument 159 ParcelFileDescriptor file = mClient.openFile(documentUri, "wa", null); in writeAppendDocument() 170 public byte[] readDocument(Uri documentUri) throws RemoteException, IOException { in readDocument() argument 171 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null); in readDocument() 307 public void assertFileContents(Uri documentUri, byte[] expected) throws Exception { in assertFileContents() argument 310 expected, readDocument(documentUri)); in assertFileContents()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 60 Uri documentUri = getIntent().getData(); in onCreate() local 61 if (RawDocumentsHelper.isRawDocId(DocumentsContract.getDocumentId(documentUri))) { in onCreate() 62 if (!RawDocumentsHelper.startViewIntent(this, documentUri)) { in onCreate() 71 DocumentsContract.getDocumentId(documentUri))) { in onCreate() 73 this, documentUri); in onCreate() 82 final long id = ContentUris.parseId(documentUri); in onCreate()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 70 Uri documentUri) { in buildViewIntentForMediaStoreDownload() argument 72 DocumentsContract.getDocumentId(documentUri)); in buildViewIntentForMediaStoreDownload() 82 intent.setDataAndType(documentUri, mimeType); in buildViewIntentForMediaStoreDownload() 125 final Uri documentUri = DocumentsContract.buildDocumentUri( in buildViewIntent() local 129 intent.setDataAndType(documentUri, mimeType); in buildViewIntent()
|
D | RawDocumentsHelper.java | 52 public static boolean startViewIntent(Context context, Uri documentUri) { in startViewIntent() argument 54 intent.setData(documentUri); in startViewIntent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | QuickViewIntentBuilder.java | 255 Uri documentUri = uris.get(documentLocation); in collectViewableUris() local 257 uris.add(documentUri); in collectViewableUris()
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 3909 public static @Nullable Uri getMediaUri(@NonNull Context context, @NonNull Uri documentUri) { in getMediaUri() argument 3915 in.putParcelable(EXTRA_URI, documentUri); in getMediaUri()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4558 final Uri documentUri = extras.getParcelable(MediaStore.EXTRA_URI); 4559 getContext().enforceCallingUriPermission(documentUri,
|