Home
last modified time | relevance | path

Searched refs:docId (Results 1 – 3 of 3) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java111 public String createDocument(String docId, String mimeType, String displayName) in createDocument() argument
145 public void deleteDocument(String docId) throws FileNotFoundException { in deleteDocument() argument
149 if (mDm.remove(Long.parseLong(docId)) != 1) { in deleteDocument()
150 throw new IllegalStateException("Failed to delete " + docId); in deleteDocument()
177 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { in queryDocument() argument
178 if (mArchiveHelper.isArchivedDocument(docId)) { in queryDocument()
179 return mArchiveHelper.queryDocument(docId, projection); in queryDocument()
184 if (DOC_ID_ROOT.equals(docId)) { in queryDocument()
191 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in queryDocument()
207 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) in queryChildDocuments() argument
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java165 private static Ident getIdentForDocId(String docId) { in getIdentForDocId() argument
167 final int split = docId.indexOf(':'); in getIdentForDocId()
169 ident.type = docId; in getIdentForDocId()
172 ident.type = docId.substring(0, split); in getIdentForDocId()
173 ident.id = Long.parseLong(docId.substring(split + 1)); in getIdentForDocId()
190 private Uri getUriForDocumentId(String docId) { in getUriForDocumentId() argument
191 final Ident ident = getIdentForDocId(docId); in getUriForDocumentId()
202 throw new UnsupportedOperationException("Unsupported document " + docId); in getUriForDocumentId()
207 public void deleteDocument(String docId) throws FileNotFoundException { in deleteDocument() argument
208 final Uri target = getUriForDocumentId(docId); in deleteDocument()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DIndex.java1064 int docId = sb.toString().hashCode(); in updateOneRow() local
1067 values.put(IndexColumns.DOCID, docId); in updateOneRow()