Searched refs:metadata_key_dir (Results 1 – 6 of 6) sorted by relevance
119 static bool read_key(const std::string& metadata_key_dir, const KeyGeneration& gen, bool first_key, in read_key() argument121 if (metadata_key_dir.empty()) { in read_key()126 auto dir = metadata_key_dir + "/key"; in read_key()142 auto temp = metadata_key_dir + "/tmp"; in read_key()297 auto default_metadata_key_dir = data_rec->metadata_key_dir; in fscrypt_mount_metadata_encrypted()320 auto metadata_key_dir = data_rec->metadata_key_dir + "/" + name; in fscrypt_mount_metadata_encrypted() local322 if (!read_key(metadata_key_dir, gen, false, &key)) { in fscrypt_mount_metadata_encrypted()411 if (dsu_metadata_key_dir == data_rec->metadata_key_dir) { in destroy_dsu_metadata_key()
257 if (entry.mount_point == "/data" && !entry.metadata_key_dir.empty()) { in process_config()
42 std::string metadata_key_dir; member
323 entry->metadata_key_dir = arg; in ParseFsMgrFlags()626 if (!entry->metadata_key_dir.empty()) { in TransformFstabForDsu()627 entry->metadata_key_dir = android::gsi::GetDsuMetadataKeyDir(dsu_slot); in TransformFstabForDsu()
532 EXPECT_EQ("", entry->metadata_key_dir); in TEST()554 EXPECT_EQ("", entry->metadata_key_dir); in TEST()959 EXPECT_EQ("/dir/key", entry->metadata_key_dir); in TEST()
923 return !entry.metadata_key_dir.empty() && entry.fs_mgr_flags.file_encryption; in should_use_metadata_encryption()1377 if (entry->mount_point != "/data" || !entry->metadata_key_dir.empty() ||