Home
last modified time | relevance | path

Searched refs:sizeMb (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java86 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; in createSdDir() local
91 Log.i(TAG, "Size of container " + sizeMb + " MB"); in createSdDir()
93 int rc = mountService.createSecureContainer(cid, sizeMb, "ext4", sdEncKey, uid, in createSdDir()
111 final int sizeMb = (int) ((sizeBytes + MB_IN_BYTES) / MB_IN_BYTES) + 1; in resizeSdDir() local
114 int rc = mountService.resizeSecureContainer(cid, sizeMb, sdEncKey); in resizeSdDir()
/frameworks/base/core/java/android/os/storage/
DIMountService.java252 public int createSecureContainer(String id, int sizeMb, String fstype, String key, in createSecureContainer() argument
260 _data.writeInt(sizeMb); in createSecureContainer()
840 public int resizeSecureContainer(String id, int sizeMb, String key) in resizeSecureContainer() argument
848 _data.writeInt(sizeMb); in resizeSecureContainer()
1101 int sizeMb; in onTransact() local
1102 sizeMb = data.readInt(); in onTransact()
1111 int resultCode = createSecureContainer(id, sizeMb, fstype, key, ownerUid, in onTransact()
1377 int sizeMb; in onTransact() local
1378 sizeMb = data.readInt(); in onTransact()
1381 int resultCode = resizeSecureContainer(id, sizeMb, key); in onTransact()
[all …]
/frameworks/base/include/storage/
DIMountService.h49 const int32_t sizeMb, const String16& fstype, const String16& key,
/frameworks/base/libs/storage/
DIMountService.cpp235 int32_t createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, in createSecureContainer() argument
241 data.writeInt32(sizeMb); in createSecureContainer()
/frameworks/base/services/core/java/com/android/server/
DMountService.java1823 public int createSecureContainer(String id, int sizeMb, String fstype, String key, in createSecureContainer() argument
1831 mConnector.execute("asec", "create", id, sizeMb, fstype, new SensitiveArg(key), in createSecureContainer()
1846 public int resizeSecureContainer(String id, int sizeMb, String key) { in resizeSecureContainer() argument
1853 mConnector.execute("asec", "resize", id, sizeMb, new SensitiveArg(key)); in resizeSecureContainer()