Home
last modified time | relevance | path

Searched refs:slot_number (Results 1 – 9 of 9) sorted by relevance

/external/autotest/server/site_tests/brillo_BootLoader/
Dbrillo_BootLoader.py96 def assert_current_slot(self, slot_number): argument
103 _assert_equal(slot_number, self.get_current_slot())
106 def set_active_slot(self, slot_number): argument
113 logging.info('Setting slot %d active.', slot_number)
114 self.dut.run('bootctl set-active-boot-slot %d' % slot_number)
117 def ensure_running_slot(self, slot_number): argument
124 logging.info('Ensuring device is running from slot %d.', slot_number)
125 if self.get_current_slot() != slot_number:
126 logging.info('Rebooting into slot %d', slot_number)
127 self.set_active_slot(slot_number)
[all …]
/external/avb/libavb_ab/
Davb_ab_flow.c410 unsigned int slot_number) { in avb_ab_mark_slot_active() argument
415 avb_assert(slot_number < 2); in avb_ab_mark_slot_active()
423 ab_data.slots[slot_number].priority = AVB_AB_MAX_PRIORITY; in avb_ab_mark_slot_active()
424 ab_data.slots[slot_number].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_mark_slot_active()
425 ab_data.slots[slot_number].successful_boot = 0; in avb_ab_mark_slot_active()
428 other_slot_number = 1 - slot_number; in avb_ab_mark_slot_active()
443 unsigned int slot_number) { in avb_ab_mark_slot_unbootable() argument
447 avb_assert(slot_number < 2); in avb_ab_mark_slot_unbootable()
454 slot_set_unbootable(&ab_data.slots[slot_number]); in avb_ab_mark_slot_unbootable()
466 unsigned int slot_number) { in avb_ab_mark_slot_successful() argument
[all …]
Davb_ab_flow.h233 AvbIOResult avb_ab_mark_slot_active(AvbABOps* ab_ops, unsigned int slot_number);
242 unsigned int slot_number);
255 unsigned int slot_number);
/external/u-boot/test/
Dprint_ut.c36 dp_sd->slot_number = 3; in efi_ut_print()
/external/u-boot/lib/efi_loader/
Defi_device_path_to_text.c143 s += sprintf(s, "%s(%u)", typename, sddp->slot_number); in dp_msging()
Defi_device_path.c553 sddp->slot_number = dev->seq; in dp_fill()
576 sddp->slot_number = dev->seq; in dp_fill()
/external/avb/test/
Davb_ab_flow_unittest.cc157 void GenerateSlot(unsigned int slot_number, in GenerateSlot() argument
164 if (slot_number > 0) { in GenerateSlot()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc4102 int32 slot_number = -1; in ConvertGraphDefToEngine() local
4104 node_name.c_str() + strlen(kInputPHName), &slot_number)) { in ConvertGraphDefToEngine()
4111 auto shape = input_shapes.at(slot_number); in ConvertGraphDefToEngine()
4118 slot_number, ": ", status.error_message()); in ConvertGraphDefToEngine()
4130 int32 slot_number = -1; in ConvertGraphDefToEngine() local
4132 node_name.c_str() + strlen(kOutputPHName), &slot_number)) { in ConvertGraphDefToEngine()
4141 if (output_tensors.size() <= slot_number) { in ConvertGraphDefToEngine()
4142 output_tensors.resize(slot_number + 1); in ConvertGraphDefToEngine()
4144 output_tensors.at(slot_number) = {node_def.input(0), node_name, in ConvertGraphDefToEngine()
/external/u-boot/include/
Defi_api.h438 u8 slot_number; member