Home
last modified time | relevance | path

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

/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java246 public AssetFileDescriptor openDocumentThumbnail(String documentId, Point sizeHint, in openDocumentThumbnail() argument
251 final File file = getFileForDocId(documentId); in openDocumentThumbnail()
260 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
266 includeFile(result, documentId, null); in queryDocument()
292 public ParcelFileDescriptor openDocument(final String documentId, final String mode, in openDocument() argument
301 final File file = getFileForDocId(documentId); in openDocument()
315 Log.i(TAG, "A file with id " + documentId + " has been closed! Time to " + in openDocument()
321 throw new FileNotFoundException("Failed to open document with id " + documentId + in openDocument()
333 public String createDocument(String documentId, String mimeType, String displayName)
337 File parent = getFileForDocId(documentId);
[all …]
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java260 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
261 if (TextUtils.equals(parentDocumentId, documentId)) { in isChildDocument()
276 if (isChildDocument(childDocumentId, documentId)) { in isChildDocument()
353 public String renameDocument(String documentId, String displayName) in renameDocument() argument
355 final long docId = Long.parseLong(documentId); in renameDocument()
376 public void deleteDocument(String documentId) throws FileNotFoundException { in deleteDocument() argument
377 final long docId = Long.parseLong(documentId); in deleteDocument()
449 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
453 includeDocument(result, Long.parseLong(documentId)); in queryDocument()
499 String documentId, String mode, CancellationSignal signal) in openDocument() argument
[all …]