/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 131 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 …]
|
D | WriteableArchiveTest.java | 162 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()
|
D | ResourcesProvider.java | 49 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/ |
D | SortingCursorWrapperTest.java | 63 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/ |
D | TestRootProvider.java | 51 Document.COLUMN_SIZE, 87 row.add(Document.COLUMN_SIZE, 0); in addFile() 101 row.add(Document.COLUMN_SIZE, 0); in addFolder()
|
D | InspectorProvider.java | 138 row.add(Document.COLUMN_SIZE, size); in addFileWithSize()
|
D | StubProvider.java | 89 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/ |
D | WidgetPreviewLoader.java | 172 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/ |
D | TestDocumentsProvider.java | 47 Document.COLUMN_SIZE, 129 .add(Document.COLUMN_SIZE, doc.size) in createDocumentsCursor()
|
D | TestModel.java | 42 Document.COLUMN_SIZE, 135 row.add(Document.COLUMN_SIZE, doc.size); in addToCursor()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | ModelTest.java | 54 Document.COLUMN_SIZE, 91 row.add(Document.COLUMN_SIZE, rand.nextInt()); in setUp()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | StorageProvider.java | 64 Document.COLUMN_SIZE, 119 row.add(Document.COLUMN_SIZE, file.length()); in queryDocument()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 52 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/services/Mtp/src/com/android/mtp/ |
D | MtpDatabase.java | 774 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()
|
D | MtpDatabaseConstants.java | 137 Document.COLUMN_SIZE + " INTEGER);";
|
D | MtpDocumentsProvider.java | 80 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/ |
D | Archive.java | 62 Document.COLUMN_SIZE, 285 row.add(Document.COLUMN_SIZE, entry.getSize()); in addCursorRow()
|
D | ArchivesProvider.java | 204 row.add(Document.COLUMN_SIZE, 0); in queryDocument()
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 76 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/ |
D | SortModel.java | 258 new String[]{ Document.COLUMN_SIZE }); in addQuerySortArgs() 309 columnName = Document.COLUMN_SIZE; in getDocumentSortQuery()
|
D | SortingCursorWrapper.java | 86 longValues[i] = getCursorLong(mCursor, Document.COLUMN_SIZE); in SortingCursorWrapper()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 486 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/ |
D | MediaDocumentsProvider.java | 104 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/ |
D | GridPhotoHolder.java | 156 Formatter.formatFileSize(mContext, getCursorLong(cursor, Document.COLUMN_SIZE)); in bind()
|
D | GridDocumentHolder.java | 190 final long docSize = getCursorLong(cursor, Document.COLUMN_SIZE); in bind()
|