Home
last modified time | relevance | path

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

/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.java82 public static String formatFileSize(@Nullable Context context, long sizeBytes) { in formatFileSize()
95 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { in formatShortFileSize()
105 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java93 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, in createSdDir()
119 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { in resizeSdDir()
410 int installLocation, long sizeBytes, TestableInterface testInterface) in resolveInstallVolume()
541 int installLocation, long sizeBytes, int installFlags) { in resolveInstallLocation()
652 long sizeBytes = 0; in calculateInstalledSize() local
/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/opt/net/wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java89 private void pruneToSize(int sizeBytes) { in pruneToSize()
/frameworks/rs/rsov/driver/
DrsovAllocation.cpp322 const void *data, size_t sizeBytes) { in rsovAllocationData1D()
341 const void *data, size_t sizeBytes, size_t stride) { in rsovAllocationData2D()
393 const void *data, size_t sizeBytes, size_t stride) { in rsovAllocationData3D()
420 size_t sizeBytes) { in rsovAllocationRead1D()
434 void *data, size_t sizeBytes, size_t stride) { in rsovAllocationRead2D()
463 void *data, size_t sizeBytes, size_t stride) { in rsovAllocationRead3D()
674 size_t sizeBytes) { in rsovAllocationElementData()
691 uint32_t cIdx, size_t sizeBytes) { in rsovAllocationElementRead()
/frameworks/rs/driver/
DrsdAllocation.cpp818 const void *data, size_t sizeBytes) { in rsdAllocationData1D()
838 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in rsdAllocationData2D()
902 size_t sizeBytes, size_t stride) { in rsdAllocationData3D()
939 void *data, size_t sizeBytes) { in rsdAllocationRead1D()
951 … uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead2D()
981 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead3D()
1102 const void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementData()
1121 void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementRead()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java322 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle, in copyPackageToContainerInner() local
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java480 long sizeBytes = -1; in runInstallWrite() local
560 final long sizeBytes = Long.parseLong(nextOptionData()); in makeInstallParams() local
611 private int doWriteSession(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSession()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java955 public long sizeBytes = -1; field in PackageInstaller.SessionParams
1024 public void setSize(long sizeBytes) { in setSize()
1247 public long sizeBytes; field in PackageInstaller.SessionInfo
/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.java535 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
537 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
543 …ata(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData()
544 …ElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData()
570 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D()
573 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D()
604 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D()
607 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D()
621 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D()
623int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/rs/support/java/src/android/support/v8/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.java461 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
463 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
469 …AllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData1D()
470 …d void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData1D()
503 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D()
506 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D()
538 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D()
541 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D()
555 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D()
557int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java283 long sizeBytes = -1; in runInstallWrite() local
1193 final long sizeBytes = Long.parseLong(getNextArg()); in makeInstallParams() local
1352 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSplit()
DPackageInstallerService.java844 static void prepareExternalStageCid(String stageCid, long sizeBytes) throws IOException { in prepareExternalStageCid()
/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.cpp317 int sizeBytes = mSize * 3; in copyWithPadding() local
329 int sizeBytes = mSize * 3; in copyWithUnPadding() local
1400 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D()
1416 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData()
1439 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D()
1484 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D()
1542 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D()
1558 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementRead()
1580 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
1597 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, in nAllocationRead3D()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp321 int sizeBytes = mSize * 3; in copyWithPadding() local
333 int sizeBytes = mSize * 3; in copyWithUnPadding() local
1173 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D()
1187 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData1D()
1220 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D()
1259 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D()
1308 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D()
1340 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp6897 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, in getIdmapInfo()