Searched refs:verity_loc (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 575 if (metadata_find(entry.verity_loc.c_str(), tag, SHA256_DIGEST_LENGTH, &offset) < 0) { in compare_last_signature() 579 fd = TEMP_FAILURE_RETRY(open(entry.verity_loc.c_str(), O_RDWR | O_SYNC | O_CLOEXEC)); in compare_last_signature() 582 PERROR << "Failed to open " << entry.verity_loc; in compare_last_signature() 587 PERROR << "Failed to read " << sizeof(prev) << " bytes from " << entry.verity_loc in compare_last_signature() 598 PERROR << "Failed to write " << sizeof(curr) << " bytes to " << entry.verity_loc in compare_last_signature() 620 return metadata_find(entry.verity_loc.c_str(), tag, sizeof(struct verity_state), offset); in get_verity_state_offset() 645 return write_verity_state(entry.verity_loc.c_str(), offset, *mode); in load_verity_state() 652 return write_verity_state(entry.verity_loc.c_str(), offset, *mode); in load_verity_state() 655 return read_verity_state(entry.verity_loc.c_str(), offset, mode); in load_verity_state()
|
D | fs_mgr_fstab.cpp | 268 entry->verity_loc = arg; in ParseFsMgrFlags()
|
/system/core/fs_mgr/include_fstab/fstab/ |
D | fstab.h | 41 std::string verity_loc; member
|
/system/core/init/ |
D | first_stage_mount.cpp | 663 if (!fstab_entry.verity_loc.empty()) { in GetDmVerityDevices() 665 verity_loc_device = fstab_entry.verity_loc; in GetDmVerityDevices() 666 } else if (verity_loc_device != fstab_entry.verity_loc) { in GetDmVerityDevices() 668 << fstab_entry.verity_loc; in GetDmVerityDevices()
|
/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 416 EXPECT_EQ("", entry->verity_loc); in TEST() 446 EXPECT_EQ("", entry->verity_loc); in TEST() 662 EXPECT_EQ("/dir/key", entry->verity_loc); in TEST()
|