Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 44) sorted by relevance

12

/tools/external_updater/
Darchive_utils.py71 def is_supported_archive(url): argument
73 return get_extract_func(url) is not None
76 def get_extract_func(url): argument
86 parsed_url = urllib.parse.urlparse(url)
93 if url.find('/crates.io/api/') > 0 or url.find('/static.crates.io/crates/'):
98 def download_and_extract(url): argument
108 print('Downloading {}'.format(url))
109 archive_file, _headers = urllib.request.urlretrieve(url)
113 get_extract_func(url)(archive_file, temporary_dir)
Dgithub_archive_updater.py65 key=lambda url: _edit_distance(url, previous_url))
93 url = f'https://api.github.com/repos/{self.owner}/{self.repo}/releases/latest'
95 with urllib.request.urlopen(url) as request:
115 url = f'https://api.github.com/repos/{self.owner}/{self.repo}/tags?page={page}'
116 with urllib.request.urlopen(url) as request:
140 url = f'https://api.github.com/repos/{self.owner}/{self.repo}/commits/master'
141 with urllib.request.urlopen(url) as request:
Dexternal_updater_test.py37 url = github_archive_updater.choose_best_url(urls, previous_url)
39 self.assertEqual(url, expected_url)
42 url = github_archive_updater.choose_best_url(urls, previous_url)
44 self.assertEqual(url, expected_url)
Dgit_updater.py34 for name, url in remotes.items():
36 current_remote_url = url
39 if '/platform/external/' in url:
DREADME.md37 supported url.
80 If the url type is ARCHIVE, and the url is from GitHub, `external_updater`
88 ```url
Dgit_utils.py40 def add_remote(proj_path: Path, name: str, url: str) -> None:
48 _run(['git', 'remote', 'add', name, url], cwd=proj_path)
Dmetadata.proto42 repeated URL url = 1; field
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/
Dutils.py23 url,
47 url, out_path)
56 curl_cmd += ' --url %s > %s' % (url, file_path)
59 'Download %s to %s by ssh command %s' % (url, file_path, curl_cmd))
72 '%s is downloaded to %s successfully' % (url, file_path))
75 fd.log.warning('Fail to download %s' % url)
78 fd.log.warning('Download %s failed with exception %s' % (url, e))
86 def _generate_file_directory_and_file_name(url, out_path): argument
98 file_name = url.split('/')[-1]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DDownloadStressTest.py90 def download_file(self, url): argument
91 self.log.info("Start downloading: %s" % url)
94 url,
97 def download_thread(self, url): argument
98 download_status = self.download_file(url)
100 self.log.info("Success downloading: %s" % url)
102 self.log.info("Failure downloading: %s" % url)
113 for index, url in enumerate(download_urls):
115 t = threading.Thread(target=self.download_thread, args=(url, ))
DPingStressTest.py139 for index, url in enumerate(ping_urls):
141 t = threading.Thread(target=self.ping_thread, args=(url, ))
/tools/repohooks/tools/
Dcheckpatch.pl-update59 local url
62 url="${CGIT_URL}/scripts/checkpatch.pl?h=v${version}"
63 wget "${url}" -O checkpatch.pl
67 url="${CGIT_URL}/scripts/spelling.txt?h=v${version}"
68 wget "${url}" -O spelling.txt
/tools/metalava/src/test/java/com/android/tools/metalava/
DRewriteAnnotationsTest.kt114 val url = compiledStubs.toURI().toURL() in Test rewriting the bytecode for one of the public annotations() constant
115 val loader = URLClassLoader(arrayOf(url), null) in Test rewriting the bytecode for one of the public annotations()
151 val url = jarFile.toURI().toURL() in Test rewriting the bytecode for one of the public annotations in a jar file() constant
152 val loader = URLClassLoader(arrayOf(url), null) in Test rewriting the bytecode for one of the public annotations in a jar file()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_retail_ap/
D__init__.py187 url, argument
209 self.visit(url)
213 page_reached = self.url.split('/')[-1] == url.split('/')[-1]
229 self.url))
/tools/asuite/atest-py2/metrics/
Dclearcut_client.py53 def __init__(self, log_source, url=None, buffer_size=None, argument
63 self._clearcut_url = url if url else _CLEARCUT_PROD_URL
/tools/asuite/atest/metrics/
Dclearcut_client.py53 def __init__(self, log_source, url=None, buffer_size=None, argument
63 self._clearcut_url = url if url else _CLEARCUT_PROD_URL
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dnet_test_utils.py172 url = "http://%s%s%s" % (vpn_server_addr,
175 logging.info("URL is: %s" % url)
177 ad.droid.httpDownloadFile(url, "/sdcard/")
185 ret = urllib.request.urlopen(url)
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DLicense.kt19 data class License(val name: String, val url: String) constant in com.android.ndkports.License
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java136 final String url = logFile.getUrl(); in getInvocationSummary() local
137 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtwilio_client.py74 url=MUSIC_URL, status_callback=MUSIC_URL)
/tools/ndkports/
Dbuild.gradle.kts15 maven(url = "https://dl.bintray.com/s1m0nw1/KtsRunner") in <lambda>()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dbase_lib.py75 return requests.get(url=self.address,
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiIFSTwTest.py197 def http_request(self, url="https://www.google.com/"): argument
209 self.dut.droid.httpRequestString(url)
DWifiStressTest.py150 def start_youtube_video(self, url=None, secs=60): argument
164 ad.adb.shell('am start -a android.intent.action.VIEW -d "%s"' % url)
367 self.start_youtube_video(url=video, secs=10*60)
/tools/asuite/atest/tf_proto/
Dlog_file.proto26 string url = 2; field
/tools/test/connectivity/acts_tests/
Dsetup.py197 url="http://www.android.com/")

12