/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/testpkg-compatmodule/pkg/ |
H A D | api2.py | 1 import urllib2 namespace
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
H A D | test_utils.py | 17 import urllib2 namespace 22 urllib2.urlopen('https://example.com', timeout=10) 24 except urllib2.URLError as err:
|
/external/skia/tools/ |
H A D | retrieve_from_googlesource.py | 15 import urllib2 namespace 29 with closing(urllib2.urlopen(base64_url)) as f:
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
H A D | meta.py | 7 import urllib2 namespace 30 request = urllib2.urlopen(self.get_url(['generation']), None, 33 except urllib2.URLError:
|
H A D | common_client.py | 8 import urllib2 namespace 71 params_list.append('='.join([urllib2.quote(kw), 72 urllib2.quote(arg)]))
|
H A D | fail_control.py | 8 import urllib2 namespace 26 request = urllib2.Request(self.get_url(['start_failing_requests']), 28 url_h = urllib2.urlopen(request) 35 request = urllib2.Request(self.get_url(['stop_failing_requests']), 37 url_h = urllib2.urlopen(request)
|
H A D | oauth.py | 8 import urllib2 namespace 26 request = urllib2.Request(self.get_url(['invalidate_all_access_tokens']), 28 url_h = urllib2.urlopen(request) 35 request = urllib2.Request( 38 url_h = urllib2.urlopen(request)
|
H A D | oauth_helpers.py | 10 import urllib2 namespace 38 request = urllib2.Request(token_url, data=urllib.urlencode(data), 40 url_h = urllib2.urlopen(request) 56 request = urllib2.Request(token_url, data=urllib.urlencode(data), 58 url_h = urllib2.urlopen(request)
|
H A D | commands.py | 9 import urllib2 namespace 29 request = urllib2.Request(self.get_url([command_id]), 31 url_h = urllib2.urlopen(request) 40 request = urllib2.Request(self.get_url(params={'deviceId':device_id}), 42 url_h = urllib2.urlopen(request) 58 request = urllib2.Request(self.get_url([command_id]), json.dumps(data), 65 url_h = urllib2.urlopen(request) 77 request = urllib2.Request(self.get_url(), 80 url_h = urllib2.urlopen(request)
|
H A D | devices.py | 9 import urllib2 namespace 29 request = urllib2.Request(self.get_url([device_id]), 31 url_h = urllib2.urlopen(request) 37 request = urllib2.Request(self.get_url(), 39 url_h = urllib2.urlopen(request) 54 request = urllib2.Request(self.get_url(), json.dumps(data), 56 url_h = urllib2.urlopen(request)
|
H A D | registration.py | 9 import urllib2 namespace 29 url_h = urllib2.urlopen(self.get_url([ticket_id])) 51 request = urllib2.Request(self.get_url([ticket_id]), json.dumps(data), 58 url_h = urllib2.urlopen(request) 73 request = urllib2.Request(self.get_url(), json.dumps(data), headers) 74 url_h = urllib2.urlopen(request) 83 request = urllib2.Request(self.get_url([ticket_id, 'finalize']), 85 url_h = urllib2.urlopen(request)
|
/external/chromium-trace/catapult/experimental/bisect_lib/ |
H A D | fetch_revision_info.py | 15 import urllib2 namespace 26 response = urllib2.urlopen(url).read()
|
H A D | fetch_intervening_revisions.py | 19 import urllib2 namespace 46 urllib2.URLError: The request to gitiles failed. 66 response = urllib2.urlopen(current_page_url).read()
|
/external/autotest/tko/ |
H A D | vertical_text.py | 3 import gd, os, cStringIO, urllib2, sys namespace
|
H A D | jsonp_fetcher.cgi | 3 import cgi, traceback, urllib2 namespace 26 file_contents = urllib2.urlopen('http://localhost' + path).read() 28 except urllib2.HTTPError:
|
/external/chromium-trace/catapult/common/lab/ |
H A D | hardware.py | 12 import urllib2 namespace 53 master_data = json.load(urllib2.urlopen(
|
H A D | commits.py | 13 import urllib2 namespace 63 data = json.loads(''.join(urllib2.urlopen(url).read().splitlines()[1:]))
|
/external/skia/platform_tools/android/bin/ |
H A D | http_download.py | 15 import urllib2 namespace 53 proxy_handler = urllib2.ProxyHandler({ 56 opener = urllib2.build_opener(proxy_handler) 58 opener = urllib2.build_opener() 60 urllib2.install_opener(opener) 68 src = urllib2.urlopen(url, timeout=30) 83 except urllib2.HTTPError, e: 88 except urllib2.URLError:
|
/external/autotest/client/common_lib/ |
H A D | file_utils.py | 8 import urllib2 namespace 127 @raises: urllib2.HTTPError or urlib2.URLError exception. Both with added 139 proxy_handler = urllib2.ProxyHandler(proxies) 140 opener = urllib2.build_opener(proxy_handler) 141 urllib2.install_opener(opener) 143 # Unlike urllib.urlopen urllib2.urlopen will immediately throw on error 148 remote_file = urllib2.urlopen(remote_path) 154 except urllib2.HTTPError as e: 161 except urllib2.URLError as e:
|
/external/autotest/client/cros/ |
H A D | http_speed.py | 7 import logging, random, time, urllib2 namespace 21 result = urllib2.urlopen(url, data=data, timeout=TIMEOUT)
|
/external/autotest/frontend/afe/json_rpc/ |
H A D | proxy.py | 23 import urllib2 namespace 105 request = urllib2.Request(self.__serviceURL, data=postdata, 107 respdata = urllib2.urlopen(request).read()
|
/external/autotest/server/cros/ap_configurators/ |
H A D | fetch_prebuilt_pyauto.py | 29 import urllib2 namespace 116 response = urllib2.urlopen(last_change_url)
|
/external/chromium-trace/catapult/catapult_build/perfbot_stats/ |
H A D | chrome_perf_stats.py | 22 import urllib2 namespace 67 response = urllib2.urlopen(BUILDER_LIST_URL) 135 urllib2.urlopen(url=url, data=data).read() 147 response = urllib2.urlopen(url)
|
H A D | chrome_perf_step_timings.py | 21 import urllib2 namespace 133 response = urllib2.urlopen(url) 141 response = urllib2.urlopen(url) 153 response = urllib2.urlopen(url)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/scripts/ |
H A D | fetch_gae_sdk.py | 16 import urllib2 namespace 24 version_info_json = urllib2.urlopen(_SDK_URL).read() 62 sdk_contents = StringIO.StringIO(urllib2.urlopen(sdk_url).read())
|