Lines Matching refs:MiscWriter
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()
189 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kSetMaxRamSize, in main()
202 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kWriteTimeRtcOffset, in main()
214 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kWriteTimeMinRtc, in main()
218 if (mode.size() > MiscWriter::kDisplayModeMaxSize) { in main()
226 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kSetDisplayMode, mode); in main()
232 misc_writer = std::make_unique<MiscWriter>(iter->second); in main()
243 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kWriteDstTransition, in main()
255 misc_writer = std::make_unique<MiscWriter>(MiscWriterActions::kWriteDstOffset, in main()