Lines Matching defs:cid

61     public static String createSdDir(int sizeMb, String cid,
71 cid, sizeMb, "fat", sdEncKey, uid);
73 Log.e(TAG, "Failed to create secure container " + cid);
76 String cachePath = mountService.getSecureContainerPath(cid);
77 if (localLOGV) Log.i(TAG, "Created secure container " + cid +
86 public static String mountSdDir(String cid, String key, int ownerUid) {
88 int rc = getMountService().mountSecureContainer(cid, key, ownerUid);
90 Log.i(TAG, "Failed to mount container " + cid + " rc : " + rc);
93 return getMountService().getSecureContainerPath(cid);
100 public static boolean unMountSdDir(String cid) {
102 int rc = getMountService().unmountSecureContainer(cid, true);
104 Log.e(TAG, "Failed to unmount " + cid + " with rc " + rc);
130 public static String getSdDir(String cid) {
132 return getMountService().getSecureContainerPath(cid);
134 Log.e(TAG, "Failed to get container path for " + cid +
140 public static String getSdFilesystem(String cid) {
142 return getMountService().getSecureContainerFilesystemPath(cid);
144 Log.e(TAG, "Failed to get container path for " + cid +
150 public static boolean finalizeSdDir(String cid) {
152 int rc = getMountService().finalizeSecureContainer(cid);
154 Log.i(TAG, "Failed to finalize container " + cid);
159 Log.e(TAG, "Failed to finalize container " + cid +
165 public static boolean destroySdDir(String cid) {
167 if (localLOGV) Log.i(TAG, "Forcibly destroying container " + cid);
168 int rc = getMountService().destroySecureContainer(cid, true);
170 Log.i(TAG, "Failed to destroy container " + cid);
175 Log.e(TAG, "Failed to destroy container " + cid +
191 public static boolean isContainerMounted(String cid) {
193 return getMountService().isSecureContainerMounted(cid);
195 Log.e(TAG, "Failed to find out if container " + cid + " mounted");