Searched refs:key_loc (Results 1 – 6 of 6) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 596 static void get_crypt_info(std::string* key_loc, std::string* real_blk_device) { in get_crypt_info() argument 601 if (key_loc != nullptr) { in get_crypt_info() 602 *key_loc = entry.key_loc; in get_crypt_info() 616 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local 621 std::string key_loc; in get_crypt_ftr_info() local 623 get_crypt_info(&key_loc, &real_blkdev); in get_crypt_ftr_info() 625 if (key_loc == KEY_IN_FOOTER) { in get_crypt_ftr_info() 638 strlcpy(cached_metadata_fname, key_loc.c_str(), sizeof(cached_metadata_fname)); in get_crypt_ftr_info() 1787 std::string key_loc; in do_crypto_complete() local 1788 get_crypt_info(&key_loc, nullptr); in do_crypto_complete() [all …]
|
/system/core/fs_mgr/include_fstab/fstab/ |
D | fstab.h | 40 std::string key_loc; member
|
/system/core/fs_mgr/ |
D | fs_mgr_roots.cpp | 124 bool crypt_footer = rec->is_encryptable() && rec->key_loc == "footer"; in EnsurePathMounted()
|
D | fs_mgr_fstab.cpp | 191 entry->key_loc = arg; in ParseFsMgrFlags() 238 entry->key_loc = arg; in ParseFsMgrFlags() 245 entry->key_loc = arg; in ParseFsMgrFlags()
|
D | fs_mgr.cpp | 1537 if (current_entry.is_encryptable() && current_entry.key_loc != KEY_IN_FOOTER) { in fs_mgr_mount_all() 1539 open(current_entry.key_loc.c_str(), O_WRONLY | O_CLOEXEC))); in fs_mgr_mount_all() 1541 LINFO << __FUNCTION__ << "(): also wipe " << current_entry.key_loc; in fs_mgr_mount_all() 1544 PERROR << __FUNCTION__ << "(): " << current_entry.key_loc << " wouldn't open"; in fs_mgr_mount_all() 1546 } else if (current_entry.is_encryptable() && current_entry.key_loc == KEY_IN_FOOTER) { in fs_mgr_mount_all()
|
/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 510 EXPECT_EQ("", entry->key_loc); in TEST() 535 EXPECT_EQ("", entry->key_loc); in TEST() 559 EXPECT_EQ("", entry->key_loc); in TEST() 580 EXPECT_EQ("/dir/key", entry->key_loc); in TEST() 748 EXPECT_EQ("/dir/key", entry->key_loc); in TEST() 771 EXPECT_EQ("/dir/key", entry->key_loc); in TEST()
|