/external/autotest/client/common_lib/cros/ |
autoupdater.py | 47 def url_to_version(update_url): 48 """Return the version based on update_url. 50 @param update_url: url to the image to update to. 58 urlparse.urlparse(update_url).path).split('/')[-1].strip() 61 def url_to_image_name(update_url): 62 """Return the image name based on update_url. 68 @param update_url: url to the image to update to. 69 @returns a string representing the image name in the update_url. 72 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:]) 75 def _get_devserver_build_from_update_url(update_url) [all...] |
autoupdater_unittest.py | 19 """Test that we properly parse the build from an update_url.""" 20 update_url = ('http://172.22.50.205:8082/update/lumpy-release/' 23 self.assertEqual(autoupdater.url_to_image_name(update_url), 37 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-paladin/' 40 update_url, host=self.mox.CreateMockAnything()) 88 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-release/' 91 update_url, host=self.mox.CreateMockAnything()) 139 update_url = ('http://172.22.50.205:8082/update/lumpy-release/' 142 update_url, host=self.mox.CreateMockAnything()) 190 update_url = ('http://172.22.50.205:8082/update/lumpy-paladin/ [all...] |
/external/autotest/server/hosts/ |
sonic_host.py | 240 def _setup_for_recovery(self, update_url): 243 Copies over the OTA zipfile from the update_url to /cache, then 247 @param update_url: A url pointing to a staged ota zip file. 253 site_utils.remote_wget(update_url, self.OTA_LOCATION, ssh_cmd) 269 def machine_install(self, update_url): 277 self._setup_for_recovery(update_url) 289 (self.hostname, update_url()))
|
cros_host.py | 545 def _try_stateful_update(self, update_url, force_update, updater): 554 @param update_url: url of the image. 567 image_name = autoupdater.url_to_image_name(update_url) 636 """Stage a build on a devserver and return the update_url and devserver. 654 """Stage a build on a devserver and return the update_url. 669 """Stage a build on a devserver and return the update_url. 702 def machine_install(self, update_url=None, force_update=False, 716 @param update_url: The url to use for the update 718 If update_url is None and repair is True we will install the 736 update_url, devserver = self._stage_image_for_update( [all...] |
/system/update_engine/ |
omaha_request_params_unittest.cc | 122 EXPECT_EQ("http://www.google.com", out.update_url()); 145 EXPECT_EQ("http://www.google.com", out.update_url()); 234 EXPECT_EQ("http://forced.google.com", out.update_url()); 254 EXPECT_EQ(constants::kOmahaDefaultProductionURL, out.update_url()); 293 EXPECT_EQ("https://www.google.com", out.update_url()); 318 EXPECT_EQ("https://www.google.com", out.update_url()); 341 EXPECT_EQ("http://www.google.com", out.update_url()); 447 EXPECT_EQ("http://www.google.com", out.update_url()); 537 EXPECT_EQ("https://www.google.com", out.update_url());
|
omaha_request_params.h | 136 inline std::string update_url() const { return update_url_; } function in class:chromeos_update_engine::OmahaRequestParams
|
omaha_request_action.cc | 643 LOG(INFO) << "Posting an Omaha request to " << params_->update_url(); 645 http_fetcher_->BeginTransfer(params_->update_url()); [all...] |
update_attempter.cc | [all...] |
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/ |
network_WiFi_UpdateRouter.py | 108 router_host.machine_install(force_update=True, update_url=url)
|
/external/autotest/server/site_tests/provision_AutoUpdate/ |
provision_AutoUpdate.py | 135 update_url=url,
|
/external/autotest/server/cros/clique_lib/ |
clique_dut_updater.py | 150 dut_host.machine_install(force_update=True, update_url=url,
|
/external/autotest/client/common_lib/ |
site_utils.py | 435 def version_match(build_version, release_version, update_url=''): 440 builder info, e.g., lumpy-release, in which case, update_url shall be passed 481 @param update_url: Update url which include the full builder information. 498 re.match(r'.*trybot-.+-(paladin|pre-cq|test-ap)', update_url)) 507 re.match(r'.+-pgo-generate', update_url))
|