Home
last modified time | relevance | path

Searched refs:headerValue (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/obex/javax/obex/
DHeaderSet.java292 public void setHeader(int headerID, Object headerValue) { in setHeader() argument
297 if (!(headerValue instanceof Long)) { in setHeader()
298 if (headerValue == null) { in setHeader()
304 temp = ((Long)headerValue).longValue(); in setHeader()
308 mCount = (Long)headerValue; in setHeader()
311 if ((headerValue != null) && (!(headerValue instanceof String))) { in setHeader()
315 mName = (String)headerValue; in setHeader()
318 if ((headerValue != null) && (!(headerValue instanceof String))) { in setHeader()
321 mType = (String)headerValue; in setHeader()
324 if (!(headerValue instanceof Long)) { in setHeader()
[all …]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java55 String headerValue; in parseCacheHeaders() local
57 headerValue = headers.get("Date"); in parseCacheHeaders()
58 if (headerValue != null) { in parseCacheHeaders()
59 serverDate = parseDateAsEpoch(headerValue); in parseCacheHeaders()
62 headerValue = headers.get("Cache-Control"); in parseCacheHeaders()
63 if (headerValue != null) { in parseCacheHeaders()
65 String[] tokens = headerValue.split(","); in parseCacheHeaders()
86 headerValue = headers.get("Expires"); in parseCacheHeaders()
87 if (headerValue != null) { in parseCacheHeaders()
88 serverExpires = parseDateAsEpoch(headerValue); in parseCacheHeaders()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java594 String headerValue = new String(buf, i, nread-1); in parseHeader() local
596 headers.put(headerName, headerValue); in parseHeader()