Lines Matching refs:cr
55 return [=](CommandResult cr) { *dest = cr; }; in generate_callback() argument
73 CommandResult cr; in TEST_P() local
74 Return<void> result = boot->markBootSuccessful(generate_callback(&cr)); in TEST_P()
76 if (cr.success) { in TEST_P()
89 CommandResult cr; in TEST_P() local
90 Return<void> result = boot->setActiveBootSlot(s, generate_callback(&cr)); in TEST_P()
95 CommandResult cr; in TEST_P() local
96 auto result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P()
98 EXPECT_TRUE(cr.success); in TEST_P()
101 result = boot->setSlotAsUnbootable(otherSlot, generate_callback(&cr)); in TEST_P()
103 EXPECT_TRUE(cr.success); in TEST_P()
106 result = boot->markBootSuccessful(generate_callback(&cr)); in TEST_P()
108 EXPECT_TRUE(cr.success); in TEST_P()
111 CommandResult cr; in TEST_P() local
113 Return<void> result = boot->setActiveBootSlot(slots, generate_callback(&cr)); in TEST_P()
115 EXPECT_EQ(false, cr.success); in TEST_P()
124 CommandResult cr; in TEST_P() local
125 Return<void> result = boot->setSlotAsUnbootable(otherSlot, generate_callback(&cr)); in TEST_P()
127 if (cr.success) { in TEST_P()
132 result = boot->setActiveBootSlot(otherSlot, generate_callback(&cr)); in TEST_P()
134 EXPECT_TRUE(cr.success); in TEST_P()
136 result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P()
138 EXPECT_TRUE(cr.success); in TEST_P()
139 result = boot->markBootSuccessful(generate_callback(&cr)); in TEST_P()
141 EXPECT_TRUE(cr.success); in TEST_P()
145 CommandResult cr; in TEST_P() local
147 Return<void> result = boot->setSlotAsUnbootable(slots, generate_callback(&cr)); in TEST_P()
149 EXPECT_EQ(false, cr.success); in TEST_P()
177 CommandResult cr; in TEST_P() local