/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 | 193 uint32_t count, const void *data, size_t sizeBytes) { 196 if ((count * eSize) != sizeBytes) { 199 (count * eSize), sizeBytes); 205 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 210 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { 211 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 217 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { 218 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 223 uint32_t count, void *data, size_t sizeBytes) { 226 if ((count * eSize) != sizeBytes) { 192 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 209 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 215 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 222 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 238 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 256 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 268 elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument 303 elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument 716 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument 723 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 729 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument 735 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 741 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 747 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 754 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument 803 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument 825 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument 937 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 943 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 949 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 956 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 | 136 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 138 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride); 140 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride); 142 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 144 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride); 146 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride); 149 const void *data, uint32_t elementOff, size_t sizeBytes); 152 void *data, uint32_t elementOff, size_t sizeBytes);
|
H A D | rs_hal.h | 243 const void *data, size_t sizeBytes); 247 const void *data, size_t sizeBytes, size_t stride); 250 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, 255 void *data, size_t sizeBytes); 259 void *data, size_t sizeBytes, size_t stride); 262 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, 294 const void *data, uint32_t elementOff, size_t sizeBytes); 297 void *data, uint32_t elementOff, size_t sizeBytes);
|
/frameworks/base/core/java/android/text/format/ |
H A D | Formatter.java | 74 * @param sizeBytes size value to be formatted, in bytes 77 public static String formatFileSize(@Nullable Context context, long sizeBytes) { argument 81 final BytesResult res = formatBytes(context.getResources(), sizeBytes, 0); 90 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { argument 94 final BytesResult res = formatBytes(context.getResources(), sizeBytes, FLAG_SHORTER); 100 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { argument 101 final boolean isNegative = (sizeBytes < 0); 102 float result = isNegative ? -sizeBytes : sizeBytes;
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 115 const void *data, size_t sizeBytes); 120 const void *data, size_t sizeBytes, size_t stride); 124 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, 130 void *data, size_t sizeBytes); 135 void *data, size_t sizeBytes, size_t stride); 139 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, 172 const void *data, uint32_t elementOff, size_t sizeBytes); 177 void *data, uint32_t elementOff, size_t sizeBytes);
|
H A D | rsdAllocation.cpp | 872 const void *data, size_t sizeBytes) { 892 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { 956 size_t sizeBytes, size_t stride) { 993 void *data, size_t sizeBytes) { 1005 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { 1035 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { 1156 const void *data, uint32_t cIdx, size_t sizeBytes) { 1169 memcpy(ptr, data, sizeBytes); 1175 void *data, uint32_t cIdx, size_t sizeBytes) { 1183 memcpy(data, ptr, sizeBytes); 870 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 890 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 952 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 991 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 1003 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 1032 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 1154 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 1173 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/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 87 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, argument 90 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; 113 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { argument 115 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; 350 int installLocation, long sizeBytes) throws IOException { 363 final boolean fitsOnInternal = fitsOnInternal(context, sizeBytes); 371 if (availBytes >= sizeBytes) { 425 public static boolean fitsOnInternal(Context context, long sizeBytes) { argument 428 return (sizeBytes <= storage.getStorageBytesUntilLow(target)); 431 public static boolean fitsOnExternal(Context context, long sizeBytes) { argument 349 resolveInstallVolume(Context context, String packageName, int installLocation, long sizeBytes) argument 443 resolveInstallLocation(Context context, String packageName, int installLocation, long sizeBytes, int installFlags) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 884 public long sizeBytes = -1; field in class:PackageInstaller.SessionParams 922 sizeBytes = source.readLong(); 952 public void setSize(long sizeBytes) { argument 953 this.sizeBytes = sizeBytes; 1074 pw.printPair("sizeBytes", sizeBytes); 1097 dest.writeLong(sizeBytes); 1144 public long sizeBytes; field in class:PackageInstaller.SessionInfo 1166 sizeBytes [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/support/v8/renderscript/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 | 461 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 D | DefaultContainerService.java | 166 final long sizeBytes; 169 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocked, abiOverride); 190 pkg.packageName, pkg.installLocation, sizeBytes, flags); 319 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle, 323 final String newMountPath = PackageHelper.createSdDir(sizeBytes, newCid, key,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommand.java | 148 if (params.sessionParams.sizeBytes < 0 && inPath != null) { 172 if (inPath == null && params.sessionParams.sizeBytes == 0) { 176 if (doWriteSplit(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk", 252 long sizeBytes = -1; 257 sizeBytes = Long.parseLong(getNextArg()); 266 return doWriteSplit(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 1174 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, argument 1177 if (sizeBytes <= 0) { 1199 in = new SizedInputStream(getRawInputStream(), sizeBytes); 1201 out = session.openWrite(splitName, 0, sizeBytes); [all...] |
H A D | PackageInstallerService.java | 137 private static final String ATTR_SIZE_BYTES = "sizeBytes"; 404 params.sizeBytes = readLongAttribute(in, ATTR_SIZE_BYTES); 479 writeLongAttribute(out, ATTR_SIZE_BYTES, params.sizeBytes); 629 if (!PackageHelper.fitsOnInternal(mContext, params.sizeBytes)) { 634 if (!PackageHelper.fitsOnExternal(mContext, params.sizeBytes)) { 653 params.appPackageName, params.installLocation, params.sizeBytes); 819 static void prepareExternalStageCid(String stageCid, long sizeBytes) throws IOException { argument 820 if (PackageHelper.createSdDir(sizeBytes, stageCid, PackageManagerService.getEncryptKey(),
|
H A D | PackageInstallerSession.java | 297 info.sizeBytes = params.sizeBytes; 1095 prepareExternalStageCid(stageCid, params.sizeBytes);
|
H A D | PackageManagerService.java | 13022 final long sizeBytes = mContainerService.calculateInstalledSize( 13026 mInstaller.freeCache(null, sizeBytes + lowThreshold); 20388 final long sizeBytes; 20390 sizeBytes = stats.codeSize + stats.dataSize; 20392 sizeBytes = stats.codeSize; 20395 if (sizeBytes > storage.getStorageBytesUntilLow(measurePath)) { 20453 ((deltaFreeBytes * 80) / sizeBytes), 0, 80);
|
/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; 1388 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, 1393 ALOGD("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), " 1394 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes, 1398 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes); 1387 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 1402 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1426 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 1471 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 1529 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 1544 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument 1567 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 1584 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/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 372 if (params.sessionParams.sizeBytes < 0 && inPath != null) { 396 if (inPath == null && params.sessionParams.sizeBytes == 0) { 400 if (doWriteSession(sessionId, inPath, params.sessionParams.sizeBytes, "base.apk", 439 long sizeBytes = -1; 444 sizeBytes = Long.parseLong(nextArg()); 453 return doWriteSession(sessionId, path, sizeBytes, splitName, true /*logSuccess*/); 556 private int doWriteSession(int sessionId, String inPath, long sizeBytes, String splitName, argument 563 sizeBytes = file.length(); 579 in = new SizedInputStream(System.in, sizeBytes); 581 out = session.openWrite(splitName, 0, sizeBytes); [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/support/v8/renderscript/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...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 6731 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, argument 6737 if (!assertIdmapHeader(map, sizeBytes)) {
|