Searched defs:docId (Results 1 - 2 of 2) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadStorageProvider.java107 public String createDocument(String docId, String mimeType, String displayName) argument
141 public void deleteDocument(String docId) throws FileNotFoundException { argument
145 if (mDm.remove(Long.parseLong(docId)) != 1) {
146 throw new IllegalStateException("Failed to delete " + docId);
154 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { argument
157 if (DOC_ID_ROOT.equals(docId)) {
164 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId)));
178 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) argument
257 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) argument
262 final long id = Long.parseLong(docId);
271 openDocumentThumbnail( String docId, Point sizeHint, CancellationSignal signal) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaDocumentsProvider.java165 private static Ident getIdentForDocId(String docId) { argument
167 final int split = docId.indexOf(':');
169 ident.type = docId;
172 ident.type = docId.substring(0, split);
173 ident.id = Long.parseLong(docId.substring(split + 1));
200 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { argument
203 final Ident ident = getIdentForDocId(docId);
281 throw new UnsupportedOperationException("Unsupported document " + docId);
291 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) argument
295 final Ident ident = getIdentForDocId(docId);
416 openDocument(String docId, String mode, CancellationSignal signal) argument
448 openDocumentThumbnail( String docId, Point sizeHint, CancellationSignal signal) argument
[all...]

Completed in 556 milliseconds