HomeSort by relevance Sort by last modified time
    Searched refs:headerValue (Results 1 - 25 of 48) sorted by null

1 2

  /frameworks/base/obex/javax/obex/
HeaderSet.java 283 * <code>headerValue</code> then the header will be removed from the set of
286 * @param headerValue the value of the header identifier
289 * type of <code>headerValue</code> is not the correct Java type as
292 public void setHeader(int headerID, Object headerValue) {
297 if (!(headerValue instanceof Long)) {
298 if (headerValue == null) {
304 temp = ((Long)headerValue).longValue();
308 mCount = (Long)headerValue;
311 if ((headerValue != null) && (!(headerValue instanceof String)))
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
HttpHeaderParser.java 55 String headerValue;
57 headerValue = headers.get("Date");
58 if (headerValue != null) {
59 serverDate = parseDateAsEpoch(headerValue);
62 headerValue = headers.get("Cache-Control");
63 if (headerValue != null) {
65 String[] tokens = headerValue.split(",");
86 headerValue = headers.get("Expires");
87 if (headerValue != null) {
88 serverExpires = parseDateAsEpoch(headerValue);
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
CacheControl.java 45 String headerValue; // Lazily computed, if absent.
49 int minFreshSeconds, boolean onlyIfCached, boolean noTransform, String headerValue) {
61 this.headerValue = headerValue;
165 String headerValue = null;
172 if (headerValue != null) {
176 headerValue = value;
242 headerValue = null;
245 mustRevalidate, maxStaleSeconds, minFreshSeconds, onlyIfCached, noTransform, headerValue);
249 String result = headerValue;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapbMessageMime.java 517 String headerValue = headerParts[1].trim();
524 headerValue = BluetoothMapUtils.stripEncoding(headerValue);
525 Rfc822Token tokens[] = Rfc822Tokenizer.tokenize(headerValue);
528 headerValue = BluetoothMapUtils.stripEncoding(headerValue);
529 Rfc822Token tokens[] = Rfc822Tokenizer.tokenize(headerValue);
532 headerValue = BluetoothMapUtils.stripEncoding(headerValue);
533 Rfc822Token tokens[] = Rfc822Tokenizer.tokenize(headerValue);
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CacheControlTest.java 145 assertNull(cacheControl.headerValue);
151 assertNull(cacheControl.headerValue);
157 assertNull(cacheControl.headerValue);
164 assertNull(cacheControl.headerValue);
166 assertEquals("max-age=172800", cacheControl.headerValue);
167 cacheControl.headerValue = "Hi";
CacheTest.java 433 int responseCode, String headerName, String headerValue) throws Exception {
436 .addHeader(headerName, headerValue)
439 .addHeader(headerName, headerValue)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
BodyDescriptor.java 151 private Map<String, String> getHeaderParams(String headerValue) {
157 if (headerValue.indexOf(";") == -1) {
158 main = headerValue;
161 main = headerValue.substring(0, headerValue.indexOf(";"));
162 rest = headerValue.substring(main.length() + 1);
  /packages/services/Telephony/src/org/apache/james/mime4j/
BodyDescriptor.java 151 private Map<String, String> getHeaderParams(String headerValue) {
157 if (headerValue.indexOf(";") == -1) {
158 main = headerValue;
161 main = headerValue.substring(0, headerValue.indexOf(";"));
162 rest = headerValue.substring(main.length() + 1);
  /external/jetty/src/java/org/eclipse/jetty/servlets/
BalancerServlet.java 361 protected String filterResponseHeaderValue(String headerName, String headerValue, HttpServletRequest request)
365 HttpURI locationURI = new HttpURI(headerValue);
378 return headerValue;
382 return headerValue;
ProxyServlet.java 812 * @param headerValue
816 protected String filterResponseHeaderValue(String headerName, String headerValue, HttpServletRequest request)
818 return headerValue;
  /libcore/ojluni/src/main/java/java/net/
CookieManager.java 275 for (String headerValue : responseHeaders.get(headerKey)) {
279 cookies = HttpCookie.parse(headerValue);
284 logger.severe("Invalid cookie for " + uri + ": " + headerValue);
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewClientTest.java 231 final String headerValue = "realm=com.google&account=foo%40bar.com&args=random_string";
233 headers.add(Pair.create(headerName, headerValue));
431 final String headerValue = "testheadervalue";
433 headers.put(headerName, headerValue);
478 // headerValue. This will pass implementations which either do not mangle case,
482 assertEquals(headerValue, interceptHeaders.get(headerName));
  /external/jetty/src/java/org/eclipse/jetty/server/
AbstractConnector.java 492 String headerValue = fields.getStringField(header);
494 if (headerValue == null)
497 int commaIndex = headerValue.indexOf(',');
502 return headerValue;
506 return headerValue.substring(0,commaIndex);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Lexer.java 81 String headerValue = null;
84 headerValue = line.substring(begin + 1);
88 return headerValue;
ParserFactory.java 287 String headerValue = Lexer.getHeaderValue(line);
288 if (headerName == null || headerValue == null)
  /frameworks/base/tests/CoreTests/android/core/
TestWebServer.java 594 String headerValue = new String(buf, i, nread-1);
596 headers.put(headerName, headerValue);
  /libcore/support/src/test/java/tests/support/
Support_TestWebServer.java 521 String headerValue = new String(buf, i, nread - i - 2); // drop \r\n
523 headers.put(headerName, headerValue);
  /external/guice/extensions/struts2/lib/
commons-fileupload-1.2.1.jar 
struts2-core-2.2.1.jar 
  /external/libphonenumber/demo/war/WEB-INF/lib/
commons-fileupload-1.2.1.jar 
  /external/nist-sip/java/gov/nist/javax/sip/header/
HeaderFactoryImpl.java     [all...]
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
ResponseCacheTest.java 424 int responseCode, String headerName, String headerValue) throws Exception {
427 .addHeader(headerName, headerValue)
430 .addHeader(headerName, headerValue)
    [all...]
  /external/caliper/lib/
jsr311-api-1.1.1.jar 
  /development/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 

Completed in 1221 milliseconds

1 2