Home
last modified time | relevance | path

Searched refs:headerMap (Results 1 – 2 of 2) sorted by relevance

/external/autotest/frontend/client/src/autotest/common/spreadsheet/
DSpreadsheet.java227 private void addHeader(List<Header> headerList, Map<Header, Integer> headerMap, in addHeader() argument
230 assert !headerMap.containsKey(headerObject); in addHeader()
232 headerMap.put(headerObject, headerMap.size()); in addHeader()
243 private int getHeaderPosition(Map<Header, Integer> headerMap, Header header) { in getHeaderPosition() argument
244 assert headerMap.containsKey(header); in getHeaderPosition()
245 return headerMap.get(header); in getHeaderPosition()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHeadersTest.java302 Map<String, List<String>> headerMap = headers.toMultimap(); in toMultimapGroupsHeaders() local
303 assertEquals(2, headerMap.get("cache-control").size()); in toMultimapGroupsHeaders()
304 assertEquals(1, headerMap.get("user-agent").size()); in toMultimapGroupsHeaders()