Home
last modified time | relevance | path

Searched refs:MiscWriterActions (Results 1 – 5 of 5) sorted by relevance

/hardware/google/pixel/misc_writer/
Dmisc_writer.cpp54 case MiscWriterActions::kSetDarkThemeFlag: in PerformAction()
55 case MiscWriterActions::kClearDarkThemeFlag: in PerformAction()
57 content = (action_ == MiscWriterActions::kSetDarkThemeFlag) in PerformAction()
61 case MiscWriterActions::kSetSotaFlag: in PerformAction()
62 case MiscWriterActions::kClearSotaFlag: in PerformAction()
64 content = (action_ == MiscWriterActions::kSetSotaFlag) ? kSotaFlag in PerformAction()
67 case MiscWriterActions::kUnset: in PerformAction()
Dmisc_writer_main.cpp35 using android::hardware::google::pixel::MiscWriterActions;
62 std::map<std::string, MiscWriterActions> action_map{ in main()
63 { "set-dark-theme", MiscWriterActions::kSetDarkThemeFlag }, in main()
64 { "clear-dark-theme", MiscWriterActions::kClearDarkThemeFlag }, in main()
65 { "set-sota", MiscWriterActions::kSetSotaFlag }, in main()
66 { "clear-sota", MiscWriterActions::kClearSotaFlag }, in main()
Dmisc_writer_test.cpp66 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()
/hardware/google/pixel/misc_writer/include/misc_writer/
Dmisc_writer.h30 enum class MiscWriterActions : int32_t { enum
53 explicit MiscWriter(const MiscWriterActions& action) : action_(action) {} in MiscWriter()
60 MiscWriterActions action_{ MiscWriterActions::kUnset };
/hardware/google/pixel/recovery/
Drecovery_ui.cpp70 MiscWriter misc_writer(MiscWriterActions::kClearDarkThemeFlag); in WipeProvisionedFlag()
82 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()