Home
last modified time | relevance | path

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

/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/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/volley/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.java124 List<Header> headerList = new ArrayList<>(responseHeaders.size()); in convertHeaders() local
130 headerList.add(new Header(entry.getKey(), value)); in convertHeaders()
134 return headerList; in convertHeaders()
/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.java238 List<Metadata> headerList = headersCaptor.getAllValues(); in credentialsReturnNullMetadata() local
239 assertEquals(3, headerList.size()); in credentialsReturnNullMetadata()
241 assertEquals(0, headerList.get(0).keys().size()); in credentialsReturnNullMetadata()
243 Iterable<String> authorization = headerList.get(1).getAll(AUTHORIZATION); in credentialsReturnNullMetadata()
246 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()