Lines Matching defs:devicePath
229 char devicePath[255];
238 sprintf(devicePath, "/dev/block/vold/%d:%d",
241 if (initializeMbr(devicePath)) {
247 sprintf(devicePath, "/dev/block/vold/%d:%d",
251 SLOGI("Formatting volume %s (%s)", getLabel(), devicePath);
254 if (Fat::format(devicePath, 0)) {
391 char devicePath[255];
393 sprintf(devicePath, "/dev/block/vold/%d:%d", MAJOR(deviceNodes[i]),
396 SLOGI("%s being considered for volume %s\n", devicePath, getLabel());
401 if (Fat::check(devicePath)) {
403 SLOGW("%s does not contain a FAT filesystem\n", devicePath);
408 SLOGE("%s failed FS checks (%s)", devicePath, strerror(errno));
428 if (Fat::doMount(devicePath, "/mnt/secure/staging", false, false, false,
430 SLOGE("%s failed to mount via VFAT (%s)\n", devicePath, strerror(errno));
434 SLOGI("Device %s, target %s mounted @ /mnt/secure/staging", devicePath, getMountpoint());