Searched refs:key_loc (Results 1 – 6 of 6) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 513 static void get_crypt_info(std::string* key_loc, std::string* real_blk_device) { in get_crypt_info() argument 518 if (key_loc != nullptr) { in get_crypt_info() 519 *key_loc = entry.key_loc; in get_crypt_info() 533 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local 538 std::string key_loc; in get_crypt_ftr_info() local 540 get_crypt_info(&key_loc, &real_blkdev); in get_crypt_ftr_info() 542 if (key_loc == KEY_IN_FOOTER) { in get_crypt_ftr_info() 555 strlcpy(cached_metadata_fname, key_loc.c_str(), sizeof(cached_metadata_fname)); in get_crypt_ftr_info() 1687 std::string key_loc; in do_crypto_complete() local 1688 get_crypt_info(&key_loc, nullptr); in do_crypto_complete() [all …]
|
/system/core/fs_mgr/include_fstab/fstab/ |
D | fstab.h | 39 std::string key_loc; member
|
/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 | 189 entry->key_loc = arg; in ParseFsMgrFlags() 236 entry->key_loc = arg; in ParseFsMgrFlags() 243 entry->key_loc = arg; in ParseFsMgrFlags()
|
D | fs_mgr.cpp | 1474 if (current_entry.is_encryptable() && current_entry.key_loc != KEY_IN_FOOTER) { in fs_mgr_mount_all() 1476 open(current_entry.key_loc.c_str(), O_WRONLY | O_CLOEXEC))); in fs_mgr_mount_all() 1478 LINFO << __FUNCTION__ << "(): also wipe " << current_entry.key_loc; in fs_mgr_mount_all() 1481 PERROR << __FUNCTION__ << "(): " << current_entry.key_loc << " wouldn't open"; in fs_mgr_mount_all() 1483 } 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 | 416 EXPECT_EQ("", entry->key_loc); in TEST() 443 EXPECT_EQ("", entry->key_loc); in TEST() 469 EXPECT_EQ("", entry->key_loc); in TEST() 490 EXPECT_EQ("/dir/key", entry->key_loc); in TEST() 658 EXPECT_EQ("/dir/key", entry->key_loc); in TEST() 681 EXPECT_EQ("/dir/key", entry->key_loc); in TEST()
|