Home
last modified time | relevance | path

Searched refs:partGuid (Results 1 – 9 of 9) sorted by relevance

/system/vold/
DDisk.cpp179 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume() argument
181 if (NormalizeHex(partGuid, normalizedGuid)) { in createPrivateVolume()
182 LOG(WARNING) << "Invalid GUID " << partGuid; in createPrivateVolume()
206 vol->setPartGuid(partGuid); in createPrivateVolume()
342 const char* partGuid = strtok(nullptr, kSgdiskToken); in readPartitions() local
347 createPrivateVolume(partDevice, partGuid); in readPartitions()
465 std::string partGuid; in partitionMixed() local
466 StrToHex(partGuidRaw, partGuid); in partitionMixed()
468 if (!WriteStringToFile(keyRaw, BuildKeyPath(partGuid))) { in partitionMixed()
472 LOG(DEBUG) << "Persisted key for GUID " << partGuid; in partitionMixed()
[all …]
DVolumeBase.cpp62 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid() argument
68 mPartGuid = partGuid; in setPartGuid()
DDisk.h112 void createPrivateVolume(dev_t device, const std::string& partGuid);
DVolumeBase.h88 status_t setPartGuid(const std::string& partGuid);
DUtils.h97 std::string BuildKeyPath(const std::string& partGuid);
DVolumeManager.h125 int forgetPartition(const std::string& partGuid);
DUtils.cpp559 std::string BuildKeyPath(const std::string& partGuid) { in BuildKeyPath() argument
560 return StringPrintf("%s/expand_%s.key", kKeyPath, partGuid.c_str()); in BuildKeyPath()
DCommandListener.cpp269 std::string partGuid(argv[2]); in runCommand() local
270 return sendGenericOkFail(cli, vm->forgetPartition(partGuid)); in runCommand()
DVolumeManager.cpp405 int VolumeManager::forgetPartition(const std::string& partGuid) { in forgetPartition() argument
407 if (android::vold::NormalizeHex(partGuid, normalizedGuid)) { in forgetPartition()
408 LOG(WARNING) << "Invalid GUID " << partGuid; in forgetPartition()