OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tries_remaining
(Results
1 - 6
of
6
) sorted by null
/external/avb/libavb_ab/
avb_ab_flow.c
68
data->slots[0].
tries_remaining
= AVB_AB_MAX_TRIES_REMAINING;
71
data->slots[1].
tries_remaining
= AVB_AB_MAX_TRIES_REMAINING;
136
(slot->successful_boot || (slot->
tries_remaining
> 0));
141
slot->
tries_remaining
= 0;
146
* canonical 'unbootable' state, e.g. priority=0,
tries_remaining
=0,
151
if (slot->
tries_remaining
== 0 && !slot->successful_boot) {
155
if (slot->
tries_remaining
> 0 && slot->successful_boot) {
157
*
tries_remaining
when setting successful_boot.
185
* (priority=0,
tries_remaining
=0, successful_boot=0).
374
ab_data.slots[slot_index_to_boot].
tries_remaining
> 0)
[
all
...]
avb_ab_flow.h
69
uint8_t
tries_remaining
;
member in struct:AvbABSlotData
175
* is not marked as bootable its |
tries_remaining
| count is
/bootable/recovery/boot_control/
boot_control.cpp
57
static_assert(kDefaultBootAttempts < 8, "
tries_remaining
field only has 3 bits");
178
entry.
tries_remaining
= kDefaultBootAttempts;
263
//
tries_remaining
== 0 means that the slot is not bootable anymore, make
266
bootctrl.slot_info[bootctrl_module->current_slot].
tries_remaining
= 1;
295
bootctrl.slot_info[slot].
tries_remaining
= kActiveTries;
320
// set the
tries_remaining
to 0.
322
bootctrl.slot_info[slot].
tries_remaining
= 0;
338
return bootctrl.slot_info[slot].
tries_remaining
;
352
return bootctrl.slot_info[slot].successful_boot && bootctrl.slot_info[slot].
tries_remaining
;
/external/avb/test/
avb_ab_flow_unittest.cc
59
EXPECT_EQ(AVB_AB_MAX_TRIES_REMAINING, data.slots[0].
tries_remaining
);
62
EXPECT_EQ(AVB_AB_MAX_TRIES_REMAINING, data.slots[1].
tries_remaining
);
250
data.slots[0].
tries_remaining
= a_tries;
253
data.slots[1].
tries_remaining
= b_tries;
282
EXPECT_EQ(a_tries, data.slots[0].
tries_remaining
); \
285
EXPECT_EQ(b_tries, data.slots[1].
tries_remaining
); \
298
EXPECT_EQ(AVB_AB_MAX_TRIES_REMAINING, loaded.slots[0].
tries_remaining
);
301
EXPECT_EQ(AVB_AB_MAX_TRIES_REMAINING, loaded.slots[1].
tries_remaining
);
308
data.slots[0].
tries_remaining
= 3;
312
EXPECT_EQ(3, loaded.slots[0].
tries_remaining
);
[
all
...]
/bootable/recovery/bootloader_message/include/bootloader_message/
bootloader_message.h
132
uint8_t
tries_remaining
: 3;
member in struct:slot_metadata
/external/avb/boot_control/
boot_control_avb.c
106
(ab_data.slots[slot].
tries_remaining
> 0));
Completed in 146 milliseconds