Lines Matching refs:devicePath
225 char devicePath[255];
234 sprintf(devicePath, "/dev/block/vold/%d:%d",
237 if (initializeMbr(devicePath)) {
243 sprintf(devicePath, "/dev/block/vold/%d:%d",
247 SLOGI("Formatting volume %s (%s)", getLabel(), devicePath);
250 if (Fat::format(devicePath, 0)) {
387 char devicePath[255];
389 sprintf(devicePath, "/dev/block/vold/%d:%d", MAJOR(deviceNodes[i]),
392 SLOGI("%s being considered for volume %s\n", devicePath, getLabel());
397 if (Fat::check(devicePath)) {
399 SLOGW("%s does not contain a FAT filesystem\n", devicePath);
404 SLOGE("%s failed FS checks (%s)", devicePath, strerror(errno));
424 if (Fat::doMount(devicePath, "/mnt/secure/staging", false, false, false,
426 SLOGE("%s failed to mount via VFAT (%s)\n", devicePath, strerror(errno));
430 SLOGI("Device %s, target %s mounted @ /mnt/secure/staging", devicePath, getMountpoint());