/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/com/android/internal/content/ |
H A D | PackageHelper.java | 142 int installLocation, long sizeBytes, TestableInterface testInterface) 147 params.sizeBytes = sizeBytes; 164 params.sizeBytes, testableInterface); 191 fitsOnInternal = (params.sizeBytes <= availBytes); 194 if (availBytes >= params.sizeBytes) { 262 return (params.sizeBytes <= storage.getAllocatableBytes(target, 269 return (params.sizeBytes > 0) && !primary.isEmulated() 271 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); 276 int installLocation, long sizeBytes, in 141 resolveInstallVolume(Context context, String packageName, int installLocation, long sizeBytes, TestableInterface testInterface) argument 275 resolveInstallLocation(Context context, String packageName, int installLocation, long sizeBytes, int installFlags) 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/android/text/format/ |
H A D | Formatter.java | 90 * @param sizeBytes size value to be formatted, in bytes 93 public static String formatFileSize(@Nullable Context context, long sizeBytes) { argument 97 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SI_UNITS); 106 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { argument 110 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 117 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { argument 119 final boolean isNegative = (sizeBytes < 0); 120 float result = isNegative ? -sizeBytes : sizeBytes;
|
/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 | 829 const void *data, size_t sizeBytes) { 849 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { 913 size_t sizeBytes, size_t stride) { 950 void *data, size_t sizeBytes) { 962 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { 992 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { 1113 const void *data, uint32_t cIdx, size_t sizeBytes) { 1126 memcpy(ptr, data, sizeBytes); 1132 void *data, uint32_t cIdx, size_t sizeBytes) { 1140 memcpy(data, ptr, sizeBytes); 827 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 847 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 909 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 948 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 960 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 989 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 1111 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 1130 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/core/java/android/content/pm/dex/ |
H A D | DexMetadataHelper.java | 61 long sizeBytes = 0; 64 sizeBytes += new File(dexMetadata).length(); 66 return sizeBytes;
|
/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/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 113 final long sizeBytes; 116 sizeBytes = PackageHelper.calculateInstalledSize(pkg, abiOverride); 133 pkg.packageName, pkg.installLocation, sizeBytes, flags);
|
/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/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 1101 public long sizeBytes = -1; field in class:PackageInstaller.SessionParams 1142 sizeBytes = source.readLong(); 1193 public void setSize(long sizeBytes) { argument 1194 this.sizeBytes = sizeBytes; 1365 pw.printPair("sizeBytes", sizeBytes); 1390 dest.writeLong(sizeBytes); 1440 public long sizeBytes; field in class:PackageInstaller.SessionInfo 1476 sizeBytes [all...] |
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 319 int sizeBytes = mSize * 3; local 323 memcpy(dst, src, sizeBytes); 325 src += sizeBytes; 331 int sizeBytes = mSize * 3; local 335 memcpy(dst, src, sizeBytes); 336 dst += sizeBytes; 1392 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, 1397 ALOGD("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), " 1398 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes, 1402 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes); 1391 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 1406 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1430 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 1475 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 1533 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 1548 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1571 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 1588 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 | 323 int sizeBytes = mSize * 3; local 327 memcpy(dst, src, sizeBytes); 329 src += sizeBytes; 335 int sizeBytes = mSize * 3; local 339 memcpy(dst, src, sizeBytes); 340 dst += sizeBytes; 1175 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, 1179 LOG_API("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), " 1180 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes, 1183 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes); 1174 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 1188 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1221 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 1260 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 1309 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 1341 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...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommand.java | 324 if (params.sessionParams.sizeBytes == -1 && !STDIN_PATH.equals(inPath)) { 911 if (inPath == null && params.sessionParams.sizeBytes == -1) { 915 if (doWriteSplit(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk", 958 long sizeBytes = -1; 963 sizeBytes = Long.parseLong(getNextArg()); 972 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 2193 final long sizeBytes = Long.parseLong(getNextArg()); 2194 if (sizeBytes <= 0) { 2197 sessionParams.setSize(sizeBytes); 2419 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, Strin argument [all...] |
H A D | PackageInstallerSession.java | 144 private static final String ATTR_SIZE_BYTES = "sizeBytes"; 448 info.sizeBytes = params.sizeBytes; 689 if (params.sizeBytes > 0) { 692 addClientProgress((float) delta / (float) params.sizeBytes); 1687 writeLongAttribute(out, ATTR_SIZE_BYTES, params.sizeBytes); 1785 params.sizeBytes = readLongAttribute(in, ATTR_SIZE_BYTES);
|