/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/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/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/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/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/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/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 129 private void computePreviewDrawingParams(int drawableSize, int totalSize) { in computePreviewDrawingParams() argument 130 if (mIntrinsicIconSize != drawableSize || mTotalWidth != totalSize || in computePreviewDrawingParams() 133 mTotalWidth = totalSize; in computePreviewDrawingParams()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | DraftMessageData.java | 856 long totalSize = 0; in getIsMessageOverLimit() local 858 totalSize += attachment.getMinimumSizeInBytesForSending(); in getIsMessageOverLimit() 860 return totalSize > MmsConfig.get(mSelfSubId).getMaxMessageSize(); in getIsMessageOverLimit()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageView.java | 648 long totalSize = 0; in doInBackgroundTimed() local 652 totalSize += UriUtil.getContentSize(attachment.getContentUri()); in doInBackgroundTimed() 655 return totalSize; in doInBackgroundTimed()
|
/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 | 170 public static int totalSize() { in totalSize() method in ApfFilter.Counter 1626 maximumApfProgramSize -= Counter.totalSize(); in installNewProgramLocked()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4274 final long totalSize = forEachContributedMedia(packageName, null); in call() local 4276 res.putLong(Intent.EXTRA_INDEX, totalSize); in call() 4310 long totalSize = 0; in forEachContributedMedia() local 4327 totalSize += size; in forEachContributedMedia() 4333 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 | 925 byte[] data = new byte[ApfFilter.Counter.totalSize()]; in testApfFilterPcapFile()
|