Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DBlobStorePerfTests.java128 final long sizeBytes = DataUnit.MEBIBYTES.toBytes(fileSizeInMb); in testDirectReads() local
149 final long sizeBytes = DataUnit.MEBIBYTES.toBytes(fileSizeInMb); in testBlobStoreReads() local
168 final long sizeBytes = DataUnit.MEBIBYTES.toBytes(fileSizeInMb); in testDirectWrites() local
185 final long sizeBytes = DataUnit.MEBIBYTES.toBytes(fileSizeInMb); in testBlobStoreWrites() local
193 .AutoCloseOutputStream(session.openWrite(0, sizeBytes))) { in testBlobStoreWrites() argument
203 private void readData(FileInputStream inputStream, long sizeBytes) throws Exception { in readData()
211 private void writeData(FileOutputStream outputStream, long sizeBytes) throws Exception { in writeData()
/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/core/java/android/text/format/
DFormatter.java109 public static String formatFileSize(@Nullable Context context, long sizeBytes) { in formatFileSize()
114 public static String formatFileSize(@Nullable Context context, long sizeBytes, int flags) { in formatFileSize()
126 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { in formatShortFileSize()
200 public static RoundedBytesResult roundBytes(long sizeBytes, int flags) { in roundBytes()
276 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobInfo.java42 public BlobInfo(long id, long expiryTimeMs, CharSequence label, long sizeBytes, in BlobInfo()
104 private static String formatBlobSize(long sizeBytes) { in formatBlobSize()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
DAppStorageSize.kt42 val sizeBytes = calculateSizeBytes(context) in getStorageSize() constant
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStaging.java296 final long sizeBytes = getContentSizeBytes(); in onPreExecute() local
318 long sizeBytes = getContentSizeBytes(); in doInBackground() local
321 try (OutputStream out = session.openWrite("PackageInstaller", 0, sizeBytes)) { in doInBackground() argument
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DSessionStager.kt56 val sizeBytes = getContentSizeBytes() in <lambda>() constant
/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/keystore2/
DKeyStoreCryptoOperationUtils.java155 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng()
/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/com/android/internal/content/
DInstallLocationUtils.java147 int installLocation, long sizeBytes, TestableInterface testInterface) in resolveInstallVolume()
446 long sizeBytes = 0; in calculateInstalledSize() local
/frameworks/base/services/core/java/com/android/server/pm/
DFreeStorageHelper.java191 final long sizeBytes = PackageManagerServiceUtils.calculateInstalledSize(resolvedPath, in freeCacheForInstallation() local
DMovePackageHelper.java225 final long sizeBytes; in movePackageInternal() local
DPackageManagerShellCommand.java1743 long sizeBytes = -1; in runInstallWrite() local
3473 final long sizeBytes = Long.parseLong(getNextArg()); in makeInstallParams() local
4020 long sizeBytes; in processArgForStdin() local
4097 private ArchivedPackageParcel getArchivedPackage(String inPath, long sizeBytes) in getArchivedPackage()
4175 private Pair<ParcelFileDescriptor, Long> openInFile(String inPath, long sizeBytes) in openInFile()
4201 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSplit()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1482 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
DRenderScript.java541 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
543 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
549 …ata(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData()
550 …ElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData()
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()
629int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java89 long sizeBytes = 0; in getPackageDexMetadataSize() local
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java1456 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
DRenderScript.java478 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
480 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
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()
574int 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.cpp318 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()
/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/opt/telephony/src/java/com/android/internal/telephony/satellite/
DDatagramDispatcher.java213 int sizeBytes = datagram.getSatelliteDatagram().length; in getDatagramRoundedSizeBytes() local
DDatagramReceiver.java734 int sizeBytes = satelliteDatagram.getSatelliteDatagram().length; in reportMetrics() local

12