Searched refs:sizeBytes (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DByteArrayRingBuffer.java89 private void pruneToSize(int sizeBytes) { argument
92 while (i < mArrayList.size() && newBytesUsed > sizeBytes) {
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyStoreCryptoOperationUtils.java98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { argument
99 if (sizeBytes <= 0) {
105 byte[] result = new byte[sizeBytes];
/frameworks/rs/
H A DrsAllocation.cpp195 uint32_t count, const void *data, size_t sizeBytes) {
198 if ((count * eSize) != sizeBytes) {
202 (count * eSize), sizeBytes);
208 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
213 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
214 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
220 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
221 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
226 uint32_t count, void *data, size_t sizeBytes) {
229 if ((count * eSize) != sizeBytes) {
194 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
212 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
218 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
225 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
242 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
261 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
273 elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument
306 elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument
676 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
683 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
689 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
695 rsi_AllocationElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
701 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
707 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
714 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
763 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
785 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
897 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
903 rsi_AllocationElementRead(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, void *data, size_t sizeBytes, size_t eoff) argument
909 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
916 rsi_Allocation3DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsAllocation.h132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
134 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride);
136 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride);
138 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
140 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride);
142 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride);
145 const void *data, uint32_t elementOff, size_t sizeBytes);
148 void *data, uint32_t elementOff, size_t sizeBytes);
H A DrsHidlAdaptation.cpp434 const void *data, size_t sizeBytes, uint32_t usages)
439 _bitmap.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes);
448 const void *data, size_t sizeBytes, uint32_t usages)
453 _bitmap.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes);
549 void RsHidlAdaptation::AllocationCopyToBitmap (RsContext context, RsAllocation allocation, void *data, size_t sizeBytes) argument
553 GetIContextHandle(context)->allocationCopyToBitmap(_allocation, data, sizeBytes);
557 uint32_t count, const void *data, size_t sizeBytes)
562 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes);
567 uint32_t lod, const void *data, size_t sizeBytes, size_t eoff)
572 _data.setToExternal(reinterpret_cast<uint8_t *>(const_cast<void *>(data)), sizeBytes);
432 AllocationCreateFromBitmap(RsContext context, RsType type, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
446 AllocationCubeCreateFromBitmap(RsContext context, RsType type, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
556 Allocation1DData(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
566 Allocation1DElementData(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
577 AllocationElementData(RsContext context, RsAllocation allocation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
588 Allocation2DData(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
600 Allocation3DData(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
618 AllocationRead(RsContext context, RsAllocation allocation, void *data, size_t sizeBytes) argument
625 Allocation1DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
633 AllocationElementRead(RsContext context, RsAllocation allocation, uint32_t x, uint32_t y, uint32_t z, uint32_t lod, void *data, size_t sizeBytes, size_t eoff) argument
641 Allocation2DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
650 Allocation3DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A Drs_hal.h246 const void *data, size_t sizeBytes);
250 const void *data, size_t sizeBytes, size_t stride);
253 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes,
258 void *data, size_t sizeBytes);
262 void *data, size_t sizeBytes, size_t stride);
265 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes,
297 const void *data, uint32_t elementOff, size_t sizeBytes);
300 void *data, uint32_t elementOff, size_t sizeBytes);
/frameworks/av/media/libaaudio/tests/
H A Dtest_block_adapter.cpp82 int32_t sizeBytes = variableCount * sizeof(int32_t); local
83 return mFixedBlockWriter.processVariableBlock((uint8_t *) mTestBuffer, sizeBytes);
109 int32_t sizeBytes = variableCount * sizeof(int32_t); local
110 int32_t result = mFixedBlockReader.processVariableBlock((uint8_t *) mTestBuffer, sizeBytes);
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java93 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, argument
96 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1;
119 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { argument
121 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1;
362 return (params.sizeBytes <= storage.getAllocatableBytes(target,
410 int installLocation, long sizeBytes, TestableInterface testInterface)
415 params.sizeBytes = sizeBytes;
432 params.sizeBytes, testableInterface);
471 if (availBytes >= params.sizeBytes) {
409 resolveInstallVolume(Context context, String packageName, int installLocation, long sizeBytes, TestableInterface testInterface) argument
540 resolveInstallLocation(Context context, String packageName, int installLocation, long sizeBytes, int installFlags) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java79 * @param sizeBytes size value to be formatted, in bytes
82 public static String formatFileSize(@Nullable Context context, long sizeBytes) { argument
86 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 0);
95 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { argument
99 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SHORTER);
105 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { argument
106 final boolean isNegative = (sizeBytes < 0);
107 float result = isNegative ? -sizeBytes : sizeBytes;
/frameworks/rs/driver/
H A DrsdAllocation.h113 const void *data, size_t sizeBytes);
118 const void *data, size_t sizeBytes, size_t stride);
122 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes,
128 void *data, size_t sizeBytes);
133 void *data, size_t sizeBytes, size_t stride);
137 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes,
170 const void *data, uint32_t elementOff, size_t sizeBytes);
175 void *data, uint32_t elementOff, size_t sizeBytes);
H A DrsdAllocation.cpp818 const void *data, size_t sizeBytes) {
838 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
902 size_t sizeBytes, size_t stride) {
939 void *data, size_t sizeBytes) {
951 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
981 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) {
1102 const void *data, uint32_t cIdx, size_t sizeBytes) {
1115 memcpy(ptr, data, sizeBytes);
1121 void *data, uint32_t cIdx, size_t sizeBytes) {
1129 memcpy(data, ptr, sizeBytes);
816 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
836 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
898 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
937 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
949 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
978 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
1100 rsdAllocationElementData(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument
1119 rsdAllocationElementRead(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument
[all...]
/frameworks/rs/rsov/driver/
H A DrsovAllocation.h91 const void *data, size_t sizeBytes);
97 uint32_t h, const void *data, size_t sizeBytes,
104 uint32_t d, const void *data, size_t sizeBytes,
110 void *data, size_t sizeBytes);
116 uint32_t h, void *data, size_t sizeBytes,
123 uint32_t d, void *data, size_t sizeBytes,
217 uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes);
222 uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes);
H A DrsovAllocation.cpp322 const void *data, size_t sizeBytes) {
341 const void *data, size_t sizeBytes, size_t stride) {
393 const void *data, size_t sizeBytes, size_t stride) {
420 size_t sizeBytes) {
434 void *data, size_t sizeBytes, size_t stride) {
463 void *data, size_t sizeBytes, size_t stride) {
674 size_t sizeBytes) {
686 memcpy(ptr, data, sizeBytes);
691 uint32_t cIdx, size_t sizeBytes) {
698 memcpy(data, ptr, sizeBytes);
320 rsovAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
338 rsovAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
390 rsovAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
418 rsovAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
431 rsovAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
460 rsovAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
671 rsovAllocationElementData(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument
689 rsovAllocationElementRead(const Context *rsc, const Allocation *alloc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java955 public long sizeBytes = -1; field in class:PackageInstaller.SessionParams
994 sizeBytes = source.readLong();
1024 public void setSize(long sizeBytes) { argument
1025 this.sizeBytes = sizeBytes;
1174 pw.printPair("sizeBytes", sizeBytes);
1198 dest.writeLong(sizeBytes);
1247 public long sizeBytes; field in class:PackageInstaller.SessionInfo
1270 sizeBytes
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java535 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, argument
537 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, argument
540 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding);
543 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); argument
544 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument
546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
570 int w, int h, Object d, int sizeBytes, int dt,
573 int w, int h, Object d, int sizeBytes, Element.DataType dt,
576 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding);
604 int w, int h, int depth, Object d, int sizeBytes, in
569 rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
572 nAllocationData2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
603 rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
606 nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
620 rsnAllocationRead1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
622 nAllocationRead1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
628 rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
630 nAllocationElementRead(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
636 rsnAllocationRead2D(long con, long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
639 nAllocationRead2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
646 rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
649 nAllocationRead3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
[all...]
H A DAllocation.java1478 int sizeBytes = arrayLen * dt.mSize;
1480 if (dataSize / 4 * 3 > sizeBytes) {
1484 sizeBytes = dataSize;
1486 if (dataSize > sizeBytes) {
1491 array, sizeBytes, dt,
1755 int sizeBytes = arrayLen * dt.mSize;
1757 if (dataSize / 4 * 3 > sizeBytes) {
1761 sizeBytes = dataSize;
1763 if (dataSize > sizeBytes) {
1768 array, sizeBytes, d
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java1451 int sizeBytes = arrayLen * dt.mSize;
1453 if (dataSize / 4 * 3 > sizeBytes) {
1457 sizeBytes = dataSize;
1459 if (dataSize > sizeBytes) {
1464 array, sizeBytes, dt,
1708 int sizeBytes = arrayLen * dt.mSize;
1710 if (dataSize / 4 * 3 > sizeBytes) {
1714 sizeBytes = dataSize;
1716 if (dataSize > sizeBytes) {
1721 array, sizeBytes, d
[all...]
H A DRenderScript.java461 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, argument
463 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, argument
466 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding);
469 native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument
470 synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument
472 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
475 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes);
476 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) {
478 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
503 int w, int h, Object d, int sizeBytes, in
502 rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
505 nAllocationData2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
537 rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
540 nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
554 rsnAllocationRead1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
556 nAllocationRead1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
572 rsnAllocationRead2D(long con, long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
575 nAllocationRead2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
[all...]
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java167 final long sizeBytes;
170 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride);
187 pkg.packageName, pkg.installLocation, sizeBytes, flags);
322 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle,
326 final String newMountPath = PackageHelper.createSdDir(sizeBytes, newCid, key,
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerShellCommand.java172 if (params.sessionParams.sizeBytes == -1 && !STDIN_PATH.equals(inPath)) {
203 if (inPath == null && params.sessionParams.sizeBytes == -1) {
207 if (doWriteSplit(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk",
283 long sizeBytes = -1;
288 sizeBytes = Long.parseLong(getNextArg());
297 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/);
1193 final long sizeBytes = Long.parseLong(getNextArg());
1194 if (sizeBytes <= 0) {
1197 sessionParams.setSize(sizeBytes);
1352 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, Strin argument
[all...]
H A DPackageInstallerSession.java303 info.sizeBytes = params.sizeBytes;
1124 prepareExternalStageCid(stageCid, params.sizeBytes);
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java411 if (params.sessionParams.sizeBytes == -1 && !STDIN_PATH.equals(inPath)) {
435 if (inPath == null && params.sessionParams.sizeBytes == -1) {
439 if (doWriteSession(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk",
480 long sizeBytes = -1;
485 sizeBytes = Long.parseLong(nextArg());
494 return doWriteSession(sessionId, path, sizeBytes, splitName, true /*logSuccess*/);
560 final long sizeBytes = Long.parseLong(nextOptionData());
561 if (sizeBytes <= 0) {
564 sessionParams.setSize(sizeBytes);
611 private int doWriteSession(int sessionId, String inPath, long sizeBytes, Strin argument
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp317 int sizeBytes = mSize * 3; local
321 memcpy(dst, src, sizeBytes);
323 src += sizeBytes;
329 int sizeBytes = mSize * 3; local
333 memcpy(dst, src, sizeBytes);
334 dst += sizeBytes;
1400 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize,
1405 ALOGD("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), "
1406 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes,
1410 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes);
1399 nAllocationData1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1414 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1438 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1483 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1541 nAllocationRead1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1556 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1579 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1596 nAllocationRead3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, jint mSize, jboolean usePadding) argument
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp194 int sizeBytes = mSize * 3; local
198 memcpy(dst, src, sizeBytes);
200 src += sizeBytes;
206 int sizeBytes = mSize * 3; local
210 memcpy(dst, src, sizeBytes);
211 dst += sizeBytes;
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp321 int sizeBytes = mSize * 3; local
325 memcpy(dst, src, sizeBytes);
327 src += sizeBytes;
333 int sizeBytes = mSize * 3; local
337 memcpy(dst, src, sizeBytes);
338 dst += sizeBytes;
1173 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize,
1177 LOG_API("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), "
1178 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes,
1181 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes);
1172 nAllocationData1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1186 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1219 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1258 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1307 nAllocationRead1D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint offset, jint lod, jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1339 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
[all...]

Completed in 375 milliseconds

12