Searched refs:fake_boot_control (Results 1 – 5 of 5) sorted by relevance
44 FakeBootControl* fake_boot_control = fake_system_state_.fake_boot_control(); in SetUp() local45 fake_boot_control->SetPartitionDevice( in SetUp()47 fake_boot_control->SetPartitionDevice( in SetUp()49 fake_boot_control->SetPartitionDevice( in SetUp()51 fake_boot_control->SetPartitionDevice( in SetUp()116 int slot = 1 - fake_system_state_.fake_boot_control()->GetCurrentSlot(); in DoTest()189 fake_system_state_.fake_boot_control()->SetCurrentSlot(1); in TEST_F()209 fake_system_state_.fake_boot_control()->SetCurrentSlot(0); in TEST_F()
170 inline FakeBootControl* fake_boot_control() { in fake_boot_control() function
1472 FakeBootControl* fake_boot_control = fake_system_state.fake_boot_control(); in TEST() local1473 fake_boot_control->SetCurrentSlot(0); in TEST()1485 fake_boot_control->SetCurrentSlot(1); in TEST()1494 fake_boot_control->SetCurrentSlot(0); in TEST()
283 fake_system_state.fake_boot_control(), fake_system_state.fake_hardware()); in TEST_F()441 fake_system_state_.fake_boot_control()->SetSlotBootable(rollback_slot, in RollbackTestStart()
153 fake_system_state.fake_boot_control()->SetSlotBootable( in TestWithData()155 fake_system_state.fake_boot_control()->SetSlotBootable( in TestWithData()196 EXPECT_TRUE(fake_system_state.fake_boot_control()->IsSlotBootable( in TestWithData()198 EXPECT_FALSE(fake_system_state.fake_boot_control()->IsSlotBootable( in TestWithData()