Home
last modified time | relevance | path

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

/system/vold/
DDisk.cpp182 void Disk::createPrivateVolume(dev_t device, const std::string& partGuid) { in createPrivateVolume() argument
184 if (NormalizeHex(partGuid, normalizedGuid)) { in createPrivateVolume()
185 LOG(WARNING) << "Invalid GUID " << partGuid; in createPrivateVolume()
209 vol->setPartGuid(partGuid); in createPrivateVolume()
349 const char* partGuid = strtok(nullptr, kSgdiskToken); in readPartitions() local
354 createPrivateVolume(partDevice, partGuid); in readPartitions()
477 std::string partGuid; in partitionMixed() local
478 StrToHex(partGuidRaw, partGuid); in partitionMixed()
480 if (!WriteStringToFile(keyRaw, BuildKeyPath(partGuid))) { in partitionMixed()
484 LOG(DEBUG) << "Persisted key for GUID " << partGuid; in partitionMixed()
[all …]
DVolumeBase.cpp60 status_t VolumeBase::setPartGuid(const std::string& partGuid) { in setPartGuid() argument
66 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.cpp272 std::string partGuid(argv[2]); in runCommand() local
273 return sendGenericOkFail(cli, vm->forgetPartition(partGuid)); in runCommand()
DVolumeManager.cpp464 int VolumeManager::forgetPartition(const std::string& partGuid) { in forgetPartition() argument
466 if (android::vold::NormalizeHex(partGuid, normalizedGuid)) { in forgetPartition()
467 LOG(WARNING) << "Invalid GUID " << partGuid; in forgetPartition()