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()
41 std::string metadata_key_dir; member
281 entry->metadata_key_dir = arg; in ParseFsMgrFlags()595 if (!userdata.metadata_key_dir.empty()) { in TransformFstabForDsu()596 userdata.metadata_key_dir += "/gsi"; in TransformFstabForDsu()
969 return !entry.metadata_key_dir.empty() && in should_use_metadata_encryption()1263 if (entry->mount_point != "/data" || !entry->metadata_key_dir.empty() ||
417 EXPECT_EQ("", entry->metadata_key_dir); in TEST()442 EXPECT_EQ("", entry->metadata_key_dir); in TEST()892 EXPECT_EQ("/dir/key", entry->metadata_key_dir); in TEST()