Home
last modified time | relevance | path

Searched refs:host_info_store (Results 1 – 25 of 46) sorted by relevance

12

/external/autotest/server/hosts/
Dcros_host_unittest.py134 host.host_info_store = host_info.InMemoryHostInfoStore()
142 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'some_status')
149 self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), '')
161 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'SOME_STATE')
171 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'SOME_STATE')
180 self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), '')
188 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'SOME_STATE')
194 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'passed_State')
205 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'state_of_host')
209 … self.assertEqual(host.host_info_store.get().get_label_value(SERVO_STATE_PREFIX), 'state_of_host2')
Dfactory.py72 host_info_store = host_info.get_store_from_machine(machine)
73 info = host_info_store.get()
93 'host_info_store': host_info_store,
270 def create_target_host(hostname, host_info_path=None, host_info_store=None, argument
283 if not host_info_store and host_info_path:
284 host_info_store = file_store.FileStore(host_info_path)
286 if host_info_store:
289 'host_info_store': host_info_store,
Dbase_label.py35 info = host.host_info_store.get()
288 if keep_pool and isinstance(host.host_info_store,
291 host.host_info_store.commit_with_substitute(
297 host.host_info_store.commit(new_info)
314 old_info = host.host_info_store.get()
Dcros_host.py357 host_info=self.host_info_store.get(),
369 dut_host_info=self.host_info_store.get(),
466 info = self.host_info_store.get()
537 info = self.host_info_store.get()
611 info = self.host_info_store.get()
716 info = self.host_info_store.get()
720 self.host_info_store.commit(info)
731 info = self.host_info_store.get()
735 self.host_info_store.commit(info)
865 info = self.host_info_store.get()
[all …]
Dlabstation_host.py150 info = self.host_info_store.get()
204 info = self.host_info_store.get()
232 info = self.host_info_store.get()
244 info = self.host_info_store.get()
246 self.host_info_store.commit(info)
Dcros_repair.py189 'model': host.host_info_store.get().model,
201 'board': host.host_info_store.get().board}
427 info = host.host_info_store.get()
467 info = host.host_info_store.get()
595 info = host.host_info_store.get()
770 host_info = host.host_info_store.get()
774 host.host_info_store.commit(host_info)
789 host.host_info_store.commit(host_info)
992 info = host.host_info_store.get()
994 host.host_info_store.commit(info)
[all …]
Dcros_label.py58 device_sku = host.host_info_store.get().device_sku
80 brand_code = host.host_info_store.get().brand_code
247 info = host.host_info_store.get()
273 info = host.host_info_store.get()
390 info = host.host_info_store.get()
Dcros_firmware.py80 info = host.host_info_store.get()
175 info = host.host_info_store.get()
198 info = host.host_info_store.get()
396 info = host.host_info_store.get()
Dlabstation_repair.py41 info = host.host_info_store.get()
/external/autotest/server/
Dafe_utils.py89 info = host.host_info_store.get()
95 host.host_info_store.commit(info)
108 info = host.host_info_store.get()
111 host.host_info_store.commit(info)
/external/autotest/site_utils/deployment/prepare/
Ddut.py88 def _get_machine_dict(hostname, host_info_store): argument
97 'host_info_store': host_info_store,
175 host_info = host.host_info_store.get()
235 host_info = host.host_info_store.get()
274 host_info = host.host_info_store.get()
310 host_info = host.host_info_store.get()
580 info = host.host_info_store.get()
596 if info != host.host_info_store.get():
597 host.host_info_store.commit(info)
Ddut_unittest.py45 self.host_info_store = InMemoryHostInfoStore(info=info)
/external/autotest/server/cros/faft/
Dfirmware_test_unittest.py170 self.test._client.host_info_store.get.return_value.build = "dummy_build"
177 self.test._client.host_info_store.get.return_value.build = "dummy_build"
184 self.test._client.host_info_store.get.return_value.build = None
189 self.test._client.host_info_store.get.return_value.build = "dummy_build"
198 self.test._client.host_info_store.get.return_value.build = "dummy_build"
209 self.test._client.host_info_store.get.return_value.build = "dummy_build"
/external/autotest/site_utils/admin_audit/
Drpm_validator.py29 host_info = host.host_info_store.get()
158 power_info = host.host_info_store.get().get_label_value('power')
209 host_info = host.host_info_store.get()
217 host.host_info_store.commit(host_info)
Dbase.py51 host_info = self._dut_host.host_info_store.get()
56 self._dut_host.host_info_store.commit(host_info)
/external/autotest/server/site_tests/provision_CheetsUpdate/
Dprovision_CheetsUpdate.py233 info = host.host_info_store.get()
253 host.host_info_store.commit(info)
270 info = host.host_info_store.get()
274 host.host_info_store.commit(info)
/external/autotest/server/site_tests/servo_LabstationVerification/
Dservo_LabstationVerification.py290 info = dut_host.host_info_store.get()
292 dut_host.host_info_store.commit(info)
381 host_info_store = host_info.InMemoryHostInfoStore(info=info)
384 'host_info_store': host_info_store,
428 self.labstation_host.host_info_store.get().cros_stable_version)
/external/autotest/server/cros/servo/topology/
Dservo_topology.py68 def save(self, host_info_store): argument
73 if not host_info_store:
82 host_info = host_info_store.get()
89 host_info_store.commit(host_info)
/external/autotest/site_utils/deployment/
Dinstall.py430 info = host.host_info_store.get()
815 info = host.host_info_store.get()
890 info = host_to_update.host_info_store.get()
894 host_to_update.host_info_store.commit(info)
915 info = host.host_info_store.get()
924 if info != host.host_info_store.get():
925 host.host_info_store.commit(info)
/external/autotest/server/cros/storage/
Dstorage_validate_unittest.py25 self.host_info_store = mock.Mock()
26 self.host_info_store.get.return_value = MockHostInfoStore()
/external/autotest/server/site_tests/provision_FirmwareUpdate/
Dprovision_FirmwareUpdate.py30 info = host.host_info_store.get()
/external/autotest/server/site_tests/tast/
Dcontrol.runtime-probe30 host_info = host.host_info_store.get()
/external/autotest/server/site_tests/hardware_StorageQualCheckSetup/
Dhardware_StorageQualCheckSetup.py53 pools = host.host_info_store.get().pools
/external/autotest/server/site_tests/provision_QuickProvision/
Dprovision_QuickProvision.py130 info = host.host_info_store.get()
/external/autotest/site_utils/rpm_control_system/
Drpm_client.py48 info = host.host_info_store.get()

12