/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 41 DocumentsContract.Document.COLUMN_DOCUMENT_ID, 95 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutSingleStorageDocuments() 121 Root.COLUMN_DOCUMENT_ID, in testPutSingleStorageDocuments() 135 assertEquals(1, getInt(cursor, Root.COLUMN_DOCUMENT_ID)); in testPutSingleStorageDocuments() 158 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutStorageDocuments() 173 assertEquals(3, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutStorageDocuments() 177 assertEquals(4, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutStorageDocuments() 208 assertEquals(3, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutChildDocuments() 227 assertEquals(4, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutChildDocuments() 247 assertEquals(5, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutChildDocuments() [all …]
|
D | MtpDocumentsProviderTest.java | 152 DocumentsContract.Root.COLUMN_DOCUMENT_ID in testOpenDeviceOnDemand() 723 strings(Document.COLUMN_DOCUMENT_ID, Document.COLUMN_DISPLAY_NAME), in testMappingDisconnectedDocuments() argument 744 strings(Document.COLUMN_DOCUMENT_ID), in testMappingDisconnectedDocuments() argument 819 "1", strings(Document.COLUMN_DOCUMENT_ID), (String) null)) { in testOpenDocument_noWritingSupport() argument 979 strings(DocumentsContract.Document.COLUMN_DOCUMENT_ID), in setupDocuments()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 59 Document.COLUMN_DOCUMENT_ID, 120 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in setUp() 146 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_names_ascending() 170 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_names_descending() 193 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizes_ascending() 216 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizes_descending() 234 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testSort_sizesWithBucketing_ascending() 255 DocumentInfo.getCursorString(cursor, Document.COLUMN_DOCUMENT_ID))); in testSort_sizesWithBucketing_ascending() 286 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testSort_sizesWithBucketing_descending() 339 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testSort_time_ascending() [all …]
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDatabaseConstants.java | 61 Document.COLUMN_DOCUMENT_ID, 117 static final String SELECTION_DOCUMENT_ID = Document.COLUMN_DOCUMENT_ID + " = ?"; 122 Document.COLUMN_DOCUMENT_ID + 169 Root.COLUMN_DOCUMENT_ID, in COLUMN_MAP_ROOTS.put() argument 170 TABLE_DOCUMENTS + "." + Document.COLUMN_DOCUMENT_ID + in COLUMN_MAP_ROOTS.put() argument 171 " AS " + Root.COLUMN_DOCUMENT_ID); in COLUMN_MAP_ROOTS.put()
|
D | MtpDatabase.java | 266 strings(Document.COLUMN_DOCUMENT_ID), in getStorageDocumentIds() argument 306 strings(Document.COLUMN_DOCUMENT_ID), in getDocumentIdForDevice() 354 strings(Document.COLUMN_DOCUMENT_ID), in getDeviceDocumentId() argument 454 strings(Document.COLUMN_DOCUMENT_ID), in deleteDocumentsAndRootsRecursively() 493 strings(Document.COLUMN_DOCUMENT_ID), in disconnectDocumentsRecursively() argument 526 new String[] { Document.COLUMN_DOCUMENT_ID }, in deleteDocumentsAndRoots() 608 Document.COLUMN_DOCUMENT_ID + " = ?", in updateObject() 626 "parent." + Document.COLUMN_DOCUMENT_ID; in getUnmappedDocumentsParent() 637 "parent." + Document.COLUMN_DOCUMENT_ID, in getUnmappedDocumentsParent() argument 686 Document.COLUMN_DOCUMENT_ID + " NOT IN " + getIdList(ids), null); in cleanDatabase()
|
D | Mapper.java | 281 values.put(Document.COLUMN_DOCUMENT_ID, rowId); in putDocuments() 437 strings(Document.COLUMN_DOCUMENT_ID), in queryCandidate()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestRootProvider.java | 41 Root.COLUMN_DOCUMENT_ID, 46 Document.COLUMN_DOCUMENT_ID, 74 row.add(Root.COLUMN_DOCUMENT_ID, mRootDocId); in queryRoots() 85 row.add(Document.COLUMN_DOCUMENT_ID, id); in addFile() 99 row.add(Document.COLUMN_DOCUMENT_ID, id); in addFolder()
|
D | StubProvider.java | 84 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, 88 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 167 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots() 561 result.putString(Document.COLUMN_DOCUMENT_ID, documentId); in createVirtualFileFromBundle() 682 row.add(Document.COLUMN_DOCUMENT_ID, document.documentId); in includeDocument()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ModelTest.java | 51 Document.COLUMN_DOCUMENT_ID, 86 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in setUp() 124 row0.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testModelIdIsUnique() 128 row1.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testModelIdIsUnique() 146 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ResourcesProvider.java | 45 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID 48 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 85 row.add(Root.COLUMN_DOCUMENT_ID, "root-document-id"); in queryRoots() 96 row.add(Document.COLUMN_DOCUMENT_ID, "root-document-id"); in queryDocument() 144 row.add(Document.COLUMN_DOCUMENT_ID, documentId); in includeDocument()
|
D | ReadableArchiveTest.java | 109 cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)))) { in assertRowExist() 157 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument() 178 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_NoDirs() 194 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_NoDirs() 213 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_NoDirs() 227 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_EmptyDirs() 253 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_EmptyDirs() 308 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryDocument() 326 assertThat(cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))) in queryDocumentByResIdWithMimeTypeAndVerify()
|
D | WriteableArchiveTest.java | 156 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddDirectory() 171 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddDirectory() 206 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testAddFile()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | StorageProvider.java | 54 Root.COLUMN_DOCUMENT_ID, 58 Document.COLUMN_DOCUMENT_ID, 87 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in queryRoots() 107 row.add(Document.COLUMN_DOCUMENT_ID, documentId); in queryDocument()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 100 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_MIME_TYPES, 105 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 1128 row.add(Root.COLUMN_DOCUMENT_ID, TYPE_IMAGES_ROOT); in includeImagesRoot() 1144 row.add(Root.COLUMN_DOCUMENT_ID, TYPE_VIDEOS_ROOT); in includeVideosRoot() 1160 row.add(Root.COLUMN_DOCUMENT_ID, TYPE_AUDIO_ROOT); in includeAudioRoot() 1176 row.add(Root.COLUMN_DOCUMENT_ID, TYPE_DOCUMENTS_ROOT); in includeDocumentsRoot() 1183 row.add(Document.COLUMN_DOCUMENT_ID, TYPE_IMAGES_ROOT); in includeImagesRootDocument() 1192 row.add(Document.COLUMN_DOCUMENT_ID, TYPE_VIDEOS_ROOT); in includeVideosRootDocument() 1201 row.add(Document.COLUMN_DOCUMENT_ID, TYPE_AUDIO_ROOT); in includeAudioRootDocument() 1208 row.add(Document.COLUMN_DOCUMENT_ID, TYPE_DOCUMENTS_ROOT); in includeDocumentsRootDocument() [all …]
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 71 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, 75 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 183 row.add(Root.COLUMN_DOCUMENT_ID, root.documentId); in includeRoot() 188 row.add(Document.COLUMN_DOCUMENT_ID, document.id); in includeDocument()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestModel.java | 39 Document.COLUMN_DOCUMENT_ID, 129 row.add(Document.COLUMN_DOCUMENT_ID, doc.documentId); in addToCursor()
|
D | TestDocumentsProvider.java | 42 Document.COLUMN_DOCUMENT_ID, 124 .add(Document.COLUMN_DOCUMENT_ID, doc.documentId) in createDocumentsCursor()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ModelId.java | 20 getCursorString(cursor, DocumentsContract.Document.COLUMN_DOCUMENT_ID)); in build()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | Archive.java | 59 Document.COLUMN_DOCUMENT_ID, 281 row.add(Document.COLUMN_DOCUMENT_ID, parsedId.toDocumentId()); in addCursorRow()
|
D | ArchivesProvider.java | 60 Root.COLUMN_ROOT_ID, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_TITLE, Root.COLUMN_FLAGS, 202 row.add(Document.COLUMN_DOCUMENT_ID, documentId); in queryDocument()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | MenuManagerTest.java | 506 Document.COLUMN_DOCUMENT_ID, in getTestModel() 516 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in getTestModel() 522 row.add(Document.COLUMN_DOCUMENT_ID, "4"); in getTestModel()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 88 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_QUERY_ARGS 92 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME, 174 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in queryRoots() 482 rawFilesCursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)); in includeSearchFilesFromSharedStorage() 588 row.add(Document.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in includeDefaultDocument() 704 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeDownload()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaDocumentsProviderTest.java | 174 final String docId = c.getString(c.getColumnIndex(Root.COLUMN_DOCUMENT_ID)); in testTraverse() 187 final String docId = c.getString(c.getColumnIndex(Document.COLUMN_DOCUMENT_ID)); in doTraversal()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 178 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor() 435 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in getUri()
|
D | FilteringCursorWrapper.java | 83 final String documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in filterHiddenFiles()
|