Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp225 auto upgraded_blob_file = dir + "/" + kFn_keymaster_key_blob_upgraded; in CommitUpgradedKey() local
230 if (rename(upgraded_blob_file.c_str(), blob_file.c_str()) != 0) { in CommitUpgradedKey()
231 PLOG(ERROR) << "Failed to rename " << upgraded_blob_file << " to " << blob_file; in CommitUpgradedKey()
337 auto upgraded_blob_file = dir + "/" + kFn_keymaster_key_blob_upgraded; in BeginKeymasterOp() local
347 if (!readFileToString(upgraded_blob_file, &blob)) return KeymasterOperation(); in BeginKeymasterOp()
349 DeleteUpgradedKey(keymaster, upgraded_blob_file); in BeginKeymasterOp()
360 LOG(ERROR) << "Unexpected case; already-upgraded key " << upgraded_blob_file in BeginKeymasterOp()
365 if (!writeStringToFile(*opHandle.getUpgradedBlob(), upgraded_blob_file)) in BeginKeymasterOp()
368 LOG(INFO) << "Wrote upgraded key to " << upgraded_blob_file in BeginKeymasterOp()