Searched refs:MiscWriterActions (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/misc_writer/ |
D | misc_writer.cpp | 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::kSetEnablePkvmFlag: in PerformAction() 68 case MiscWriterActions::kSetDisablePkvmFlag: in PerformAction() 70 content = (action_ == MiscWriterActions::kSetEnablePkvmFlag) ? kEnablePkvmFlag in PerformAction() 73 case MiscWriterActions::kSetWristOrientationFlag: in PerformAction() [all …]
|
D | misc_writer_main.cpp | 35 using android::hardware::google::pixel::MiscWriterActions; 91 std::map<std::string, MiscWriterActions> action_map{ in main() 92 { "set-dark-theme", MiscWriterActions::kSetDarkThemeFlag }, in main() 93 { "clear-dark-theme", MiscWriterActions::kClearDarkThemeFlag }, in main() 94 { "set-sota", MiscWriterActions::kSetSotaFlag }, in main() 95 { "clear-sota", MiscWriterActions::kClearSotaFlag }, in main() 96 { "set-enable-pkvm", MiscWriterActions::kSetEnablePkvmFlag }, in main() 97 { "set-disable-pkvm", MiscWriterActions::kSetDisablePkvmFlag }, in main() 98 { "clear-wrist-orientation", MiscWriterActions::kClearWristOrientationFlag }, in main() 99 { "set-sota-config", MiscWriterActions::kSetSotaConfig }, in main() [all …]
|
D | misc_writer_test.cpp | 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() 121 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearMaxRamSize); in TEST_F() 129 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kSetDisplayMode, displayMode); in TEST_F() 135 misc_writer_ = std::make_unique<MiscWriter>(MiscWriterActions::kClearDisplayMode); in TEST_F()
|
/hardware/google/pixel/misc_writer/include/misc_writer/ |
D | misc_writer.h | 30 enum class MiscWriterActions : int32_t { enum 138 explicit MiscWriter(const MiscWriterActions &action) : action_(action) {} in MiscWriter() 139 explicit MiscWriter(const MiscWriterActions &action, const char data) in MiscWriter() 141 explicit MiscWriter(const MiscWriterActions &action, std::string data) in MiscWriter() 149 MiscWriterActions action_{MiscWriterActions::kUnset};
|
/hardware/google/pixel/recovery/ |
D | recovery_ui.cpp | 83 MiscWriter misc_writer(MiscWriterActions::kClearDarkThemeFlag); in WipeProvisionedFlag() 94 MiscWriter misc_writer(MiscWriterActions::kClearDisplayMode); in WipeUserPreferredResolution() 106 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()
|
D | recovery_watch_ui.cpp | 42 MiscWriter misc_writer(MiscWriterActions::kSetSotaFlag); in ProvisionSilentOtaFlag()
|