/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsSampleExtractor.java | 275 int totalSize = buffer.position(); in mayParseClosedCaption() local 278 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) { in mayParseClosedCaption() 280 int size = Math.min(totalSize - i, mBuffer.length); in mayParseClosedCaption() 310 buffer.position(totalSize); in mayParseClosedCaption() 319 int totalSize = buffer.position(); in mayParseClosedCaption() local 322 for (int i = 0; i < totalSize; i += mBuffer.length - PATTERN_LENGTH) { in mayParseClosedCaption() 324 int size = Math.min(totalSize - i, mBuffer.length); in mayParseClosedCaption() 355 buffer.position(totalSize); in mayParseClosedCaption()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | StorageSummaryDonutPreferenceController.java | 112 long totalSize = svp.getPrimaryStorageSize(); in updateSizes() local 114 if (totalSize <= 0) { in updateSizes() 115 totalSize = sharedDataSize; in updateSizes() 118 final long usedBytes = totalSize - volume.getPath().getFreeSpace(); in updateSizes() 119 updateBytes(usedBytes, totalSize); in updateSizes()
|
D | UserProfileController.java | 114 public void setSize(long size, long totalSize) { in setSize() argument 116 mStoragePreference.setStorageSize(size, totalSize); in setSize() 120 public void setTotalSize(long totalSize) { in setTotalSize() argument 121 mTotalSizeBytes = totalSize; in setTotalSize()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageSummaryDonutPreferenceController.java | 112 long totalSize = svp.getPrimaryStorageSize(); in updateSizes() local 114 if (totalSize <= 0) { in updateSizes() 115 totalSize = sharedDataSize; in updateSizes() 118 final long usedBytes = totalSize - volume.getPath().getFreeSpace(); in updateSizes() 119 updateBytes(usedBytes, totalSize); in updateSizes()
|
D | UserProfileController.java | 114 public void setSize(long size, long totalSize) { in setSize() argument 116 mStoragePreference.setStorageSize(size, totalSize); in setSize() 120 public void setTotalSize(long totalSize) { in setTotalSize() argument 121 mTotalSizeBytes = totalSize; in setTotalSize()
|
/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()
|
D | DownloadsDeletionType.java | 135 mBytes = data.totalSize; in onLoadFinished()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | AttachmentsView.java | 195 long totalSize = 0; in getTotalAttachmentsSize() local 197 totalSize += attachment.size; in getTotalAttachmentsSize() 199 return totalSize; in getTotalAttachmentsSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 103 private void computePreviewDrawingParams(int drawableSize, int totalSize) { in computePreviewDrawingParams() argument 104 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize || in computePreviewDrawingParams() 107 mTotalWidth = totalSize; in computePreviewDrawingParams()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | DraftMessageData.java | 844 long totalSize = 0; in getIsMessageOverLimit() local 846 totalSize += attachment.getMinimumSizeInBytesForSending(); in getIsMessageOverLimit() 848 return totalSize > MmsConfig.get(mSelfSubId).getMaxMessageSize(); in getIsMessageOverLimit()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | DownloadsDeletionTypeTest.java | 148 result.totalSize = 101L; in testCallbackOnFileLoad()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 168 public static int totalSize() { in totalSize() method in ApfFilter.Counter 1543 maximumApfProgramSize -= Counter.totalSize(); in installNewProgramLocked()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4261 final long totalSize = forEachContributedMedia(packageName, null); in call() local 4263 res.putLong(Intent.EXTRA_INDEX, totalSize); in call() 4297 long totalSize = 0; in forEachContributedMedia() local 4314 totalSize += size; in forEachContributedMedia() 4320 return totalSize; in forEachContributedMedia()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1287 int totalSize = 0; in combine() local 1289 totalSize += array.length; in combine() 1293 totalSize)); in combine()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 915 byte[] data = new byte[ApfFilter.Counter.totalSize()]; in testApfFilterPcapFile()
|