Searched refs:documentUri (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | DocumentImagePicker.java | 105 private void prepareDocumentForAttachment(final Uri documentUri) { in prepareDocumentForAttachment() argument 112 if (FileUtil.isInPrivateDir(documentUri)) { in prepareDocumentForAttachment() 116 + documentUri + ")"); in prepareDocumentForAttachment() 121 Factory.get().getApplicationContext().getContentResolver(), documentUri); in prepareDocumentForAttachment() 132 documentUri); in prepareDocumentForAttachment()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 144 public void writeDocument(Uri documentUri, byte[] contents) in writeDocument() argument 146 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null); in writeDocument() 153 public void writeAppendDocument(Uri documentUri, byte[] contents, int length) in writeAppendDocument() argument 155 ParcelFileDescriptor file = mClient.openFile(documentUri, "wa", null); in writeAppendDocument() 166 public byte[] readDocument(Uri documentUri) throws RemoteException, IOException { in readDocument() argument 167 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null); in readDocument() 302 public void assertFileContents(Uri documentUri, byte[] expected) throws Exception { in assertFileContents() argument 305 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/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4243 final Uri documentUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in call() local 4244 getContext().enforceCallingUriPermission(documentUri, in call()
|