Lines Matching refs:MiscWriter
41 ASSERT_TRUE(MiscWriter::WriteMiscPartitionVendorSpace(zeros.data(), zeros.size(), 0, &err)) in TearDown()
47 std::unique_ptr<MiscWriter> misc_writer_;
52 ASSERT_TRUE(MiscWriter::OffsetAndSizeInVendorSpace(offset, expected.size())); in CheckMiscPartitionVendorSpaceContent()
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()
113 MiscWriter::WriteMiscPartitionVendorSpace(kTestMessage.data(), kTestMessage.size(), 0, &err)); in TEST_F()
118 ASSERT_TRUE(MiscWriter::WriteMiscPartitionVendorSpace("\x00\x00", 2, 5, &err)); in TEST_F()
124 ASSERT_TRUE(MiscWriter::WriteMiscPartitionVendorSpace(kTestMessage.data(), kTestMessage.size(), in TEST_F()
128 ASSERT_FALSE(MiscWriter::WriteMiscPartitionVendorSpace(kTestMessage.data(), kTestMessage.size(), in TEST_F()
134 MiscWriter::WriteMiscPartitionVendorSpace(long_message.data(), long_message.size(), 0, &err)); in TEST_F()