/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | ByteArrayRingBuffer.java | 89 private void pruneToSize(int sizeBytes) { argument 92 while (i < mArrayList.size() && newBytesUsed > sizeBytes) {
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeyStoreCryptoOperationUtils.java | 98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { argument 99 if (sizeBytes <= 0) { 105 byte[] result = new byte[sizeBytes];
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 195 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 D | rsAllocation.h | 132 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 D | rsHidlAdaptation.cpp | 434 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 D | rs_hal.h | 246 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/base/core/java/android/text/format/ |
H A D | Formatter.java | 96 * @param sizeBytes size value to be formatted, in bytes 99 public static String formatFileSize(@Nullable Context context, long sizeBytes) { argument 100 return formatFileSize(context, sizeBytes, FLAG_DEFAULT); 107 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { argument 108 return formatFileSize(context, sizeBytes, FLAG_SHORTER); 111 private static String formatFileSize(@Nullable Context context, long sizeBytes, int flags) { argument 115 final RoundedBytesResult res = RoundedBytesResult.roundBytes(sizeBytes, flags); 175 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { argument 176 final RoundedBytesResult rounded = RoundedBytesResult.roundBytes(sizeBytes, flags); 238 static RoundedBytesResult roundBytes(long sizeBytes, in argument [all...] |
/frameworks/av/media/libaaudio/tests/ |
H A D | test_block_adapter.cpp | 82 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 D | PackageHelper.java | 94 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, argument 97 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; 120 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { argument 122 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; 363 return (params.sizeBytes <= storage.getAllocatableBytes(target, 411 int installLocation, long sizeBytes, TestableInterface testInterface) 416 params.sizeBytes = sizeBytes; 433 params.sizeBytes, testableInterface); 473 if (availBytes >= params.sizeBytes) { 410 resolveInstallVolume(Context context, String packageName, int installLocation, long sizeBytes, TestableInterface testInterface) argument 542 resolveInstallLocation(Context context, String packageName, int installLocation, long sizeBytes, int installFlags) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 113 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 D | rsdAllocation.cpp | 820 const void *data, size_t sizeBytes) { 840 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { 904 size_t sizeBytes, size_t stride) { 941 void *data, size_t sizeBytes) { 953 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { 983 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { 1104 const void *data, uint32_t cIdx, size_t sizeBytes) { 1117 memcpy(ptr, data, sizeBytes); 1123 void *data, uint32_t cIdx, size_t sizeBytes) { 1131 memcpy(data, ptr, sizeBytes); 818 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 838 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 900 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 939 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 951 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 980 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 1102 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 1121 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 D | rsovAllocation.h | 91 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 D | rsovAllocation.cpp | 321 const void *data, size_t sizeBytes) { 340 const void *data, size_t sizeBytes, size_t stride) { 392 const void *data, size_t sizeBytes, size_t stride) { 419 size_t sizeBytes) { 433 void *data, size_t sizeBytes, size_t stride) { 462 void *data, size_t sizeBytes, size_t stride) { 673 size_t sizeBytes) { 685 memcpy(ptr, data, sizeBytes); 690 uint32_t cIdx, size_t sizeBytes) { 697 memcpy(data, ptr, sizeBytes); 319 rsovAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 337 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 389 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 417 rsovAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 430 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 459 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 670 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 688 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/rs/java/android/renderscript/ |
H A D | RenderScript.java | 535 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 D | Allocation.java | 1478 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 D | Allocation.java | 1451 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 D | RenderScript.java | 473 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, argument 475 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, argument 478 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding); 481 native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument 482 synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument 484 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); 487 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 488 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 490 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 515 int w, int h, Object d, int sizeBytes, in 514 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 517 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 549 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 552 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 566 rsnAllocationRead1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument 568 nAllocationRead1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument 584 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 587 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 D | DefaultContainerService.java | 167 final long sizeBytes; 170 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride); 187 pkg.packageName, pkg.installLocation, sizeBytes, flags); 301 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle, 305 final String newMountPath = PackageHelper.createSdDir(sizeBytes, newCid, key,
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 1054 public long sizeBytes = -1; field in class:PackageInstaller.SessionParams 1093 sizeBytes = source.readLong(); 1143 public void setSize(long sizeBytes) { argument 1144 this.sizeBytes = sizeBytes; 1303 pw.printPair("sizeBytes", sizeBytes); 1327 dest.writeLong(sizeBytes); 1376 public long sizeBytes; field in class:PackageInstaller.SessionInfo 1412 sizeBytes [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommand.java | 174 if (params.sessionParams.sizeBytes == -1 && !STDIN_PATH.equals(inPath)) { 205 if (inPath == null && params.sessionParams.sizeBytes == -1) { 209 if (doWriteSplit(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk", 285 long sizeBytes = -1; 290 sizeBytes = Long.parseLong(getNextArg()); 299 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 1210 final long sizeBytes = Long.parseLong(getNextArg()); 1211 if (sizeBytes <= 0) { 1214 sessionParams.setSize(sizeBytes); 1385 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, Strin argument [all...] |
H A D | PackageInstallerSession.java | 138 private static final String ATTR_SIZE_BYTES = "sizeBytes"; 406 info.sizeBytes = params.sizeBytes; 1413 prepareExternalStageCid(stageCid, params.sizeBytes); 1607 writeLongAttribute(out, ATTR_SIZE_BYTES, params.sizeBytes); 1705 params.sizeBytes = readLongAttribute(in, ATTR_SIZE_BYTES);
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 411 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 D | android_renderscript_RenderScript.cpp | 318 int sizeBytes = mSize * 3; local 322 memcpy(dst, src, sizeBytes); 324 src += sizeBytes; 330 int sizeBytes = mSize * 3; local 334 memcpy(dst, src, sizeBytes); 335 dst += sizeBytes; 1391 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, 1396 ALOGD("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), " 1397 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes, 1401 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes); 1390 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 1405 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1429 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 1474 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 1532 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 1547 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1570 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 1587 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 D | Allocation.cpp | 194 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 D | android_renderscript_RenderScript.cpp | 321 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...] |