Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 37) 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());
240 HttpRequest request, HttpResponse response, boolean supportsRetry)
244 request.getUrl(), response.getStatusCode(), response.getStatusMessage());
245 return backOffHandler.handleResponse(request, response, supportsRetry);
/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.py53 request = self.service.objects().get(
55 return self.Execute(request)
94 request = self.service.objects().insert(
96 response = self.Execute(request)
112 request = self.service.objects().delete(
114 self.Execute(request)
Dbase_cloud_client.py248 for request_id, request in requests.iteritems():
250 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.py317 request = self.service.disks().delete(
319 delete_requests[disk_name] = request
499 request = self.service.images().delete(
501 delete_requests[image_name] = 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/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()
225 LogRequest.Builder request = LogRequest.newBuilder(); in createBaseLogRequest() local
226 request.setLogSource(mLogSource); in createBaseLogRequest()
227 request.setClientInfo(ClientInfo.newBuilder().setClientType(CLIENT_TYPE)); in createBaseLogRequest()
228 return request; in createBaseLogRequest()
/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)
Datest_utils.py31 from urllib.request import urlopen
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dhttp.py58 att_req = urllib.request.urlopen('http://{}:{}/MN?'.format(
112 att_req = urllib.request.urlopen(
138 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.py35 import urllib.request
166 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/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/tests/google/net/
DCoreNetworkingOTATest.py20 import urllib.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
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()

12