Lines Matching refs:label
170 int VolumeManager::formatVolume(const char *label) {
171 Volume *v = lookupVolume(label);
1092 int VolumeManager::mountVolume(const char *label) {
1093 Volume *v = lookupVolume(label);
1148 int VolumeManager::shareEnabled(const char *label, const char *method, bool *enabled) {
1149 Volume *v = lookupVolume(label);
1169 int VolumeManager::shareVolume(const char *label, const char *method) {
1170 Volume *v = lookupVolume(label);
1247 int VolumeManager::unshareVolume(const char *label, const char *method) {
1248 Volume *v = lookupVolume(label);
1293 extern "C" int vold_disableVol(const char *label) {
1296 vm->unshareVolume(label, "ums");
1297 return vm->unmountVolume(label, true, false);
1339 int VolumeManager::unmountVolume(const char *label, bool force, bool revert) {
1340 Volume *v = lookupVolume(label);
1421 * Looks up a volume by it's label or mount-point
1423 Volume *VolumeManager::lookupVolume(const char *label) {
1427 if (label[0] == '/') {
1428 if (!strcmp(label, (*i)->getMountpoint()))
1431 if (!strcmp(label, (*i)->getLabel()))