Searched refs:docId (Results 1 – 3 of 3) sorted by relevance
111 public String createDocument(String docId, String mimeType, String displayName) in createDocument() argument145 public void deleteDocument(String docId) throws FileNotFoundException { in deleteDocument() argument149 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() argument178 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 …]
165 private static Ident getIdentForDocId(String docId) { in getIdentForDocId() argument167 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() argument191 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() argument208 final Uri target = getUriForDocumentId(docId); in deleteDocument()[all …]
1064 int docId = sb.toString().hashCode(); in updateOneRow() local1067 values.put(IndexColumns.DOCID, docId); in updateOneRow()