Home
last modified time | relevance | path

Searched refs:COLUMN_DOCUMENT_ID (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDatabaseTest.java41 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 …]
DMtpDocumentsProviderTest.java152 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/
DSortingCursorWrapperTest.java59 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/
DMtpDatabaseConstants.java61 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()
DMtpDatabase.java266 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()
DMapper.java281 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/
DTestRootProvider.java41 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()
DStubProvider.java84 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/
DModelTest.java51 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/
DResourcesProvider.java45 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()
DReadableArchiveTest.java109 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()
DWriteableArchiveTest.java156 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/
DStorageProvider.java54 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/
DMediaDocumentsProvider.java100 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/
DStressProvider.java71 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/
DTestModel.java39 Document.COLUMN_DOCUMENT_ID,
129 row.add(Document.COLUMN_DOCUMENT_ID, doc.documentId); in addToCursor()
DTestDocumentsProvider.java42 Document.COLUMN_DOCUMENT_ID,
124 .add(Document.COLUMN_DOCUMENT_ID, doc.documentId) in createDocumentsCursor()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModelId.java20 getCursorString(cursor, DocumentsContract.Document.COLUMN_DOCUMENT_ID)); in build()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java59 Document.COLUMN_DOCUMENT_ID,
281 row.add(Document.COLUMN_DOCUMENT_ID, parsedId.toDocumentId()); in addCursorRow()
DArchivesProvider.java60 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/
DMenuManagerTest.java506 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/
DDownloadStorageProvider.java88 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/
DMediaDocumentsProviderTest.java174 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/
DDocumentInfo.java178 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in updateFromCursor()
435 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in getUri()
DFilteringCursorWrapper.java83 final String documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in filterHiddenFiles()

12