Home
last modified time | relevance | path

Searched refs:curSlot (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp66 Slot curSlot = boot->getCurrentSlot(); in TEST_P() local
68 EXPECT_LT(curSlot, slots); in TEST_P()
77 Slot curSlot = boot->getCurrentSlot(); in TEST_P() local
78 BoolResult ret = boot->isSlotMarkedSuccessful(curSlot); in TEST_P()
84 Slot curSlot = boot->getCurrentSlot(); in TEST_P() local
85 Slot otherSlot = curSlot ? 0 : 1; in TEST_P()
96 auto result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P()
120 Slot curSlot = boot->getCurrentSlot(); in TEST_P() local
121 Slot otherSlot = curSlot ? 0 : 1; in TEST_P()
136 result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P()
/hardware/interfaces/boot/1.2/vts/functional/
DVtsHalBootV1_2TargetTest.cpp52 Slot curSlot = boot->getCurrentSlot(); in TEST_P() local
53 Slot otherSlot = curSlot ? 0 : 1; in TEST_P()
62 result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P()
65 EXPECT_EQ(curSlot, activeSlot); in TEST_P()