Searched refs:successful_boot (Results 1 – 6 of 6) sorted by relevance
35 .successful_boot = 0, in android_boot_control_default()141 if (a->successful_boot != b->successful_boot) in android_ab_compare_slots()142 return b->successful_boot - a->successful_boot; in android_ab_compare_slots()225 abc->slot_info[i].successful_boot); in android_ab_select()234 if (slot >= 0 && !abc->slot_info[slot].successful_boot) { in android_ab_select()
69 data->slots[0].successful_boot = 0; in avb_ab_data_init()72 data->slots[1].successful_boot = 0; in avb_ab_data_init()136 (slot->successful_boot || (slot->tries_remaining > 0)); in slot_is_bootable()142 slot->successful_boot = 0; in slot_set_unbootable()151 if (slot->tries_remaining == 0 && !slot->successful_boot) { in slot_normalize()155 if (slot->tries_remaining > 0 && slot->successful_boot) { in slot_normalize()373 if (!ab_data.slots[slot_index_to_boot].successful_boot && in avb_ab_flow()425 ab_data.slots[slot_number].successful_boot = 0; in avb_ab_mark_slot_active()484 ab_data.slots[slot_number].successful_boot = 1; in avb_ab_mark_slot_successful()
72 uint8_t successful_boot; member
60 EXPECT_EQ(0, data.slots[0].successful_boot); in TEST_F()63 EXPECT_EQ(0, data.slots[1].successful_boot); in TEST_F()251 data.slots[0].successful_boot = (a_success ? 1 : 0); in SetMD()254 data.slots[1].successful_boot = (b_success ? 1 : 0); in SetMD()283 EXPECT_EQ(a_success ? 1 : 0, data.slots[0].successful_boot); \286 EXPECT_EQ(b_success ? 1 : 0, data.slots[1].successful_boot); \299 EXPECT_EQ(0, loaded.slots[0].successful_boot); in TEST_F()302 EXPECT_EQ(0, loaded.slots[1].successful_boot); in TEST_F()1316 EXPECT_EQ(0, data.slots[0].successful_boot); in TEST_F()1319 EXPECT_EQ(1, data.slots[1].successful_boot); in TEST_F()[all …]
113 (ab_data.slots[slot].successful_boot || in module_isSlotBootable()132 is_marked_successful = ab_data.slots[slot].successful_boot; in module_isSlotMarkedSuccessful()
112 uint8_t successful_boot : 1; member