Searched refs:MiscWriter (Results 1 – 5 of 5) sorted by relevance
/hardware/google/pixel/misc_writer/ |
D | misc_writer_test.cpp | 41 ASSERT_TRUE(MiscWriter::WriteMiscPartitionVendorSpace(zeros.data(), zeros.size(), 0, &err)) in TearDown() 47 std::unique_ptr<MiscWriter> misc_writer_; 52 ASSERT_TRUE(MiscWriter::OffsetAndSizeInVendorSpace(offset, expected.size())); in CheckMiscPartitionVendorSpaceContent() 66 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetDarkThemeFlag); in TEST_F() 72 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearDarkThemeFlag); in TEST_F() 79 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetDarkThemeFlag); in TEST_F() 85 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearDarkThemeFlag); in TEST_F() 92 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetSotaFlag); in TEST_F() 103 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearSotaFlag); in TEST_F() 113 MiscWriter::WriteMiscPartitionVendorSpace(kTestMessage.data(), kTestMessage.size(), 0, &err)); in TEST_F() [all …]
|
D | misc_writer.cpp | 31 bool MiscWriter::OffsetAndSizeInVendorSpace(size_t offset, size_t size) { in OffsetAndSizeInVendorSpace() 36 bool MiscWriter::WriteMiscPartitionVendorSpace(const void* data, size_t size, size_t offset, in WriteMiscPartitionVendorSpace() 50 bool MiscWriter::PerformAction(std::optional<size_t> override_offset) { in PerformAction()
|
D | misc_writer_main.cpp | 34 using android::hardware::google::pixel::MiscWriter; 69 std::unique_ptr<MiscWriter> misc_writer; in main() 93 misc_writer = std::make_unique<MiscWriter>(iter->second); in main()
|
/hardware/google/pixel/recovery/ |
D | recovery_ui.cpp | 83 MiscWriter misc_writer(MiscWriterActions::kClearDarkThemeFlag); in WipeProvisionedFlag() 94 if (android::base::StartsWith(reason, MiscWriter::kSotaFlag)) { in ProvisionSilentOtaFlag() 95 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()
|
/hardware/google/pixel/misc_writer/include/misc_writer/ |
D | misc_writer.h | 39 class MiscWriter { 53 explicit MiscWriter(const MiscWriterActions& action) : action_(action) {} in MiscWriter() function
|