Searched refs:docId (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 164 private static Ident getIdentForDocId(String docId) { in getIdentForDocId() argument 166 final int split = docId.indexOf(':'); in getIdentForDocId() 168 ident.type = docId; in getIdentForDocId() 171 ident.type = docId.substring(0, split); in getIdentForDocId() 172 ident.id = Long.parseLong(docId.substring(split + 1)); in getIdentForDocId() 199 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { in queryDocument() argument 202 final Ident ident = getIdentForDocId(docId); in queryDocument() 280 throw new UnsupportedOperationException("Unsupported document " + docId); in queryDocument() 290 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) in queryChildDocuments() argument 294 final Ident ident = getIdentForDocId(docId); in queryChildDocuments() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 106 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() 158 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { in queryDocument() argument 161 if (DOC_ID_ROOT.equals(docId)) { in queryDocument() 168 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in queryDocument() 182 public Cursor queryChildDocuments(String docId, String[] projection, String sortOrder) in queryChildDocuments() argument 261 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() argument 266 final long id = Long.parseLong(docId); in openDocument() [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 1033 int docId = sb.toString().hashCode(); in updateOneRow() local 1036 values.put(IndexColumns.DOCID, docId); in updateOneRow()
|