/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | FetchDownloadsLoader.java | 86 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/modules/adb/fastdeploy/deploypatchgenerator/ |
D | deploy_patch_generator.cpp | 83 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()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsSampleExtractor.java | 290 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/tests/unit/src/com/android/storagemanager/deletionhelper/ |
D | FetchDownloadsLoaderTest.java | 45 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/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsSampleExtractor.java | 302 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/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/ |
D | DBAdData.java | 57 int totalSize = in size() local 61 totalSize += 4 * mAdCounterKeys.size(); in size() 63 totalSize += mAdFilters.getSizeInBytes(); in size() 66 totalSize += mAdRenderId.getBytes(StandardCharsets.UTF_8).length; in size() 68 return totalSize; in size()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | KllMetricProducer.cpp | 176 size_t totalSize = 0; in byteSizeLocked() local 178 totalSize += buckets.size() * kBucketSize; in byteSizeLocked() 181 totalSize += bucket.aggIndex.size() * kIntSize; in byteSizeLocked() 185 totalSize += bucket.aggregates.size() * kInt64Size * in byteSizeLocked() 190 return totalSize; in byteSizeLocked()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageCacheHelper.java | 79 public void cacheTotalSizeAndTotalUsedSize(long totalSize, long totalUsedSize) { in cacheTotalSizeAndTotalUsedSize() argument 82 .putLong(TOTAL_SIZE_KEY, totalSize) in cacheTotalSizeAndTotalUsedSize() 106 result.totalSize = mSharedPreferences.getLong(TOTAL_SIZE_KEY, 0); in retrieveCachedSize() 125 public long totalSize; field in StorageCacheHelper.StorageCache
|
D | NonCurrentUserController.java | 192 long totalSize = 0; in handleResult() local 194 totalSize += stats.get(id).externalStats.totalBytes; in handleResult() 196 setSize(totalSize, true /* animate */); in handleResult() 198 mStorageCacheHelper.cacheUsedSize(totalSize); in handleResult()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/async/ |
D | ReadableDataAnswer.java | 41 int totalSize = 0; in getRemainingSize() local 43 totalSize += buffer.length; in getRemainingSize() 45 return totalSize - mBufferPos; in getRemainingSize()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdvertiserSetValidator.java | 71 int totalSize = 0; in addValidation() local 74 totalSize += advertiserString.getBytes(StandardCharsets.UTF_8).length; in addValidation() 75 if (totalSize > MAX_TOTAL_SIZE_BYTES) { in addValidation()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStorageSizesController.java | 90 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/driver/cache/BlobCache/ |
D | BlobCache.cpp | 259 size_t totalSize = align_sizet(entrySize); in flatten() local 260 if (byteOffset + totalSize > size) { in flatten() 272 if (totalSize > entrySize) { in flatten() 275 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten() 278 byteOffset += totalSize; in flatten() 323 size_t totalSize = align_sizet(entrySize); in unflatten() local 324 if (byteOffset + totalSize > size) { in unflatten() 333 byteOffset += totalSize; in unflatten()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/ |
D | ArrayUtils.java | 37 int totalSize = 0; in concatByteArrays() local 39 totalSize += arrays[i].length; in concatByteArrays() 43 byte[] result = Arrays.copyOf(arrays[0], totalSize); in concatByteArrays()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Telemetry.cpp | 52 size_t totalSize = 0; in makeDeviceId() local 55 totalSize++; in makeDeviceId() 58 totalSize += names.back().size(); in makeDeviceId() 64 result.reserve(totalSize); in makeDeviceId()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/bhttp/ |
D | BinaryHttpTestUtil.java | 25 int totalSize = Arrays.stream(sections).mapToInt(s -> s.length).sum(); in combineSections() local 26 byte[] result = new byte[totalSize]; in combineSections()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | StorageMeasurement.java | 49 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/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AppInstallFilters.java | 104 int totalSize = 0; in getSizeInBytes() local 106 totalSize += packageName.getBytes(StandardCharsets.UTF_8).length; in getSizeInBytes() 108 return totalSize; in getSizeInBytes()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | DBTrustedBiddingData.java | 81 int totalSize = mUri.toString().getBytes(StandardCharsets.UTF_8).length; in size() local 83 totalSize += key.getBytes(StandardCharsets.UTF_8).length; in size() 86 return totalSize; in size()
|
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.cpp | 566 size_t totalSize = 0; in getSize() local 568 totalSize += fieldValue.getSize(); in getSize() 570 return totalSize; in getSize() 574 size_t totalSize = 0; in getFieldValuesSizeV2() local 576 totalSize += fieldValue.getSizeV2(); in getFieldValuesSizeV2() 578 return totalSize; in getFieldValuesSizeV2()
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | Utils.java | 39 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/ |
D | KitchenSinkBackupTransport.java | 258 int totalSize = parseKeySizes(packageDir, datastore); in performBackupInternal() local 259 Log.i(TAG, "Total size of the current data:" + totalSize); in performBackupInternal() 271 int updatedSize = totalSize; in performBackupInternal() 349 int totalSize = 0; in parseKeySizes() local 359 totalSize += size; in parseKeySizes() 366 Log.d(TAG, "TOTAL: " + totalSize); in parseKeySizes() 373 return totalSize; in parseKeySizes()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageCacheHelperTest.java | 78 assertThat(storageCache.totalSize).isEqualTo(0); in cacheSizeInfo_shouldSaveToSharedPreference() 87 assertThat(storageCache.totalSize).isEqualTo(FAKE_TOTAL_SIZE); in cacheTotalSizeAndUsedSize_shouldSaveToSharedPreference()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | TopK_V2.cpp | 37 const int totalSize = getNumberOfElements(inputShape); in evalGeneric() local 41 for (int rowBegin = 0; rowBegin < totalSize; rowBegin += rowSize) { in evalGeneric()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/bhttp/ |
D | BinaryHttpMessage.java | 181 int totalSize = Arrays.stream(sections).mapToInt(s -> s.length).sum() + paddingLength; in combineWithPadding() local 182 byte[] result = new byte[totalSize]; in combineWithPadding()
|