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

/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/base/core/java/com/android/internal/content/
H A DPackageHelper.java84 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, argument
87 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1;
110 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { argument
112 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1;
347 int installLocation, long sizeBytes) throws IOException {
358 final boolean fitsOnInternal = fitsOnInternal(context, sizeBytes);
366 if (availBytes >= sizeBytes) {
411 public static boolean fitsOnInternal(Context context, long sizeBytes) { argument
414 return (sizeBytes <= storage.getStorageBytesUntilLow(target));
417 public static boolean fitsOnExternal(Context context, long sizeBytes) { argument
346 resolveInstallVolume(Context context, String packageName, int installLocation, long sizeBytes) argument
429 resolveInstallLocation(Context context, String packageName, int installLocation, long sizeBytes, int installFlags) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp183 uint32_t count, const void *data, size_t sizeBytes) {
186 if ((count * eSize) != sizeBytes) {
189 (count * eSize), sizeBytes);
195 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
200 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
201 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
207 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
208 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
213 uint32_t count, void *data, size_t sizeBytes) {
216 if ((count * eSize) != sizeBytes) {
182 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
199 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
205 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
212 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
228 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
246 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
258 elementData(Context *rsc, uint32_t x, uint32_t y, uint32_t z, const void *data, uint32_t cIdx, size_t sizeBytes) argument
293 elementRead(Context *rsc, uint32_t x, uint32_t y, uint32_t z, void *data, uint32_t cIdx, size_t sizeBytes) argument
656 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
663 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
669 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
675 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
681 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
687 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
694 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
730 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
752 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
853 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
859 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
865 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
872 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 DrsAdapter.cpp40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0);
112 const void *data, size_t sizeBytes) {
113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes, 0);
111 data(Context *rsc, uint32_t x, uint32_t y, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
H A DrsAllocation.h129 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
131 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride);
133 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride);
135 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
137 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride);
139 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride);
142 const void *data, uint32_t elementOff, size_t sizeBytes);
145 void *data, uint32_t elementOff, size_t sizeBytes);
H A DrsAdapter.h47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes);
80 const void *data, size_t sizeBytes);
H A Drs_hal.h217 const void *data, size_t sizeBytes);
221 const void *data, size_t sizeBytes, size_t stride);
224 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes,
229 void *data, size_t sizeBytes);
233 void *data, size_t sizeBytes, size_t stride);
236 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes,
268 const void *data, uint32_t elementOff, size_t sizeBytes);
271 void *data, uint32_t elementOff, size_t sizeBytes);
/frameworks/rs/driver/
H A DrsdAllocation.h110 const void *data, size_t sizeBytes);
115 const void *data, size_t sizeBytes, size_t stride);
119 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes,
125 void *data, size_t sizeBytes);
130 void *data, size_t sizeBytes, size_t stride);
134 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes,
167 const void *data, uint32_t elementOff, size_t sizeBytes);
172 void *data, uint32_t elementOff, size_t sizeBytes);
H A DrsdAllocation.cpp845 const void *data, size_t sizeBytes) {
865 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
927 size_t sizeBytes, size_t stride) {
964 void *data, size_t sizeBytes) {
976 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
1006 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) {
1127 const void *data, uint32_t cIdx, size_t sizeBytes) {
1140 memcpy(ptr, data, sizeBytes);
1146 void *data, uint32_t cIdx, size_t sizeBytes) {
1154 memcpy(data, ptr, sizeBytes);
843 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
863 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
923 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
962 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
974 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
1003 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
1125 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
1144 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/android/text/format/
H A DFormatter.java74 * @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 float result = sizeBytes;
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java877 public long sizeBytes = -1; field in class:PackageInstaller.SessionParams
913 sizeBytes = source.readLong();
942 public void setSize(long sizeBytes) { argument
943 this.sizeBytes = sizeBytes;
1029 pw.printPair("sizeBytes", sizeBytes);
1051 dest.writeLong(sizeBytes);
1097 public long sizeBytes; field in class:PackageInstaller.SessionInfo
1119 sizeBytes
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java509 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, argument
511 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, argument
514 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding);
517 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); argument
518 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument
520 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
544 int w, int h, Object d, int sizeBytes, int dt,
547 int w, int h, Object d, int sizeBytes, Element.DataType dt,
550 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding);
578 int w, int h, int depth, Object d, int sizeBytes, in
543 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
546 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
577 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
580 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
594 rsnAllocationRead1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
596 nAllocationRead1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
602 rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
604 nAllocationElementRead(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
610 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
613 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
620 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
623 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.java1115 int sizeBytes = arrayLen * dt.mSize;
1117 if (dataSize / 4 * 3 > sizeBytes) {
1121 sizeBytes = dataSize;
1123 if (dataSize > sizeBytes) {
1128 array, sizeBytes, dt,
1308 int sizeBytes = arrayLen * dt.mSize;
1310 if (dataSize / 4 * 3 > sizeBytes) {
1314 sizeBytes = dataSize;
1316 if (dataSize > sizeBytes) {
1321 array, sizeBytes, d
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java1056 int sizeBytes = arrayLen * dt.mSize;
1058 if (dataSize / 4 * 3 > sizeBytes) {
1062 sizeBytes = dataSize;
1064 if (dataSize > sizeBytes) {
1069 array, sizeBytes, dt,
1223 int sizeBytes = arrayLen * dt.mSize;
1225 if (dataSize / 4 * 3 > sizeBytes) {
1229 sizeBytes = dataSize;
1231 if (dataSize > sizeBytes) {
1236 array, sizeBytes, d
[all...]
H A DRenderScript.java452 native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, argument
454 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, argument
457 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes, dt.mID, mSize, usePadding);
460 native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument
461 synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument
463 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
466 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes);
467 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) {
469 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
494 int w, int h, Object d, int sizeBytes, in
493 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
496 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
528 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
531 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
545 rsnAllocationRead1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
547 nAllocationRead1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
563 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
566 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.java166 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/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp293 int sizeBytes = mSize * 3; local
297 memcpy(dst, src, sizeBytes);
299 src += sizeBytes;
305 int sizeBytes = mSize * 3; local
309 memcpy(dst, src, sizeBytes);
310 dst += sizeBytes;
1289 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize,
1294 ALOGD("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), "
1295 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes,
1299 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes);
1288 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
1303 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1323 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
1368 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
1426 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
1441 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1460 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
1477 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.cpp195 int sizeBytes = mSize * 3; local
199 memcpy(dst, src, sizeBytes);
201 src += sizeBytes;
207 int sizeBytes = mSize * 3; local
211 memcpy(dst, src, sizeBytes);
212 dst += sizeBytes;
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp311 int sizeBytes = mSize * 3; local
315 memcpy(dst, src, sizeBytes);
317 src += sizeBytes;
323 int sizeBytes = mSize * 3; local
327 memcpy(dst, src, sizeBytes);
328 dst += sizeBytes;
1168 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize,
1172 LOG_API("nAllocation1DData, con(%p), adapter(%p), offset(%i), count(%i), sizeBytes(%i), "
1173 "dataType(%i)", (RsContext)con, (RsAllocation)alloc, offset, count, sizeBytes,
1176 (RsContext)con, alloc, offset, lod, count, ptr, sizeBytes);
1167 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
1181 nAllocationElementData1D(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1214 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
1253 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
1302 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
1334 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 DPackageInstallerService.java137 private static final String ATTR_SIZE_BYTES = "sizeBytes";
403 params.sizeBytes = readLongAttribute(in, ATTR_SIZE_BYTES);
476 writeLongAttribute(out, ATTR_SIZE_BYTES, params.sizeBytes);
625 if (!PackageHelper.fitsOnInternal(mContext, params.sizeBytes)) {
630 if (!PackageHelper.fitsOnExternal(mContext, params.sizeBytes)) {
649 params.appPackageName, params.installLocation, params.sizeBytes);
807 static void prepareExternalStageCid(String stageCid, long sizeBytes) throws IOException { argument
808 if (PackageHelper.createSdDir(sizeBytes, stageCid, PackageManagerService.getEncryptKey(),
H A DPackageInstallerSession.java248 info.sizeBytes = params.sizeBytes;
976 prepareExternalStageCid(stageCid, params.sizeBytes);
H A DPackageManagerService.java10611 final long sizeBytes = mContainerService.calculateInstalledSize(
10614 if (mInstaller.freeCache(null, sizeBytes + lowThreshold) >= 0) {
16123 final long sizeBytes;
16125 sizeBytes = stats.codeSize + stats.dataSize;
16127 sizeBytes = stats.codeSize;
16130 if (sizeBytes > storage.getStorageBytesUntilLow(measurePath)) {
16191 ((deltaFreeBytes * 80) / sizeBytes), 0, 80);
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java1233 long sizeBytes = -1;
1238 sizeBytes = Long.parseLong(nextOptionData());
1253 sizeBytes = file.length();
1268 in = new SizedInputStream(System.in, sizeBytes);
1270 out = session.openWrite(splitName, 0, sizeBytes);
1279 if (info.sizeBytes > 0) {
1280 final float fraction = ((float) c / (float) info.sizeBytes);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp6515 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, argument
6521 if (!assertIdmapHeader(map, sizeBytes)) {

Completed in 2607 milliseconds