Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/adb/fastdeploy/deploypatchgenerator/
Ddeploy_patch_generator.cpp83 uint64_t totalSize) { in ReportSavings() argument
92 double savingPercent = (totalEqualBytes * 100.0f) / totalSize; in ReportSavings()
95 totalSize, savingPercent); in ReportSavings()
194 uint64_t totalSize = in CreatePatch() local
196 ReportSavings(identicalEntries, totalSize); in CreatePatch()
227 uint64_t totalSize = 0; in BuildIdenticalEntries() local
229 totalSize += localEntry.datasize(); in BuildIdenticalEntries()
254 return totalSize; in BuildIdenticalEntries()
Ddeploy_patch_generator.h95 void ReportSavings(const std::vector<SimpleEntry>& identicalEntries, uint64_t totalSize);
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java290 int totalSize = buffer.position(); in mayParseClosedCaption() local
293 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) { in mayParseClosedCaption()
295 int size = Math.min(totalSize - i, mBuffer.length); in mayParseClosedCaption()
325 buffer.position(totalSize); in mayParseClosedCaption()
334 int totalSize = buffer.position(); in mayParseClosedCaption() local
337 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) { in mayParseClosedCaption()
339 int size = Math.min(totalSize - i, mBuffer.length); in mayParseClosedCaption()
370 buffer.position(totalSize); in mayParseClosedCaption()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoader.java86 result.totalSize += currentFile.length(); in collectFiles()
107 public long totalSize; field in FetchDownloadsLoader.DownloadsResult
117 long totalSize, in DownloadsResult() argument
121 this.totalSize = totalSize; in DownloadsResult()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsSampleExtractor.java302 int totalSize = buffer.position(); in mayParseClosedCaption() local
305 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) { in mayParseClosedCaption()
307 int size = Math.min(totalSize - i, mBuffer.length); in mayParseClosedCaption()
337 buffer.position(totalSize); in mayParseClosedCaption()
346 int totalSize = buffer.position(); in mayParseClosedCaption() local
349 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) { in mayParseClosedCaption()
351 int size = Math.min(totalSize - i, mBuffer.length); in mayParseClosedCaption()
382 buffer.position(totalSize); in mayParseClosedCaption()
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java45 assertEquals(0, result.totalSize); in testEmptyDirectory()
57 assertEquals(0, result.totalSize); in testFilesInDirectory()
71 assertEquals(0, result.totalSize); in testNestedDirectories()
94 assertEquals(9, result.totalSize); in testSumFileSizes()
110 assertEquals(9, result.totalSize); in testFetchesThumbnailsForImages()
/packages/modules/StatsD/statsd/src/metrics/
DKllMetricProducer.cpp158 size_t totalSize = 0; in byteSizeLocked() local
160 totalSize += buckets.size() * kBucketSize; in byteSizeLocked()
163 totalSize += bucket.aggIndex.size() * kIntSize; in byteSizeLocked()
167 totalSize += bucket.aggregates.size() * kInt64Size * in byteSizeLocked()
172 return totalSize; in byteSizeLocked()
DGaugeMetricProducer.cpp671 size_t totalSize = 0; in byteSizeLocked() local
675 totalSize += sizeof(FieldValue) * in byteSizeLocked()
677 totalSize += sizeof(int64_t) * elapsedTimestampsNs.size(); in byteSizeLocked()
681 return totalSize; in byteSizeLocked()
DCountMetricProducer.cpp459 size_t totalSize = 0; in byteSizeLocked() local
461 totalSize += pair.second.size() * kBucketSize; in byteSizeLocked()
463 return totalSize; in byteSizeLocked()
DNumericValueMetricProducer.cpp614 size_t totalSize = 0; in byteSizeLocked() local
616 totalSize += buckets.size() * kBucketSize; in byteSizeLocked()
619 return totalSize; in byteSizeLocked()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageCacheHelper.java75 public void cacheTotalSizeAndTotalUsedSize(long totalSize, long totalUsedSize) { in cacheTotalSizeAndTotalUsedSize() argument
78 .putLong(TOTAL_SIZE_KEY, totalSize) in cacheTotalSizeAndTotalUsedSize()
102 result.totalSize = mSharedPreferences.getLong(TOTAL_SIZE_KEY, 0); in retrieveCachedSize()
119 public long totalSize; field in StorageCacheHelper.StorageCache
/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.cpp258 size_t totalSize = align_sizet(entrySize); in flatten() local
259 if (byteOffset + totalSize > size) { in flatten()
271 if (totalSize > entrySize) { in flatten()
274 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten()
277 byteOffset += totalSize; in flatten()
322 size_t totalSize = align_sizet(entrySize); in unflatten() local
323 if (byteOffset + totalSize > size) { in unflatten()
332 byteOffset += totalSize; in unflatten()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/
DArrayUtils.java33 int totalSize = 0; in concatByteArrays() local
35 totalSize += arrays[i].length; in concatByteArrays()
39 byte[] result = Arrays.copyOf(arrays[0], totalSize); in concatByteArrays()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java90 long totalSize = codeSize + dataSize + cacheSize; in updateUi() local
91 if (mLastTotalSize != totalSize) { in updateUi()
92 mLastTotalSize = totalSize; in updateUi()
93 mTotalSize.setSummary(getSizeStr(context, totalSize)); in updateUi()
/packages/modules/NeuralNetworks/runtime/
DTelemetry.cpp51 size_t totalSize = 0; in makeDeviceId() local
54 totalSize++; in makeDeviceId()
57 totalSize += names.back().size(); in makeDeviceId()
63 result.reserve(totalSize); in makeDeviceId()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DStorageMeasurement.java49 public long totalSize; field in StorageMeasurement.MeasurementDetails
86 return "MeasurementDetails: [totalSize: " + totalSize + " availSize: " + availSize in toString()
158 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage()
164 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DKitchenSinkBackupTransport.java257 int totalSize = parseKeySizes(packageDir, datastore); in performBackupInternal() local
258 Log.i(TAG, "Total size of the current data:" + totalSize); in performBackupInternal()
270 int updatedSize = totalSize; in performBackupInternal()
348 int totalSize = 0; in parseKeySizes() local
358 totalSize += size; in parseKeySizes()
365 Log.d(TAG, "TOTAL: " + totalSize); in parseKeySizes()
372 return totalSize; in parseKeySizes()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DUtils.java39 int totalSize = Arrays.stream(arrays).mapToInt((int[] array) -> array.length).sum(); in concatIntArrays() local
40 int[] newArray = Arrays.copyOf(arrays[0], totalSize); in concatIntArrays()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageCacheHelperTest.java73 assertThat(storageCache.totalSize).isEqualTo(0); in cacheSizeInfo_shouldSaveToSharedPreference()
82 assertThat(storageCache.totalSize).isEqualTo(FAKE_TOTAL_SIZE); in cacheTotalSizeAndUsedSize_shouldSaveToSharedPreference()
/packages/modules/NeuralNetworks/common/cpu_operations/
DTopK_V2.cpp37 const int totalSize = getNumberOfElements(inputShape); in evalGeneric() local
41 for (int rowBegin = 0; rowBegin < totalSize; rowBegin += rowSize) { in evalGeneric()
/packages/modules/StatsD/statsd/src/
DFieldValue.cpp517 size_t totalSize = 0; in getSize() local
519 totalSize += fieldValue.getSize(); in getSize()
521 return totalSize; in getSize()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java139 private void computePreviewDrawingParams(int drawableSize, int totalSize) { in computePreviewDrawingParams() argument
140 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize || in computePreviewDrawingParams()
143 mTotalWidth = totalSize; in computePreviewDrawingParams()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpParser.java187 final long totalSize = getTotalSize(byteRange); in readChunk() local
189 if (totalSize == Integer.MIN_VALUE || chunkSize < -1) { in readChunk()
/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorSectionController.java312 int totalSize = colorOptions.size(); in setupColorOptions() local
313 if (totalSize == 0) { in setupColorOptions()
320 Math.min(colorsPerPage * (index + 1), totalSize)); in setupColorOptions()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java856 long totalSize = 0; in getIsMessageOverLimit() local
858 totalSize += attachment.getMinimumSizeInBytesForSending(); in getIsMessageOverLimit()
860 return totalSize > MmsConfig.get(mSelfSubId).getMaxMessageSize(); in getIsMessageOverLimit()

12