/tools/external_updater/ |
D | archive_utils.py | 71 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)
|
D | github_archive_updater.py | 65 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:
|
D | external_updater_test.py | 37 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)
|
D | git_updater.py | 34 for name, url in remotes.items(): 36 current_remote_url = url 39 if '/platform/external/' in url:
|
D | README.md | 37 supported url. 80 If the url type is ARCHIVE, and the url is from GitHub, `external_updater` 88 ```url
|
D | git_utils.py | 40 def add_remote(proj_path: Path, name: str, url: str) -> None: 48 _run(['git', 'remote', 'add', name, url], cwd=proj_path)
|
D | metadata.proto | 42 repeated URL url = 1; field
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/ |
D | utils.py | 23 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/ |
D | DownloadStressTest.py | 90 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, ))
|
D | PingStressTest.py | 139 for index, url in enumerate(ping_urls): 141 t = threading.Thread(target=self.ping_thread, args=(url, ))
|
/tools/repohooks/tools/ |
D | checkpatch.pl-update | 59 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/ |
D | RewriteAnnotationsTest.kt | 114 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__.py | 187 url, argument 209 self.visit(url) 213 page_reached = self.url.split('/')[-1] == url.split('/')[-1] 229 self.url))
|
/tools/asuite/atest-py2/metrics/ |
D | clearcut_client.py | 53 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/ |
D | clearcut_client.py | 53 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/ |
D | net_test_utils.py | 172 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/ |
D | License.kt | 19 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/ |
D | GameQualificationResultReporter.java | 136 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/ |
D | twilio_client.py | 74 url=MUSIC_URL, status_callback=MUSIC_URL)
|
/tools/ndkports/ |
D | build.gradle.kts | 15 maven(url = "https://dl.bintray.com/s1m0nw1/KtsRunner") in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | base_lib.py | 75 return requests.get(url=self.address,
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiIFSTwTest.py | 197 def http_request(self, url="https://www.google.com/"): argument 209 self.dut.droid.httpRequestString(url)
|
D | WifiStressTest.py | 150 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/ |
D | log_file.proto | 26 string url = 2; field
|
/tools/test/connectivity/acts_tests/ |
D | setup.py | 197 url="http://www.android.com/")
|