Lines Matching refs:label
170 int VolumeManager::formatVolume(const char *label) { in formatVolume() argument
171 Volume *v = lookupVolume(label); in formatVolume()
1105 int VolumeManager::mountVolume(const char *label) { in mountVolume() argument
1106 Volume *v = lookupVolume(label); in mountVolume()
1161 int VolumeManager::shareEnabled(const char *label, const char *method, bool *enabled) { in shareEnabled() argument
1162 Volume *v = lookupVolume(label); in shareEnabled()
1182 int VolumeManager::shareVolume(const char *label, const char *method) { in shareVolume() argument
1183 Volume *v = lookupVolume(label); in shareVolume()
1260 int VolumeManager::unshareVolume(const char *label, const char *method) { in unshareVolume() argument
1261 Volume *v = lookupVolume(label); in unshareVolume()
1306 extern "C" int vold_disableVol(const char *label) { in vold_disableVol() argument
1309 vm->unshareVolume(label, "ums"); in vold_disableVol()
1310 return vm->unmountVolume(label, true, false); in vold_disableVol()
1352 int VolumeManager::unmountVolume(const char *label, bool force, bool revert) { in unmountVolume() argument
1353 Volume *v = lookupVolume(label); in unmountVolume()
1436 Volume *VolumeManager::lookupVolume(const char *label) { in lookupVolume() argument
1440 if (label[0] == '/') { in lookupVolume()
1441 if (!strcmp(label, (*i)->getMountpoint())) in lookupVolume()
1444 if (!strcmp(label, (*i)->getLabel())) in lookupVolume()