Home
last modified time | relevance | path

Searched refs:headerList (Results 1 – 14 of 14) sorted by relevance

/external/volley/core/src/main/java/com/android/volley/toolbox/
DAdaptedHttpStack.java58 List<Header> headerList = new ArrayList<>(headers.length); in executeRequest() local
60 headerList.add(new Header(header.getName(), header.getValue())); in executeRequest()
64 return new HttpResponse(statusCode, headerList); in executeRequest()
74 headerList, in executeRequest()
DHurlStack.java119 List<Header> headerList = new ArrayList<>(responseHeaders.size()); in convertHeaders() local
125 headerList.add(new Header(entry.getKey(), value)); in convertHeaders()
129 return headerList; in convertHeaders()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHpack.java117 private final List<Header> headerList = new ArrayList<>(); field in Hpack.Reader
163 headerList.clear(); in clearDynamicTable()
222 List<Header> result = new ArrayList<>(headerList); in getAndResetHeaderList()
223 headerList.clear(); in getAndResetHeaderList()
230 headerList.add(staticEntry); in readIndexedHeader()
236 headerList.add(dynamicTable[dynamicTableIndex]); in readIndexedHeader()
248 headerList.add(new Header(name, value)); in readLiteralHeaderWithoutIndexingIndexedName()
254 headerList.add(new Header(name, value)); in readLiteralHeaderWithoutIndexingNewName()
284 headerList.add(entry); in insertIntoDynamicTable()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHpack.java116 private final List<Header> headerList = new ArrayList<>(); field in Hpack.Reader
162 headerList.clear(); in clearDynamicTable()
221 List<Header> result = new ArrayList<>(headerList); in getAndResetHeaderList()
222 headerList.clear(); in getAndResetHeaderList()
229 headerList.add(staticEntry); in readIndexedHeader()
235 headerList.add(dynamicTable[dynamicTableIndex]); in readIndexedHeader()
247 headerList.add(new Header(name, value)); in readLiteralHeaderWithoutIndexingIndexedName()
253 headerList.add(new Header(name, value)); in readLiteralHeaderWithoutIndexingNewName()
283 headerList.add(entry); in insertIntoDynamicTable()
/external/obex/src/com/android/obex/
DClientOperation.java125 int[] headerList = header.getHeaderList(); in ClientOperation() local
127 if (headerList != null) { in ClientOperation()
129 for (int i = 0; i < headerList.length; i++) { in ClientOperation()
130 mRequestHeader.setHeader(headerList[i], header.getHeader(headerList[i])); in ClientOperation()
343 int[] headerList = headers.getHeaderList(); in sendHeaders() local
344 if (headerList != null) { in sendHeaders()
345 for (int i = 0; i < headerList.length; i++) { in sendHeaders()
346 mRequestHeader.setHeader(headerList[i], headers.getHeader(headerList[i])); in sendHeaders()
DServerOperation.java691 int[] headerList = headers.getHeaderList(); in sendHeaders() local
692 if (headerList != null) { in sendHeaders()
693 for (int i = 0; i < headerList.length; i++) { in sendHeaders()
694 replyHeader.setHeader(headerList[i], headers.getHeader(headerList[i])); in sendHeaders()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHpack.java121 …private final List<io.grpc.okhttp.internal.framed.Header> headerList = new ArrayList<io.grpc.okhtt… field in Hpack.Reader
225 ….internal.framed.Header> result = new ArrayList<io.grpc.okhttp.internal.framed.Header>(headerList); in getAndResetHeaderList()
226 headerList.clear(); in getAndResetHeaderList()
233 headerList.add(staticEntry); in readIndexedHeader()
239 headerList.add(dynamicTable[dynamicTableIndex]); in readIndexedHeader()
251 headerList.add(new io.grpc.okhttp.internal.framed.Header(name, value)); in readLiteralHeaderWithoutIndexingIndexedName()
257 headerList.add(new io.grpc.okhttp.internal.framed.Header(name, value)); in readLiteralHeaderWithoutIndexingNewName()
287 headerList.add(entry); in insertIntoDynamicTable()
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetClientStream.java507 List<String> headerList = new ArrayList<>(); in reportHeaders() local
509 headerList.add(entry.getKey()); in reportHeaders()
510 headerList.add(entry.getValue()); in reportHeaders()
513 byte[][] headerValues = new byte[headerList.size()][]; in reportHeaders()
514 for (int i = 0; i < headerList.size(); i += 2) { in reportHeaders()
515 headerValues[i] = headerList.get(i).getBytes(Charset.forName("UTF-8")); in reportHeaders()
516 headerValues[i + 1] = headerList.get(i + 1).getBytes(Charset.forName("UTF-8")); in reportHeaders()
/external/autotest/frontend/client/src/autotest/tko/
DTestGroupDataSource.java97 JSONArray headerList = headerGroupValues.get(groupIndex).isArray(); in getHeaderGroupValues() local
99 for (JSONArray header : new JSONArrayList<JSONArray>(headerList)) { in getHeaderGroupValues()
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java235 List<Metadata> headerList = headersCaptor.getAllValues(); in credentialsReturnNullMetadata() local
236 assertEquals(3, headerList.size()); in credentialsReturnNullMetadata()
238 assertEquals(0, headerList.get(0).keys().size()); in credentialsReturnNullMetadata()
240 Iterable<String> authorization = headerList.get(1).getAll(AUTHORIZATION); in credentialsReturnNullMetadata()
243 assertEquals(0, headerList.get(2).keys().size()); in credentialsReturnNullMetadata()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java308 List<String> headerList = new ArrayList<>(size); in headersToList() local
310 headerList.add(headers.name(i) + ": " + headers.value(i)); in headersToList()
312 return headerList; in headersToList()
/external/autotest/frontend/client/src/autotest/common/spreadsheet/
DSpreadsheet.java227 private void addHeader(List<Header> headerList, Map<Header, Integer> headerMap, in addHeader() argument
231 headerList.add(headerObject); in addHeader()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientStreamTest.java201 List<Map.Entry<String, String>> headerList = new ArrayList<Map.Entry<String, String>>(3); in responseHeader() local
203 headerList.add(entry); in responseHeader()
205 return headerList; in responseHeader()
/external/kotlinpoet/docs/
Dindex.md1289 val headerList = ClassName("", "HeaderList")
1294 AnnotationSpec.builder(headerList)