Searched refs:target_slot (Results 1 – 3 of 3) sorted by relevance
/external/autotest/server/site_tests/brillo_RecoverFromBadImage/ |
D | brillo_RecoverFromBadImage.py | 52 target_slot = 0 if current_slot else 1 53 partition = partition[:-1] + chr(ord('a') + target_slot) 56 '(slot %d)', current_slot, partition, target_slot) 59 target_slot = ord(partition[-1]) - ord('a') 60 if target_slot == current_slot: 61 target_slot = None 69 return partition, target_slot 138 partition, target_slot = self.resolve_slot(host, partition) 155 if target_slot is not None: 157 host.run('bootctl set-active-boot-slot %d' % target_slot) [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | mtb.py | 603 def get_x_y(self, target_slot): argument 619 if (slot == target_slot and slot == 0 and not target_slot_live and 626 if slot == target_slot and not target_slot_live: 628 if slot != target_slot: 839 def get_points(self, target_slot): argument 841 list_x, list_y = self.get_x_y(target_slot) 844 def get_distances(self, target_slot): argument 846 points = self.get_points(target_slot) 869 def get_total_motion(self, target_slot): argument 879 slot == target_slot): [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | mtb_unittest.py | 41 def get_x_y(self, target_slot): argument 561 target_slot = 0 565 displacements = packets.get_displacements_for_slots(target_slot)
|