Home
last modified time | relevance | path

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

/system/vold/
DMetadataCrypt.cpp140 static bool read_key(const std::string& metadata_key_dir, const KeyGeneration& gen, in read_key() argument
142 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()
/system/core/fs_mgr/include_fstab/fstab/
Dfstab.h41 std::string metadata_key_dir; member
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp281 entry->metadata_key_dir = arg; in ParseFsMgrFlags()
595 if (!userdata.metadata_key_dir.empty()) { in TransformFstabForDsu()
596 userdata.metadata_key_dir += "/gsi"; in TransformFstabForDsu()
Dfs_mgr.cpp969 return !entry.metadata_key_dir.empty() && in should_use_metadata_encryption()
1263 if (entry->mount_point != "/data" || !entry->metadata_key_dir.empty() ||
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp417 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()