Lines Matching refs:ops_
137 ops_.set_partition_dir(testdir_); in SetUp()
138 ops_.set_stored_rollback_indexes({{0, 0}, {1, 0}, {2, 0}, {3, 0}}); in SetUp()
139 ops_.set_stored_is_device_unlocked(false); in SetUp()
153 ops_.set_expected_public_key( in SetUp()
256 ops_.avb_ab_ops()->write_ab_metadata(ops_.avb_ab_ops(), &data)); in SetMD()
259 ops_.set_stored_rollback_indexes(stored_rollback_indexes); in SetMD()
267 FakeAvbOps ops_; member in avb::AvbABFlowTest
280 ops_.avb_ab_ops()->read_ab_metadata(ops_.avb_ab_ops(), &data)); \
287 EXPECT_EQ(stored_rollback_indexes, ops_.get_stored_rollback_indexes()); \
296 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_read(ops_.avb_ab_ops(), &loaded)); in TEST_F()
309 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_write(ops_.avb_ab_ops(), &data)); in TEST_F()
310 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_read(ops_.avb_ab_ops(), &loaded)); in TEST_F()
333 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
364 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
399 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
433 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
451 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
469 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
488 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
521 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
539 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
557 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
592 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
628 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
659 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
690 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
724 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
755 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
786 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
820 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
851 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
886 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
918 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
951 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
982 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_mark_slot_active(ops_.avb_ab_ops(), 0)); in TEST_F()
1006 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_mark_slot_active(ops_.avb_ab_ops(), 1)); in TEST_F()
1031 avb_ab_mark_slot_unbootable(ops_.avb_ab_ops(), 0)); in TEST_F()
1054 avb_ab_mark_slot_unbootable(ops_.avb_ab_ops(), 1)); in TEST_F()
1079 avb_ab_mark_slot_successful(ops_.avb_ab_ops(), 0)); in TEST_F()
1102 avb_ab_mark_slot_successful(ops_.avb_ab_ops(), 1)); in TEST_F()
1128 avb_ab_mark_slot_successful(ops_.avb_ab_ops(), 0)); in TEST_F()
1162 ops_.avb_ab_ops()->read_ab_metadata = my_read_ab_metadata; in TEST_F()
1163 ops_.avb_ab_ops()->write_ab_metadata = my_write_ab_metadata; in TEST_F()
1179 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
1210 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
1254 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
1285 avb_ab_flow(ops_.avb_ab_ops(), in TEST_F()
1313 ops_.avb_ab_ops()->read_ab_metadata(ops_.avb_ab_ops(), &data)); in TEST_F()
1335 ops_.avb_ab_ops()->read_ab_metadata(ops_.avb_ab_ops(), &data)); in TEST_F()