• Home
  • Raw
  • Download

Lines Matching refs:Volume

127 int VolumeManager::addVolume(Volume *v) {  in addVolume()
171 Volume *v = lookupVolume(label); in formatVolume()
194 snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash); in getObbMountPath()
218 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id); in getAsecMountPath()
282 const char *asecDir = isExternal ? Volume::SEC_ASECDIR_EXT : Volume::SEC_ASECDIR_INT; in createAsec()
400 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in createAsec()
477 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in finalizeAsec()
530 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in fixupAsecPermissions()
623 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id1); in renameAsec()
630 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id2); in renameAsec()
667 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in unmountAsec()
687 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash); in unmountObb()
783 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in destroyAsec()
836 if (isAsecInDirectory(Volume::SEC_ASECDIR_INT, asecName)) { in findAsec()
837 dir = Volume::SEC_ASECDIR_INT; in findAsec()
838 } else if (isAsecInDirectory(Volume::SEC_ASECDIR_EXT, asecName)) { in findAsec()
839 dir = Volume::SEC_ASECDIR_EXT; in findAsec()
870 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in mountAsec()
988 Volume* VolumeManager::getVolumeForFile(const char *fileName) { in getVolumeForFile()
1013 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash); in mountObb()
1106 Volume *v = lookupVolume(label); in mountVolume()
1129 int loopDirLen = strlen(Volume::LOOPDIR); in listMountedObbs()
1131 strcpy(loopDir, Volume::LOOPDIR); in listMountedObbs()
1162 Volume *v = lookupVolume(label); in shareEnabled()
1174 if (v->getState() != Volume::State_Shared) { in shareEnabled()
1183 Volume *v = lookupVolume(label); in shareVolume()
1200 if (v->getState() == Volume::State_NoMedia) { in shareVolume()
1205 if (v->getState() != Volume::State_Idle) { in shareVolume()
1261 Volume *v = lookupVolume(label); in unshareVolume()
1273 if (v->getState() != Volume::State_Shared) { in unshareVolume()
1353 Volume *v = lookupVolume(label); in unmountVolume()
1360 if (v->getState() == Volume::State_NoMedia) { in unmountVolume()
1365 if (v->getState() != Volume::State_Mounted) { in unmountVolume()
1381 rc = vm->unmountAllAsecsInDir(Volume::SEC_ASECDIR_EXT); in vold_unmountAllAsecs()
1382 if (vm->unmountAllAsecsInDir(Volume::SEC_ASECDIR_INT)) { in vold_unmountAllAsecs()
1436 Volume *VolumeManager::lookupVolume(const char *label) { in lookupVolume()
1477 int VolumeManager::cleanupAsec(Volume *v, bool force) { in cleanupAsec()
1478 int rc = unmountAllAsecsInDir(Volume::SEC_ASECDIR_EXT); in cleanupAsec()