Searched refs:keyPath (Results 1 – 4 of 4) sorted by relevance
116 const std::string keyPath = in TEST() local119 ASSERT_TRUE(android::base::ReadFileToString(keyPath, &keyContent)) in TEST()120 << "Failed to read " << keyPath; in TEST()
122 auto keyPath = dir + "/" + kFn_keymaster_key_blob; in commit_key() local126 if (!android::base::ReadFileToString(keyPath, &key)) { in commit_key()130 if (rename(newKeyPath.c_str(), keyPath.c_str()) != 0) { in commit_key()131 PLOG(ERROR) << "Unable to move upgraded key to location: " << keyPath; in commit_key()
350 std::string keyPath = android::vold::BuildKeyPath(normalizedGuid); in forgetPartition() local351 if (unlink(keyPath.c_str()) != 0) { in forgetPartition()352 LOG(ERROR) << "Failed to unlink " << keyPath; in forgetPartition()
254 String keyPath, in doSignature() argument275 PrivateKey key = Utils.loadDERPrivateKeyFromFile(keyPath); in doSignature()