Searched refs:MiscWriter (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/misc_writer/ |
D | misc_writer_test.cpp | 42 ASSERT_TRUE(MiscWriter::WriteMiscPartitionVendorSpace(zeros.data(), zeros.size(), 0, &err)) in TearDown() 48 std::unique_ptr<MiscWriter> misc_writer_; 53 ASSERT_TRUE(MiscWriter::OffsetAndSizeInVendorSpace(offset, expected.size())); in CheckMiscPartitionVendorSpaceContent() 67 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetDarkThemeFlag); in TEST_F() 73 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearDarkThemeFlag); in TEST_F() 80 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetDarkThemeFlag); in TEST_F() 86 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearDarkThemeFlag); in TEST_F() 93 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetSotaFlag); in TEST_F() 108 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearSotaFlag); in TEST_F() 115 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetMaxRamSize, "8192"); in TEST_F() [all …]
|
D | misc_writer_main.cpp | 34 using android::hardware::google::pixel::MiscWriter; 103 std::unique_ptr<MiscWriter> misc_writer; in main() 136 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kSetWristOrientationFlag, in main() 152 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kWriteTimeFormat, in main() 160 if (timeoffset < MiscWriter::kMinTimeOffset || timeoffset > MiscWriter::kMaxTimeOffset) { in main() 168 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kWriteTimeOffset, in main() 176 if (max_ram_size != MiscWriter::kRamSizeDefault && in main() 177 (max_ram_size < MiscWriter::kRamSizeMin || max_ram_size > MiscWriter::kRamSizeMax)) { in main() 186 if (max_ram_size == MiscWriter::kRamSizeDefault) { in main() 187 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kClearMaxRamSize); in main() [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()
|
/hardware/google/pixel/recovery/ |
D | recovery_ui.cpp | 83 MiscWriter misc_writer(MiscWriterActions::kClearDarkThemeFlag); in WipeProvisionedFlag() 94 MiscWriter misc_writer(MiscWriterActions::kClearDisplayMode); in WipeUserPreferredResolution() 105 if (android::base::StartsWith(reason, MiscWriter::kSotaFlag)) { in ProvisionSilentOtaFlag() 106 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()
|
D | recovery_watch_ui.cpp | 41 if (android::base::StartsWith(reason, MiscWriter::kSotaFlag)) { in ProvisionSilentOtaFlag() 42 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()
|
/hardware/google/pixel/misc_writer/include/misc_writer/ |
D | misc_writer.h | 54 class MiscWriter { 138 explicit MiscWriter(const MiscWriterActions &action) : action_(action) {} in MiscWriter() function 139 explicit MiscWriter(const MiscWriterActions &action, const char data) in MiscWriter() function 141 explicit MiscWriter(const MiscWriterActions &action, std::string data) in MiscWriter() function
|