Home
last modified time | relevance | path

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

12

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDatabaseTest.java42 DocumentsContract.Document.COLUMN_DOCUMENT_ID,
96 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutSingleStorageDocuments()
122 Root.COLUMN_DOCUMENT_ID, in testPutSingleStorageDocuments()
136 assertEquals(1, getInt(cursor, Root.COLUMN_DOCUMENT_ID)); in testPutSingleStorageDocuments()
159 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutStorageDocuments()
174 assertEquals(3, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutStorageDocuments()
178 assertEquals(4, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutStorageDocuments()
209 assertEquals(3, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutChildDocuments()
228 assertEquals(4, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutChildDocuments()
247 assertEquals(5, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutChildDocuments()
[all …]
DMtpDocumentsProviderTest.java149 DocumentsContract.Root.COLUMN_DOCUMENT_ID in testOpenDeviceOnDemand()
652 strings(Document.COLUMN_DOCUMENT_ID, Document.COLUMN_DISPLAY_NAME), in testMappingDisconnectedDocuments() argument
673 strings(Document.COLUMN_DOCUMENT_ID), in testMappingDisconnectedDocuments() argument
725 "1", strings(Document.COLUMN_DOCUMENT_ID), null)) { in testOpenDocument_noWritingSupport() argument
814 parentDocumentId, strings(DocumentsContract.Document.COLUMN_DOCUMENT_ID), null)); in setupDocuments()
/frameworks/base/packages/MtpDocumentsProvider/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.java264 strings(Document.COLUMN_DOCUMENT_ID), in getStorageDocumentIds() argument
304 strings(Document.COLUMN_DOCUMENT_ID), in getDocumentIdForDevice()
352 strings(Document.COLUMN_DOCUMENT_ID), in getDeviceDocumentId() argument
452 strings(Document.COLUMN_DOCUMENT_ID), in deleteDocumentsAndRootsRecursively()
491 strings(Document.COLUMN_DOCUMENT_ID), in disconnectDocumentsRecursively() argument
524 new String[] { Document.COLUMN_DOCUMENT_ID }, in deleteDocumentsAndRoots()
602 Document.COLUMN_DOCUMENT_ID + " = ?", in updateObject()
620 "parent." + Document.COLUMN_DOCUMENT_ID; in getUnmappedDocumentsParent()
631 "parent." + Document.COLUMN_DOCUMENT_ID, in getUnmappedDocumentsParent() argument
680 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()
/frameworks/support/documents-archive/tests/src/android/support/provider/
DDocumentArchiveTest.java94 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument()
104 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument()
114 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument()
130 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument()
147 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_NoDirs()
161 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_NoDirs()
178 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_NoDirs()
188 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_EmptyDirs()
202 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_EmptyDirs()
215 Document.COLUMN_DOCUMENT_ID))); in testQueryChildDocument_EmptyDirs()
[all …]
DStubProvider.java47 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_DISPLAY_NAME, Document.COLUMN_SIZE,
123 row.add(Document.COLUMN_DOCUMENT_ID, DOCUMENT_ID); in queryDocument()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DModelTest.java52 Document.COLUMN_DOCUMENT_ID,
87 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in setUp()
131 row0.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testModelIdIsUnique()
135 row1.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testModelIdIsUnique()
153 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique()
231 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testSort_sizesWithBucketing()
283 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testSort_time()
291 row.add(Document.COLUMN_DOCUMENT_ID, id); in testSort_time()
DTestModel.java31 Document.COLUMN_DOCUMENT_ID,
52 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in update()
DSectionBreakDocumentsAdapterWrapperTest.java73 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testItemCount_allDirs()
98 row.add(Document.COLUMN_DOCUMENT_ID, Integer.toString(i)); in testItemCount_mixed()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java42 Root.COLUMN_DOCUMENT_ID,
46 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
68 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in queryRoots()
82 row.add(Document.COLUMN_DOCUMENT_ID, documentId); in queryDocument()
189 row.add(Document.COLUMN_DOCUMENT_ID, getDocIdForFile(file)); in addFileRow()
/frameworks/base/packages/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()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java84 Root.COLUMN_TITLE, Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID,
89 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
139 row.add(Root.COLUMN_DOCUMENT_ID, MY_DOC_ID); in queryRoots()
395 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile()
DExternalStorageProvider.java79 Root.COLUMN_DOCUMENT_ID, Root.COLUMN_AVAILABLE_BYTES,
83 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
383 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile()
406 row.add(Root.COLUMN_DOCUMENT_ID, root.docId); in queryRoots()
/frameworks/support/v4/api21/android/support/v4/provider/
DDocumentsContractApi21.java55 DocumentsContract.Document.COLUMN_DOCUMENT_ID }, null, null, null); in listFiles()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java79 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID,
83 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
158 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots()
508 result.putString(Document.COLUMN_DOCUMENT_ID, documentId); in createVirtualFileFromBundle()
610 row.add(Document.COLUMN_DOCUMENT_ID, document.documentId); in includeDocument()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java392 Document.COLUMN_DOCUMENT_ID, in copyDirectoryHelper()
577 Document.COLUMN_DOCUMENT_ID, in calculateFileSizesRecursively()
591 getCursorString(cursor, Document.COLUMN_DOCUMENT_ID)); in calculateFileSizesRecursively()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DModel.java164 getCursorString(mCursor, Document.COLUMN_DOCUMENT_ID); in updateModelData()
166 mIds[pos] = getCursorString(mCursor, Document.COLUMN_DOCUMENT_ID); in updateModelData()
DGridDocumentHolder.java122 final String docId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in bind()
DListDocumentHolder.java118 final String docId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in bind()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DQuickViewIntentBuilder.java149 id = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in collectViewableUris()
/frameworks/support/v4/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java132 DocumentsContract.Document.COLUMN_DOCUMENT_ID }, null, null, null); in exists()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchive.java74 Document.COLUMN_DOCUMENT_ID,
505 row.add(Document.COLUMN_DOCUMENT_ID, parsedId.toDocumentId(mIdDelimiter)); in addCursorRow()
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Ddocument-provider.jd142 {@link android.provider.DocumentsContract.Document#COLUMN_DOCUMENT_ID} 引用各个文件和目录来显示它们。文档
156 {@link android.provider.DocumentsContract.Document#COLUMN_DOCUMENT_ID}。
689 Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID,
692 String[]{Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE,
766 row.add(Root.COLUMN_DOCUMENT_ID, getDocIdForFile(mBaseDir));
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Ddocument-provider.jd143 идентификатора {@link android.provider.DocumentsContract.Document#COLUMN_DOCUMENT_ID}.
157 …идентификатором {@link android.provider.DocumentsContract.Document#COLUMN_DOCUMENT_ID} может наход…
689 Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID,
692 String[]{Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE,
766 row.add(Root.COLUMN_DOCUMENT_ID, getDocIdForFile(mBaseDir));

12