Home
last modified time | relevance | path

Searched defs:sizeBytes (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/text/format/
DFormatter.java94 public static String formatFileSize(@Nullable Context context, long sizeBytes) { in formatFileSize()
99 public static String formatFileSize(@Nullable Context context, long sizeBytes, int flags) { in formatFileSize()
112 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { in formatShortFileSize()
124 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes()
/frameworks/rs/
DrsAllocation.cpp195 uint32_t count, const void *data, size_t sizeBytes) { in data()
213 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in data()
220 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { 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()
262 … uint32_t w, uint32_t h, uint32_t d, 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()
676 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationCopyToBitmap()
684 uint32_t count, const void *data, size_t sizeBytes) { in rsi_Allocation1DData()
[all …]
DrsHidlAdaptation.cpp434 … 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()
601 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) in Allocation3DData()
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()
[all …]
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobInfo.java42 public BlobInfo(long id, long expiryTimeMs, CharSequence label, long sizeBytes, in BlobInfo()
103 private static String formatBlobSize(long sizeBytes) { in formatBlobSize()
/frameworks/av/media/libaaudio/tests/
Dtest_block_adapter.cpp82 int32_t sizeBytes = variableCount * sizeof(int32_t); in testInputWrite() local
109 int32_t sizeBytes = variableCount * sizeof(int32_t); in testOutputRead() local
/frameworks/base/keystore/java/android/security/keystore/
DKeyStoreCryptoOperationUtils.java98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/testing/
DRandomInputStream.java39 public RandomInputStream(Random random, int sizeBytes) { in RandomInputStream()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java89 private void pruneToSize(int sizeBytes) { in pruneToSize()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java144 int installLocation, long sizeBytes, TestableInterface testInterface) in resolveInstallVolume()
324 int installLocation, long sizeBytes, int installFlags) { in resolveInstallLocation()
450 long sizeBytes = 0; in calculateInstalledSize() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallInstalling.java351 long sizeBytes = file.length(); in doInBackground() local
353 .openWrite("PackageInstaller", 0, sizeBytes)) { in doInBackground() argument
/frameworks/rs/driver/
DrsdAllocation.cpp830 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()
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java61 long sizeBytes = 0; in getPackageDexMetadataSize() local
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1478 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked() local
1491 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local
1755 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked() local
1768 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local
2397 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked() local
2410 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked() local
2594 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeToUnchecked() local
2607 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy3DRangeToUnchecked() local
DRenderScript.java536 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
538 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
544 …ata(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData()
545 …ElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData()
571 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D()
574 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D()
605 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D()
608 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D()
622 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D()
624int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java1451 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked() local
1464 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local
1708 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked() local
1721 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local
2293 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked() local
2306 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked() local
DRenderScript.java473 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
475 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
481 …AllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData1D()
482 …d void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData1D()
515 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D()
518 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D()
550 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D()
553 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D()
567 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D()
569int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/rs/cpp/
DAllocation.cpp194 int sizeBytes = mSize * 3; in copyWithPadding() local
206 int sizeBytes = mSize * 3; in copyWithUnPadding() local
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp319 int sizeBytes = mSize * 3; in copyWithPadding() local
331 int sizeBytes = mSize * 3; in copyWithUnPadding() local
1388 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D()
1404 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData()
1427 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D()
1472 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D()
1530 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D()
1546 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementRead()
1568 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
1585 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, in nAllocationRead3D()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java1471 public long sizeBytes = -1; field in PackageInstaller.SessionParams
1624 public void setSize(long sizeBytes) { in setSize()
2132 public long sizeBytes; field in PackageInstaller.SessionInfo
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp323 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()
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java764 long sizeBytes = (pfd == null) ? -1 : pfd.getStatSize(); in createAndWriteApkSession() local
770 apkSession.write(apkFile.getName(), 0, sizeBytes, pfd); in createAndWriteApkSession() local
DPackageManagerServiceUtils.java818 final long sizeBytes; in getMinimalPackageInfo() local
DPackageManagerShellCommand.java1422 long sizeBytes = -1; in runInstallWrite() local
2804 final long sizeBytes = Long.parseLong(getNextArg()); in makeInstallParams() local
3133 long sizeBytes; in processArgForStdin() local
3239 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSplit()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java208 long sizeBytes = 0; in writeSplitToInstallSession() local
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7264 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, in getIdmapInfo()

12