Home
last modified time | relevance | path

Searched refs:COLUMN_SIZE (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java131 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
139 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
147 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
165 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument()
184 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_NoDirs()
202 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_NoDirs()
233 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_EmptyDirs()
247 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_EmptyDirs()
261 childCursor.getInt(childCursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryChildDocument_EmptyDirs()
314 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testQueryDocument()
[all …]
DWriteableArchiveTest.java162 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory()
177 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddDirectory()
212 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddFile()
244 cursor.getInt(cursor.getColumnIndexOrThrow(Document.COLUMN_SIZE))); in testAddFile()
DResourcesProvider.java49 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
99 row.add(Document.COLUMN_SIZE, 0); in queryDocument()
154 row.add(Document.COLUMN_SIZE, fd.getLength()); in includeDocument()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java63 Document.COLUMN_SIZE,
126 row.add(Document.COLUMN_SIZE, rand.nextInt()); in setUp()
196 int size = DocumentInfo.getCursorInt(cursor, Document.COLUMN_SIZE); in testSort_sizes_ascending()
219 int size = DocumentInfo.getCursorInt(cursor, Document.COLUMN_SIZE); in testSort_sizes_descending()
236 row.add(Document.COLUMN_SIZE, i); in testSort_sizesWithBucketing_ascending()
270 int size = DocumentInfo.getCursorInt(c, Document.COLUMN_SIZE); in testSort_sizesWithBucketing_ascending()
288 row.add(Document.COLUMN_SIZE, i); in testSort_sizesWithBucketing_descending()
321 int size = DocumentInfo.getCursorInt(c, Document.COLUMN_SIZE); in testSort_sizesWithBucketing_descending()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestRootProvider.java51 Document.COLUMN_SIZE,
87 row.add(Document.COLUMN_SIZE, 0); in addFile()
101 row.add(Document.COLUMN_SIZE, 0); in addFolder()
DInspectorProvider.java138 row.add(Document.COLUMN_SIZE, size); in addFileWithSize()
DStubProvider.java89 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
684 row.add(Document.COLUMN_SIZE, document.file.length()); in includeDocument()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java172 private static final String COLUMN_SIZE = "size"; field in WidgetPreviewLoader.CacheDb
187 COLUMN_SIZE + " TEXT NOT NULL, " + in onCreateTable()
192 … "PRIMARY KEY (" + COLUMN_COMPONENT + ", " + COLUMN_USER + ", " + COLUMN_SIZE + ") " + in onCreateTable()
201 values.put(CacheDb.COLUMN_SIZE, key.size); in writeToDb()
312 + CacheDb.COLUMN_SIZE + " = ?", in readFromDb()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java47 Document.COLUMN_SIZE,
129 .add(Document.COLUMN_SIZE, doc.size) in createDocumentsCursor()
DTestModel.java42 Document.COLUMN_SIZE,
135 row.add(Document.COLUMN_SIZE, doc.size); in addToCursor()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java54 Document.COLUMN_SIZE,
91 row.add(Document.COLUMN_SIZE, rand.nextInt()); in setUp()
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDatabaseTest.java52 DocumentsContract.Document.COLUMN_SIZE,
107 assertEquals(1000, getInt(cursor, COLUMN_SIZE)); in testPutSingleStorageDocuments()
169 assertEquals(1000, getInt(cursor, COLUMN_SIZE)); in testPutStorageDocuments()
223 assertEquals(1024, getInt(cursor, COLUMN_SIZE)); in testPutChildDocuments()
243 assertEquals(2 * 1024 * 1024, getInt(cursor, COLUMN_SIZE)); in testPutChildDocuments()
262 assertEquals(3 * 1024 * 1024, getInt(cursor, COLUMN_SIZE)); in testPutChildDocuments()
/packages/apps/Traceur/src/com/android/traceur/
DStorageProvider.java64 Document.COLUMN_SIZE,
119 row.add(Document.COLUMN_SIZE, file.length()); in queryDocument()
/packages/services/Mtp/src/com/android/mtp/
DMtpDatabase.java774 values.putNull(Document.COLUMN_SIZE); in getDeviceDocumentValues()
815 values.put(Document.COLUMN_SIZE, root.mMaxCapacity - root.mFreeSpace); in getStorageDocumentValues()
853 values.put(Document.COLUMN_SIZE, size); in getObjectDocumentValues()
855 values.putNull(Document.COLUMN_SIZE); in getObjectDocumentValues()
DMtpDatabaseConstants.java137 Document.COLUMN_SIZE + " INTEGER);";
DMtpDocumentsProvider.java80 Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
720 MtpDatabase.strings(Document.COLUMN_SIZE, Document.COLUMN_DISPLAY_NAME)); in getFileSize()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java62 Document.COLUMN_SIZE,
285 row.add(Document.COLUMN_SIZE, entry.getSize()); in addCursorRow()
DArchivesProvider.java204 row.add(Document.COLUMN_SIZE, 0); in queryDocument()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java76 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
190 row.add(Document.COLUMN_SIZE, document.size); in includeDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortModel.java258 new String[]{ Document.COLUMN_SIZE }); in addQuerySortArgs()
309 columnName = Document.COLUMN_SIZE; in getDocumentSortQuery()
DSortingCursorWrapper.java86 longValues[i] = getCursorLong(mCursor, Document.COLUMN_SIZE); in SortingCursorWrapper()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java486 Document.COLUMN_SIZE, in copyDirectoryHelper()
745 Document.COLUMN_SIZE in calculateFileSizesRecursively()
761 long size = getCursorLong(cursor, Document.COLUMN_SIZE); in calculateFileSizesRecursively()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java104 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
1227 row.add(Document.COLUMN_SIZE, cursor.getLong(ImageQuery.SIZE)); in includeImage()
1290 row.add(Document.COLUMN_SIZE, cursor.getLong(VideoQuery.SIZE)); in includeVideo()
1353 row.add(Document.COLUMN_SIZE, cursor.getLong(DocumentQuery.SIZE)); in includeDocument()
1422 row.add(Document.COLUMN_SIZE, cursor.getLong(SongQuery.SIZE)); in includeAudio()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridPhotoHolder.java156 Formatter.formatFileSize(mContext, getCursorLong(cursor, Document.COLUMN_SIZE)); in bind()
DGridDocumentHolder.java190 final long docSize = getCursorLong(cursor, Document.COLUMN_SIZE); in bind()

12