Home
last modified time | relevance | path

Searched refs:update_url (Results 1 – 10 of 10) sorted by relevance

/external/autotest/client/common_lib/cros/
Dautoupdater.py50 def url_to_version(update_url): argument
61 urlparse.urlparse(update_url).path).split('/')[-1].strip()
64 def url_to_image_name(update_url): argument
75 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:])
78 def _get_devserver_build_from_update_url(update_url): argument
97 parts = re.search(re_pattern, update_url)
99 raise ValueError('%s is not an update url' % update_url)
103 def list_image_dir_contents(update_url): argument
108 if not update_url:
111 error_msg = 'Cannot check contents of devserver, update url %s' % update_url
[all …]
Dautoupdater_unittest.py21 update_url = ('http://172.22.50.205:8082/update/lumpy-release/'
24 self.assertEqual(autoupdater.url_to_image_name(update_url),
38 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-paladin/'
41 update_url, host=self.mox.CreateMockAnything())
89 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-release/'
92 update_url, host=self.mox.CreateMockAnything())
140 update_url = ('http://172.22.50.205:8082/update/lumpy-release/'
143 update_url, host=self.mox.CreateMockAnything())
191 update_url = ('http://172.22.50.205:8082/update/lumpy-paladin/'
194 update_url, host=self.mox.CreateMockAnything())
[all …]
/external/autotest/server/hosts/
Dsonic_host.py241 def _setup_for_recovery(self, update_url): argument
254 site_utils.remote_wget(update_url, self.OTA_LOCATION, ssh_cmd)
270 def machine_install(self, update_url): argument
279 self._setup_for_recovery(update_url)
291 (self.hostname, update_url()))
293 return str(new_build_number), {constants.JOB_REPO_URL: update_url}
Dcros_host.py474 def _try_stateful_update(self, update_url, force_update, updater): argument
496 image_name = autoupdater.url_to_image_name(update_url)
653 def machine_install_by_devserver(self, update_url=None, force_update=False, argument
683 update_url = self._get_cros_repair_image_name()
686 if not update_url and not self._parser.options.image:
690 if not update_url and self._parser.options.image:
691 update_url = self._parser.options.image
701 if update_url.startswith('http://'):
702 build = autoupdater.url_to_image_name(update_url)
705 build = update_url
[all …]
Dservo_host.py560 updater = autoupdater.ChromiumOSUpdater(update_url=url, host=self)
/external/autotest/server/site_tests/servohost_Reboot/
Dservohost_Reboot.py38 updater = autoupdater.ChromiumOSUpdater(update_url=url, host=s_host)
/external/autotest/server/site_tests/provision_AutoUpdate/
Dprovision_AutoUpdate.py112 update_url=url,
/external/autotest/client/common_lib/
Dsite_utils.py498 def version_match(build_version, release_version, update_url=''): argument
563 update_url))
572 re.match(r'.+-pgo-generate', update_url))
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/
Dnetwork_WiFi_UpdateRouter.py109 router_host.machine_install(force_update=True, update_url=url)
/external/autotest/server/cros/clique_lib/
Dclique_dut_updater.py150 dut_host.machine_install(force_update=True, update_url=url,