Searched refs:MiscWriterActions (Results 1 – 5 of 5) sorted by relevance
54 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()
35 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()
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()
30 enum class MiscWriterActions : int32_t { enum53 explicit MiscWriter(const MiscWriterActions& action) : action_(action) {} in MiscWriter()60 MiscWriterActions action_{ MiscWriterActions::kUnset };
70 MiscWriter misc_writer(MiscWriterActions::kClearDarkThemeFlag); in WipeProvisionedFlag()82 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()