Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 48) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_datastore_utils.py56 request = DATASTORE_HOST + '/' + ADD_DEVICE
57 logging.debug("Request = %s" % request)
58 response = requests.post(request,
76 request = DATASTORE_HOST + '/' + REMOVE_DEVICE
77 logging.debug("Request = %s" % request)
78 response = requests.put(request,
96 request = DATASTORE_HOST + '/' + LOCK_DEVICE
97 logging.debug("Request = %s" % request)
98 response = requests.put(request,
114 request = DATASTORE_HOST + '/' + UNLOCK_DEVICE
[all …]
/tools/external_updater/
Dgithub_archive_updater.py19 import urllib.request
93 with urllib.request.urlopen(url) as request:
94 data = json.loads(request.read().decode())
113 with urllib.request.urlopen(url) as request:
114 data = json.loads(request.read().decode())
137 with urllib.request.urlopen(url) as request:
138 data = json.loads(request.read().decode())
169 urllib.request.urlcleanup()
Dcrates_updater.py18 import urllib.request
48 with urllib.request.urlopen(url) as request:
49 data = json.loads(request.read().decode())
52 with urllib.request.urlopen(url) as request:
53 data = json.loads(request.read().decode())
67 urllib.request.urlcleanup()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java198 public void initialize(HttpRequest request) throws IOException { in setHttpTimeout()
199 requestInitializer.initialize(request); in setHttpTimeout()
200 request.setConnectTimeout(connectTimeout); in setHttpTimeout()
201 request.setReadTimeout(readTimeout); in setHttpTimeout()
217 public void initialize(HttpRequest request) throws IOException {
218 initializer.initialize(request);
219 request.setUnsuccessfulResponseHandler(new RetryResponseHandler());
242 HttpRequest request, HttpResponse response, boolean supportsRetry)
246 request.getUrl(), response.getStatusCode(), response.getStatusMessage());
247 return backOffHandler.handleResponse(request, response, supportsRetry);
DRestApiHelper.java113 final HttpRequest request = getRequestFactory().buildRequest(method, uri, content); in execute() local
114 request.setParser(new JsonObjectParser(JSON_FACTORY)); in execute()
115 return request.execute(); in execute()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java134 LogRequest.Builder request = createBaseLogRequest(); in notifyTradefedStartEvent() local
139 request.addLogEvent(logEvent); in notifyTradefedStartEvent()
140 queueEvent(request.build()); in notifyTradefedStartEvent()
148 LogRequest.Builder request = createBaseLogRequest(); in notifyTradefedInvocationStartEvent() local
153 request.addLogEvent(logEvent); in notifyTradefedInvocationStartEvent()
154 queueEvent(request.build()); in notifyTradefedInvocationStartEvent()
239 LogRequest.Builder request = LogRequest.newBuilder(); in createBaseLogRequest() local
240 request.setLogSource(mLogSource); in createBaseLogRequest()
241 request.setClientInfo(ClientInfo.newBuilder().setClientType(CLIENT_TYPE)); in createBaseLogRequest()
242 return request; in createBaseLogRequest()
/tools/acloud/internal/lib/
Dgstorage_client.py54 request = self.service.objects().get(
56 return self.Execute(request)
95 request = self.service.objects().insert(
97 response = self.Execute(request)
113 request = self.service.objects().delete(
115 self.Execute(request)
Dbase_cloud_client.py249 for request_id, request in six.iteritems(requests):
251 request=request, callback=_CallBack, request_id=request_id)
Dgcompute_client.py395 request = self.service.disks().delete(
397 delete_requests[disk_name] = request
592 request = self.service.images().delete(
594 delete_requests[image_name] = request
Dbase_cloud_client_test.py71 def _Add(request, callback, request_id): argument
72 requests[request_id] = (request, callback)
/tools/asuite/atest/metrics/
Dclearcut_client.py30 from urllib.request import urlopen
31 from urllib.request import Request
32 from urllib.request import HTTPError
33 from urllib.request import URLError
152 request = Request(self._clearcut_url, data=data)
154 response = urlopen(request)
/tools/tradefederation/core/atest/metrics/
Dclearcut_client.py37 from urllib.request import urlopen
38 from urllib.request import Request
39 from urllib.request import HTTPError
40 from urllib.request import URLError
158 request = Request(self._clearcut_url, data=data)
160 response = urlopen(request)
/tools/asuite/atest/
Dasuite_metrics.py22 from urllib.request import Request
23 from urllib.request import urlopen
60 request = Request(metrics_url, data=data,
62 response = urlopen(request, timeout=_METRICS_TIMEOUT)
/tools/tradefederation/core/atest/
Dasuite_metrics.py28 from urllib.request import Request
29 from urllib.request import urlopen
66 request = Request(metrics_url, data=data,
68 response = urlopen(request, timeout=_METRICS_TIMEOUT)
/tools/repohooks/tools/
Dspelling.txt969 reqeust||request
975 requst||request
991 reuest||request
992 reuqest||request
1000 rquest||request
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dhttp.py60 att_req = urllib.request.urlopen('http://{}:{}/MN?'.format(
114 att_req = urllib.request.urlopen(
140 att_req = urllib.request.urlopen(
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Drpc_connection.py124 def send_request(self, request): argument
126 self._socket_file.write(request.encode('utf8') + b'\n')
128 self.log.debug('Sent: ' + request)
Drpc_client.py255 request = json.dumps(data)
259 connection.send_request(request)
/tools/test/connectivity/acts/framework/acts/controllers/
Dnative.py56 request = json.dumps(data)
57 self.client.write(request.encode("utf8") + b'\n')
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dnet_test_utils.py36 import urllib.request
170 ret = urllib.request.urlopen(url)
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt117 --ks-provider-name Name of the JCA Provider from which to request the
123 to request the KeyStore implementation. By default, the
Dhelp_rotate.txt120 --ks-provider-name Name of the JCA Provider from which to request the
126 to request the KeyStore implementation. By default, the
Dhelp_sign.txt168 --ks-provider-name Name of the JCA Provider from which to request the
174 to request the KeyStore implementation. By default, the
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java1229 for (InspectJarEntryRequest request : mRequests) { in done()
1230 request.done(); in done()
/tools/test/connectivity/acts_tests/tests/google/net/
DDhcpServerTest.py234 def _assert_renews(self, request, addr, exp_time, resp_type=ACK): argument
237 resp = self._get_response(request)

12