Searched refs:totalSize (Results 1 - 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
H A DStorageSummaryDonutPreferenceController.java100 long totalSize = svp.getPrimaryStorageSize();
102 if (totalSize <= 0) {
103 totalSize = sharedDataSize;
106 final long usedBytes = totalSize - volume.getPath().getFreeSpace();
107 updateBytes(usedBytes, totalSize);
H A DUserProfileController.java116 public void setSize(long size, long totalSize) { argument
118 mStoragePreference.setStorageSize(size, totalSize);
122 public void setTotalSize(long totalSize) { argument
123 mTotalSizeBytes = totalSize;
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
H A DUtils.java39 int totalSize = Arrays.stream(arrays).mapToInt((int[] array) -> array.length).sum();
40 int[] newArray = Arrays.copyOf(arrays[0], totalSize);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
H A DFetchDownloadsLoader.java86 result.totalSize += currentFile.length();
107 public long totalSize; field in class:FetchDownloadsLoader.DownloadsResult
117 long totalSize,
121 this.totalSize = totalSize;
116 DownloadsResult( long totalSize, long youngestLastModified, ArrayList<File> files, HashMap<File, Bitmap> thumbnails) argument
H A DDownloadsDeletionType.java135 mBytes = data.totalSize;
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
H A DFetchDownloadsLoaderTest.java45 assertEquals(0, result.totalSize);
57 assertEquals(0, result.totalSize);
71 assertEquals(0, result.totalSize);
94 assertEquals(9, result.totalSize);
110 assertEquals(9, result.totalSize);
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStorageSizesController.java89 long totalSize = codeSize + dataSize + cacheSize;
90 if (mLastTotalSize != totalSize) {
91 mLastTotalSize = totalSize;
92 mTotalSize.setSummary(getSizeStr(context, totalSize));
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DMpegTsSampleExtractor.java260 int totalSize = buffer.position();
263 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) {
265 int size = Math.min(totalSize - i, mBuffer.length);
291 buffer.position(totalSize);
300 int totalSize = buffer.position();
303 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) {
305 int size = Math.min(totalSize - i, mBuffer.length);
332 buffer.position(totalSize);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DAttachmentsView.java195 long totalSize = 0;
197 totalSize += attachment.size;
199 return totalSize;
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DPreviewItemManager.java100 private void computePreviewDrawingParams(int drawableSize, int totalSize) { argument
101 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize ||
104 mTotalWidth = totalSize;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderIcon.java434 private void computePreviewDrawingParams(int drawableSize, int totalSize) { argument
435 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize) {
437 mTotalWidth = totalSize;
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DDraftMessageData.java844 long totalSize = 0;
846 totalSize += attachment.getMinimumSizeInBytesForSending();
848 return totalSize > MmsConfig.get(mSelfSubId).getMaxMessageSize();
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
H A DDownloadsDeletionTypeTest.java149 result.totalSize = 101L;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1104 int totalSize = 0;
1106 totalSize += array.length;
1110 totalSize));
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 1004 milliseconds