Home
last modified time | relevance | path

Searched refs:documentId (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/provider/
DDocumentsProvider.java185 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
239 public String renameDocument(String documentId, String displayName) in renameDocument() argument
256 public void deleteDocument(String documentId) throws FileNotFoundException { in deleteDocument() argument
307 public abstract Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
403 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() argument
404 final Cursor cursor = queryDocument(documentId, null); in getDocumentType()
439 String documentId, String mode, CancellationSignal signal) throws FileNotFoundException; in openDocument() argument
460 String documentId, Point sizeHint, CancellationSignal signal) in openDocumentThumbnail() argument
629 final String documentId = DocumentsContract.getDocumentId(documentUri); in call() local
644 final String newDocumentId = createDocument(documentId, mimeType, displayName); in call()
[all …]
DDocumentsContract.java569 public static Uri buildTreeDocumentUri(String authority, String documentId) { in buildTreeDocumentUri() argument
571 .appendPath(PATH_TREE).appendPath(documentId).build(); in buildTreeDocumentUri()
582 public static Uri buildDocumentUri(String authority, String documentId) { in buildDocumentUri() argument
584 .authority(authority).appendPath(PATH_DOCUMENT).appendPath(documentId).build(); in buildDocumentUri()
610 public static Uri buildDocumentUriUsingTree(Uri treeUri, String documentId) { in buildDocumentUriUsingTree() argument
614 .appendPath(documentId).build(); in buildDocumentUriUsingTree()
618 public static Uri buildDocumentUriMaybeUsingTree(Uri baseUri, String documentId) { in buildDocumentUriMaybeUsingTree() argument
620 return buildDocumentUriUsingTree(baseUri, documentId); in buildDocumentUriMaybeUsingTree()
622 return buildDocumentUri(baseUri.getAuthority(), documentId); in buildDocumentUriMaybeUsingTree()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentInfo.java57 public String documentId; field in DocumentInfo
76 documentId = null; in reset()
96 documentId = DurableUtils.readNullableString(in); in read()
115 DurableUtils.writeNullableString(out, documentId); in write()
162 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor()
164 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor()
210 derivedUri = DocumentsContract.buildDocumentUri(authority, documentId); in deriveFields()
215 return "Document{docId=" + documentId + ", name=" + displayName + "}"; in toString()
DRootInfo.java53 public String documentId; field in RootInfo
74 documentId = null; in reset()
94 documentId = DurableUtils.readNullableString(in); in read()
113 DurableUtils.writeNullableString(out, documentId); in write()
150 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor()
DDocumentStack.java88 builder.append(doc.documentId).append('#'); in buildKey()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java103 public static Uri buildState(String authority, String rootId, String documentId) { in buildState() argument
105 .appendPath("state").appendPath(authority).appendPath(rootId).appendPath(documentId) in buildState()
183 final String documentId = uri.getPathSegments().get(3); in query() local
186 new String[] { authority, rootId, documentId }, null, null, sortOrder); in query()
215 final String documentId = uri.getPathSegments().get(3); in insert() local
219 key.put(StateColumns.DOCUMENT_ID, documentId); in insert()
225 new String[] { authority, rootId, documentId }); in insert()
DDirectoryLoader.java109 mRoot.authority, mRoot.documentId); in loadInBackground()
123 mRoot.authority, mRoot.rootId, mDoc.documentId); in loadInBackground()
DDirectoryFragment.java177 builder.append(doc != null ? doc.documentId : "null"); in buildStateKey()
270 doc.authority, doc.documentId); in onActivityCreated()
373 root.authority, root.rootId, doc.documentId); in onUserModeChanged()
DDocumentsActivity.java940 mRoot.authority, mRoot.documentId); in doInBackground()
1044 pickTarget.documentId); in onPickRequested()
/frameworks/support/v4/api21/android/support/v4/provider/
DDocumentsContractApi21.java57 final String documentId = c.getString(0); in listFiles() local
59 documentId); in listFiles()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java439 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
442 includeFile(result, documentId, null); in queryDocument()
486 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() argument
487 final File file = getFileForDocId(documentId); in getDocumentType()
493 String documentId, String mode, CancellationSignal signal) in openDocument() argument
495 final File file = getFileForDocId(documentId); in openDocument()
519 String documentId, Point sizeHint, CancellationSignal signal)
521 final File file = getFileForDocId(documentId);
DTestDocumentsProvider.java145 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
151 includeFile(result, documentId, 0); in queryDocument()
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd824 public Cursor queryDocument(String documentId, String[] projection) throws
830 includeFile(result, documentId, null);
846 public ParcelFileDescriptor openDocument(final String documentId,
856 final File file = getFileForDocId(documentId);
871 documentId + " has been closed!
879 + documentId + " and mode " + mode);