Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 36) 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/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/external_updater/
Dgithub_archive_updater.py19 import urllib.request
100 with urllib.request.urlopen(url) as request:
101 data = json.loads(request.read().decode())
123 with urllib.request.urlopen(url) as request:
124 data = json.loads(request.read().decode())
174 urllib.request.urlcleanup()
Darchive_utils.py106 archive_file, _headers = urllib.request.urlretrieve(url)
/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.py250 for request_id, request in six.iteritems(requests):
252 request=request, callback=_CallBack, request_id=request_id)
Dbase_cloud_client_test.py72 def _Add(request, callback, request_id): argument
73 requests[request_id] = (request, callback)
Dgcompute_client.py323 request = self.service.disks().delete(
325 delete_requests[disk_name] = request
505 request = self.service.images().delete(
507 delete_requests[image_name] = request
/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/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/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/
Dnative.py56 request = json.dumps(data)
57 self.client.write(request.encode("utf8") + b'\n')
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DPort.kt113 val request = Request.Builder().url(url).build() in installDirectoryForPort() constant
114 client.newCall(request).execute().use { response -> in installDirectoryForPort()
/tools/tradefederation/core/proto/monitoring/server/
Dtradefed_service.proto32 // A request to get all the currently running invocations
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Dsain_smart_board.py17 from future.moves.urllib.request import urlopen
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Drpc_client.py255 request = json.dumps(data)
259 connection.send_request(request)
/tools/acloud/setup/
Dgoogle_sdk.py174 url_stream = urllib.request.urlopen(url)
/tools/test/connectivity/acts/tests/google/net/
DCoreNetworkingOTATest.py20 import urllib.request
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dnet_test_utils.py39 import urllib.request
176 ret = urllib.request.urlopen(url)
/tools/repohooks/tools/
Dspelling.txt969 reqeust||request
975 requst||request
991 reuest||request
992 reuqest||request
1000 rquest||request
/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

12