Searched refs:key_loc (Results 1 – 6 of 6) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 516 static void get_crypt_info(std::string* key_loc, std::string* real_blk_device) { in get_crypt_info() argument 521 if (key_loc != nullptr) { in get_crypt_info() 522 *key_loc = entry.key_loc; in get_crypt_info() 536 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local 541 std::string key_loc; in get_crypt_ftr_info() local 543 get_crypt_info(&key_loc, &real_blkdev); in get_crypt_ftr_info() 545 if (key_loc == KEY_IN_FOOTER) { in get_crypt_ftr_info() 558 strlcpy(cached_metadata_fname, key_loc.c_str(), sizeof(cached_metadata_fname)); in get_crypt_ftr_info() 1703 std::string key_loc; in do_crypto_complete() local 1704 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/tests/ |
D | fs_mgr_test.cpp | 416 EXPECT_EQ("", entry->key_loc); in TEST() 441 EXPECT_EQ("", entry->key_loc); in TEST() 465 EXPECT_EQ("", entry->key_loc); in TEST() 486 EXPECT_EQ("/dir/key", entry->key_loc); in TEST() 654 EXPECT_EQ("/dir/key", entry->key_loc); in TEST() 677 EXPECT_EQ("/dir/key", entry->key_loc); in TEST()
|
/system/core/fs_mgr/ |
D | fs_mgr_roots.cpp | 123 bool crypt_footer = rec->is_encryptable() && rec->key_loc == "footer"; in EnsurePathMounted()
|
D | fs_mgr_fstab.cpp | 188 entry->key_loc = arg; in ParseFsMgrFlags() 235 entry->key_loc = arg; in ParseFsMgrFlags() 242 entry->key_loc = arg; in ParseFsMgrFlags()
|
D | fs_mgr.cpp | 1470 if (current_entry.is_encryptable() && current_entry.key_loc != KEY_IN_FOOTER) { in fs_mgr_mount_all() 1472 open(current_entry.key_loc.c_str(), O_WRONLY | O_CLOEXEC))); in fs_mgr_mount_all() 1474 LINFO << __FUNCTION__ << "(): also wipe " << current_entry.key_loc; in fs_mgr_mount_all() 1477 PERROR << __FUNCTION__ << "(): " << current_entry.key_loc << " wouldn't open"; in fs_mgr_mount_all() 1479 } else if (current_entry.is_encryptable() && current_entry.key_loc == KEY_IN_FOOTER) { in fs_mgr_mount_all()
|