Searched refs:metadata_key_dir (Results 1 – 5 of 5) sorted by relevance
140 static bool read_key(const std::string& metadata_key_dir, const KeyGeneration& gen, in read_key() argument142 if (metadata_key_dir.empty()) { in read_key()147 auto dir = metadata_key_dir + "/key"; in read_key()153 auto temp = metadata_key_dir + "/tmp"; in read_key()314 if (!read_key(data_rec->metadata_key_dir, gen, &key)) return false; in fscrypt_mount_metadata_encrypted()
40 std::string metadata_key_dir; member
282 entry->metadata_key_dir = arg; in ParseFsMgrFlags()601 if (!userdata.metadata_key_dir.empty()) { in TransformFstabForDsu()602 userdata.metadata_key_dir += "/gsi"; in TransformFstabForDsu()
973 return !entry.metadata_key_dir.empty() && in should_use_metadata_encryption()1267 if (entry->mount_point != "/data" || !entry->metadata_key_dir.empty() ||
417 EXPECT_EQ("", entry->metadata_key_dir); in TEST()444 EXPECT_EQ("", entry->metadata_key_dir); in TEST()896 EXPECT_EQ("/dir/key", entry->metadata_key_dir); in TEST()