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