/aosp12/frameworks/base/core/java/android/text/format/ |
H A D | Formatter.java | 95 public static String formatFileSize(@Nullable Context context, long sizeBytes) { in formatFileSize() 100 public static String formatFileSize(@Nullable Context context, long sizeBytes, int flags) { in formatFileSize() 113 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { in formatShortFileSize() 125 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes()
|
/aosp12/packages/apps/Settings/src/com/android/settings/utils/ |
H A D | FileSizeFormatter.java | 54 @Nullable Context context, long sizeBytes, int suffix, long mult) { in formatFileSize() 80 Resources res, long sizeBytes, int suffix, long mult) { in formatBytes()
|
/aosp12/frameworks/rs/ |
H A D | rsAllocation.cpp | 195 uint32_t count, const void *data, size_t sizeBytes) { in data() 226 uint32_t count, void *data, size_t sizeBytes) { in read() 243 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in read() 274 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData() 307 void *data, uint32_t cIdx, size_t sizeBytes) { in elementRead() 684 uint32_t count, const void *data, size_t sizeBytes) { in rsi_Allocation1DData() 714 void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationRead() 898 uint32_t count, void *data, size_t sizeBytes) { in rsi_Allocation1DRead() 904 uint32_t lod, void *data, size_t sizeBytes, size_t eoff) { in rsi_AllocationElementRead() 911 uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsi_Allocation2DRead() [all …]
|
H A D | rsHidlAdaptation.cpp | 434 … const void *data, size_t sizeBytes, uint32_t usages) in AllocationCreateFromBitmap() 448 … const void *data, size_t sizeBytes, uint32_t usages) in AllocationCubeCreateFromBitmap() 549 …::AllocationCopyToBitmap (RsContext context, RsAllocation allocation, void *data, size_t sizeBytes) in AllocationCopyToBitmap() 557 uint32_t count, const void *data, size_t sizeBytes) in Allocation1DData() 567 … uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) in Allocation1DElementData() 578 … uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) in AllocationElementData() 590 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) in Allocation2DData() 618 …aptation::AllocationRead (RsContext context, RsAllocation allocation, void *data, size_t sizeBytes) in AllocationRead() 626 uint32_t count, void *data, size_t sizeBytes) in Allocation1DRead() 634 … uint32_t lod, void *data, size_t sizeBytes, size_t eoff) in AllocationElementRead() [all …]
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
H A D | FileSizeFormatter.java | 57 @NonNull Context context, long sizeBytes, int suffix, long mult) { in formatFileSize() 80 Resources res, long sizeBytes, int suffix, long mult) { in formatBytes()
|
/aosp12/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
H A D | BlobInfo.java | 42 public BlobInfo(long id, long expiryTimeMs, CharSequence label, long sizeBytes, in BlobInfo() 103 private static String formatBlobSize(long sizeBytes) { in formatBlobSize()
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/storage/ |
H A D | SharedDataUtils.java | 43 static String formatSize(long sizeBytes) { in formatSize()
|
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | InstallInstalling.java | 316 long sizeBytes = file.length(); in doInBackground() local 318 .openWrite("PackageInstaller", 0, sizeBytes)) { in doInBackground() argument
|
/aosp12/frameworks/av/media/libaaudio/tests/ |
H A D | test_block_adapter.cpp | 82 int32_t sizeBytes = variableCount * sizeof(int32_t); in testInputWrite() local 109 int32_t sizeBytes = variableCount * sizeof(int32_t); in testOutputRead() local
|
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/testing/ |
H A D | RandomInputStream.java | 39 public RandomInputStream(Random random, int sizeBytes) { in RandomInputStream()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
H A D | ByteArrayRingBuffer.java | 89 private void pruneToSize(int sizeBytes) { in pruneToSize()
|
/aosp12/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 141 int installLocation, long sizeBytes, TestableInterface testInterface) in resolveInstallVolume() 321 int installLocation, long sizeBytes, int installFlags) { in resolveInstallLocation() 447 long sizeBytes = 0; in calculateInstalledSize() local
|
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
H A D | StorageInfo.java | 81 public StorageInfo.Builder setSizeBytes(long sizeBytes) { in setSizeBytes()
|
/aosp12/frameworks/base/keystore/java/android/security/keystore2/ |
H A D | KeyStoreCryptoOperationUtils.java | 163 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng()
|
/aosp12/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 830 const void *data, size_t sizeBytes) { in rsdAllocationData1D() 850 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in rsdAllocationData2D() 914 size_t sizeBytes, size_t stride) { in rsdAllocationData3D() 951 void *data, size_t sizeBytes) { in rsdAllocationRead1D() 963 … uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead2D() 993 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead3D() 1114 const void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementData() 1133 void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementRead()
|
/aosp12/system/vold/binder/android/os/ |
H A D | IVoldListener.aidl | 24 long sizeBytes, @utf8InCpp String label, @utf8InCpp String sysPath); in onDiskMetadataChanged()
|
/aosp12/frameworks/base/core/java/android/content/pm/dex/ |
H A D | DexMetadataHelper.java | 88 long sizeBytes = 0; in getPackageDexMetadataSize() local
|
/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 1482 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked() local 1495 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local 1759 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked() local 1772 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local 2401 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked() local 2414 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked() local 2598 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeToUnchecked() local 2611 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy3DRangeToUnchecked() local
|
H A D | RenderScript.java | 576 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D() 579 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D() 610 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D() 613 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D() 627 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D() 629 … int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D() 635 int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementRead() 637 int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementRead() 643 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationRead2D() 646 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationRead2D() [all …]
|
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/ |
H A D | Allocation.java | 1456 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked() local 1469 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local 1713 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked() local 1726 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local 2298 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked() local 2311 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked() local
|
H A D | RenderScript.java | 478 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D() 486 …AllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData1D() 487 …d void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData1D() 520 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D() 523 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D() 555 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D() 558 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D() 572 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D() 574 … int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D() 590 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationRead2D() [all …]
|
/aosp12/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 194 int sizeBytes = mSize * 3; in copyWithPadding() local 206 int sizeBytes = mSize * 3; in copyWithUnPadding() local
|
/aosp12/hardware/interfaces/renderscript/1.0/default/ |
H A D | Context.cpp | 156 Return<void> Context::allocationCopyToBitmap(Allocation allocation, Ptr data, Size sizeBytes) { in allocationCopyToBitmap() 225 Return<void> Context::allocationRead(Allocation allocation, Ptr data, Size sizeBytes) { in allocationRead() 233 …ead(Allocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, Ptr data, Size sizeBytes) { in allocation1DRead() 244 …ocation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, Ptr data, Size sizeBytes, Size compIdx)… in allocationElementRead() 257 …t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, Ptr data, Size sizeBytes, Size stride) { in allocation2DRead() 272 …_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) { in allocation3DRead()
|
/aosp12/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 318 int sizeBytes = mSize * 3; in copyWithPadding() local 330 int sizeBytes = mSize * 3; in copyWithUnPadding() local 1387 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D() 1403 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData() 1426 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D() 1471 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D() 1529 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D() 1545 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementRead() 1567 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D() 1584 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, in nAllocationRead3D()
|
/aosp12/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 323 int sizeBytes = mSize * 3; in copyWithPadding() local 335 int sizeBytes = mSize * 3; in copyWithUnPadding() local 1175 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D() 1189 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData1D() 1222 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D() 1261 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D() 1310 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D() 1342 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
|