Searched refs:sizeMb (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java71 public static String createSdDir(int sizeMb, String cid, String sdEncKey, int uid, argument
78 Log.i(TAG, "Size of container " + sizeMb + " MB");
80 int rc = mountService.createSecureContainer(cid, sizeMb, "ext4", sdEncKey, uid,
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java348 final int sizeMb;
350 sizeMb = calculateContainerSize(codeFile, isForwardLocked);
357 final String newCachePath = PackageHelper.createSdDir(sizeMb, newCid, key, Process.myUid(),
813 final int sizeMb = calculateContainerSize(apkFile, isForwardLocked);
824 return availSdMb > sizeMb;
849 int sizeMb = (int) (sizeBytes >> 20);
850 if ((sizeBytes - (sizeMb * 1024 * 1024)) > 0) {
851 sizeMb++;
859 sizeMb++;
861 return sizeMb;
[all...]
/frameworks/base/include/storage/
H A DIMountService.h49 const int32_t sizeMb, const String16& fstype, const String16& key,
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java252 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
260 _data.writeInt(sizeMb);
952 int sizeMb;
953 sizeMb = data.readInt();
962 int resultCode = createSecureContainer(id, sizeMb, fstype, key, ownerUid,
1193 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
/frameworks/base/libs/storage/
H A DIMountService.cpp235 int32_t createSecureContainer(const String16& id, const int32_t sizeMb, const String16& fstype, argument
241 data.writeInt32(sizeMb);
/frameworks/base/services/java/com/android/server/
H A DMountService.java1643 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
1651 mConnector.execute("asec", "create", id, sizeMb, fstype, new SensitiveArg(key),

Completed in 9518 milliseconds