Home
last modified time | relevance | path

Searched defs:sizeBytes (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java87 public static String createSdDir(long sizeBytes, String cid, String sdEncKey, int uid, in createSdDir()
113 public static boolean resizeSdDir(long sizeBytes, String cid, String sdEncKey) { in resizeSdDir()
350 int installLocation, long sizeBytes) throws IOException { in resolveInstallVolume()
425 public static boolean fitsOnInternal(Context context, long sizeBytes) { in fitsOnInternal()
431 public static boolean fitsOnExternal(Context context, long sizeBytes) { in fitsOnExternal()
444 int installLocation, long sizeBytes, int installFlags) { in resolveInstallLocation()
537 long sizeBytes = 0; in calculateInstalledSize() local
/frameworks/rs/
DrsAllocation.cpp193 uint32_t count, const void *data, size_t sizeBytes) { in data()
210 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in data()
217 … uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) { in data()
223 uint32_t count, void *data, size_t sizeBytes) { in read()
239 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in read()
257 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in read()
269 const void *data, uint32_t cIdx, size_t sizeBytes) { in elementData()
304 void *data, uint32_t cIdx, size_t sizeBytes) { in elementRead()
716 void rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) { in rsi_AllocationCopyToBitmap()
724 uint32_t count, const void *data, size_t sizeBytes) { in rsi_Allocation1DData()
[all …]
/frameworks/base/core/java/android/text/format/
DFormatter.java77 public static String formatFileSize(@Nullable Context context, long sizeBytes) { in formatFileSize()
90 public static String formatShortFileSize(@Nullable Context context, long sizeBytes) { in formatShortFileSize()
100 public static BytesResult formatBytes(Resources res, long sizeBytes, int flags) { in formatBytes()
/frameworks/base/keystore/java/android/security/keystore/
DKeyStoreCryptoOperationUtils.java98 static byte[] getRandomBytesToMixIntoKeystoreRng(SecureRandom rng, int sizeBytes) { in getRandomBytesToMixIntoKeystoreRng()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java89 private void pruneToSize(int sizeBytes) { in pruneToSize()
/frameworks/rs/driver/
DrsdAllocation.cpp872 const void *data, size_t sizeBytes) { in rsdAllocationData1D()
892 … uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) { in rsdAllocationData2D()
956 size_t sizeBytes, size_t stride) { in rsdAllocationData3D()
993 void *data, size_t sizeBytes) { in rsdAllocationRead1D()
1005 … uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead2D()
1035 … uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) { in rsdAllocationRead3D()
1156 const void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementData()
1175 void *data, uint32_t cIdx, size_t sizeBytes) { in rsdAllocationElementRead()
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java319 final long sizeBytes = PackageHelper.calculateInstalledSize(pkg, handle, in copyPackageToContainerInner() local
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java884 public long sizeBytes = -1; field in PackageInstaller.SessionParams
952 public void setSize(long sizeBytes) { in setSize()
1144 public long sizeBytes; field in PackageInstaller.SessionInfo
/frameworks/base/rs/java/android/renderscript/
DAllocation.java1478 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked() local
1491 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local
1755 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked() local
1768 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local
2397 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked() local
2410 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked() local
2594 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeToUnchecked() local
2607 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy3DRangeToUnchecked() local
DRenderScript.java535 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
537 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
543 …ata(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData()
544 …ElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData()
570 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D()
573 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D()
604 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D()
607 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D()
621 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D()
623int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java1451 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeFromUnchecked() local
1464 array, sizeBytes, dt, in copy2DRangeFromUnchecked() local
1708 int sizeBytes = arrayLen * dt.mSize; in copy3DRangeFromUnchecked() local
1721 array, sizeBytes, dt, in copy3DRangeFromUnchecked() local
2293 int sizeBytes = arrayLen * dt.mSize; in copy2DRangeToUnchecked() local
2306 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); in copy2DRangeToUnchecked() local
DRenderScript.java461 …snAllocationData1D(long con, long id, int off, int mip, int count, Object d, int sizeBytes, int dt, in rsnAllocationData1D()
463 …oid nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataT… in nAllocationData1D()
469 …AllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); in rsnAllocationElementData1D()
470 …d void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { in nAllocationElementData1D()
503 int w, int h, Object d, int sizeBytes, int dt, in rsnAllocationData2D()
506 int w, int h, Object d, int sizeBytes, Element.DataType dt, in nAllocationData2D()
538 int w, int h, int depth, Object d, int sizeBytes, int dt, in rsnAllocationData3D()
541 … int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, in nAllocationData3D()
555 int sizeBytes, int dt, int mSize, boolean usePadding); in rsnAllocationRead1D()
557int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) { in nAllocationRead1D()
[all …]
/frameworks/rs/cpp/
DAllocation.cpp194 int sizeBytes = mSize * 3; in copyWithPadding() local
206 int sizeBytes = mSize * 3; in copyWithUnPadding() local
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java413 long sizeBytes = -1; in runInstallWrite() local
530 private int doWriteSession(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSession()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java225 long sizeBytes = -1; in runInstallWrite() local
1147 private int doWriteSplit(int sessionId, String inPath, long sizeBytes, String splitName, in doWriteSplit()
DPackageInstallerService.java819 static void prepareExternalStageCid(String stageCid, long sizeBytes) throws IOException { in prepareExternalStageCid()
DPackageManagerService.java12782 final long sizeBytes = mContainerService.calculateInstalledSize( in handleStartCopy() local
20098 final long sizeBytes; in movePackageInternal() local
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp318 int sizeBytes = mSize * 3; in copyWithPadding() local
330 int sizeBytes = mSize * 3; in copyWithUnPadding() local
1388 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D()
1404 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData()
1427 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D()
1472 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D()
1530 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D()
1546 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementRead()
1568 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
1585 jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, in nAllocationRead3D()
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp321 int sizeBytes = mSize * 3; in copyWithPadding() local
333 int sizeBytes = mSize * 3; in copyWithUnPadding() local
1173 jint count, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData1D()
1187 jint lod, jint compIdx, jbyteArray data, jint sizeBytes) in nAllocationElementData1D()
1220 jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, in nAllocationData2D()
1259 jint w, jint h, jint d, jobject data, jint sizeBytes, jint dataType, in nAllocationData3D()
1308 jint count, jobject data, jint sizeBytes, jint dataType, in nAllocationRead1D()
1340 jint w, jint h, jobject data, jint sizeBytes, jint dataType, in nAllocationRead2D()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp6731 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes, in getIdmapInfo()