Home
last modified time | relevance | path

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

/system/vold/
DMetadataCrypt.cpp119 static bool read_key(const std::string& metadata_key_dir, const KeyGeneration& gen, bool first_key, in read_key() argument
121 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() local
322 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()
Dmain.cpp257 if (entry.mount_point == "/data" && !entry.metadata_key_dir.empty()) { in process_config()
/system/core/fs_mgr/libfstab/include/fstab/
Dfstab.h42 std::string metadata_key_dir; member
/system/core/fs_mgr/libfstab/
Dfstab.cpp323 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()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp532 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()
/system/core/fs_mgr/
Dfs_mgr.cpp923 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() ||