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.py51 def url_to_version(update_url): argument
62 urlparse.urlparse(update_url).path).split('/')[-1].strip()
65 def url_to_image_name(update_url): argument
76 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:])
79 def _get_devserver_build_from_update_url(update_url): argument
98 parts = re.search(re_pattern, update_url)
100 raise ValueError('%s is not an update url' % update_url)
104 def list_image_dir_contents(update_url): argument
109 if not update_url:
112 error_msg = 'Cannot check contents of devserver, update url %s' % update_url
[all …]
Dautoupdater_unittest.py23 update_url = ('http://172.22.50.205:8082/update/lumpy-release/'
26 self.assertEqual(autoupdater.url_to_image_name(update_url),
40 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-paladin/'
43 update_url, host=self.mox.CreateMockAnything())
91 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-release/'
94 update_url, host=self.mox.CreateMockAnything())
142 update_url = ('http://172.22.50.205:8082/update/lumpy-release/'
145 update_url, host=self.mox.CreateMockAnything())
193 update_url = ('http://172.22.50.205:8082/update/lumpy-paladin/'
196 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.py481 def _try_stateful_update(self, update_url, force_update, updater): argument
501 image_name = autoupdater.url_to_image_name(update_url)
705 def machine_install_by_devserver(self, update_url=None, force_update=False, argument
735 update_url = self._get_cros_repair_image_name()
738 if not update_url and not self._parser.options.image:
742 if not update_url and self._parser.options.image:
743 update_url = self._parser.options.image
753 if update_url.startswith('http://'):
754 build = autoupdater.url_to_image_name(update_url)
757 build = update_url
[all …]
Dservo_host.py549 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/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,
/external/autotest/client/common_lib/
Dutils.py2271 def version_match(build_version, release_version, update_url=''): argument
2336 update_url))
2345 re.match(r'.+-pgo-generate', update_url))