/external/clang/test/Index/Inputs/ |
declare-objc-predef.h | 1 @class Protocol;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HttpOverSpdy3Test.java | 18 import com.squareup.okhttp.Protocol; 23 super(Protocol.SPDY_3);
|
StatusLineTest.java | 18 import com.squareup.okhttp.Protocol; 33 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); 42 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); 47 * This is not defined in the protocol but some servers won't add the leading 56 assertEquals(Protocol.HTTP_1_1, statusLine.protocol); 64 assertEquals(Protocol.HTTP_1_0, statusLine.protocol); [all...] |
ExternalHttp2Example.java | 21 import com.squareup.okhttp.Protocol; 37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1)); 53 System.out.println("PROTOCOL " + protocolValues.get(0));
|
ExternalSpdyExample.java | 21 import com.squareup.okhttp.Protocol; 37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1)); 53 System.out.println("PROTOCOL " + protocolValues.get(0));
|
HeadersTest.java | 19 import com.squareup.okhttp.Protocol; 46 SpdyTransport.readNameValueBlock(headerBlock, Protocol.SPDY_3).request(request).build(); 49 assertEquals(Protocol.SPDY_3, response.protocol()); 54 assertEquals(Protocol.SPDY_3.toString(), headers.get(OkHeaders.SELECTED_PROTOCOL)); 56 assertEquals(Protocol.SPDY_3.toString(), headers.value(0)); 74 SpdyTransport.readNameValueBlock(headerBlock, Protocol.SPDY_3).request(request).build(); 78 assertEquals(Protocol.SPDY_3.toString(), headers.value(0)); 87 Response response = SpdyTransport.readNameValueBlock(headerBlock, Protocol.HTTP_2) 92 assertEquals(Protocol.HTTP_2.toString(), headers.value(0)) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
Variant.java | 18 import com.squareup.okhttp.Protocol; 22 /** A version and dialect of the framed socket protocol. */ 25 /** The protocol as selected using ALPN. */ 26 Protocol getProtocol();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Protocol.java | 25 * <h3>Protocol vs Scheme</h3> 28 * the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word <i>protocol</i> 31 public enum Protocol { 48 * Chromium's binary-framed protocol that includes header compression, 53 * href="http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1">draft 60 * The IETF's binary-framed protocol that includes header compression, 71 private final String protocol; field in class:Protocol 73 Protocol(String protocol) [all...] |
Connection.java | 52 * <li>Application Layer Protocol Negotiation (ALPN) enables the HTTPS port 68 private Protocol protocol = Protocol.HTTP_1_1; field in class:Connection 157 protocol = connectedSocket.alpnProtocol == null 158 ? Protocol.HTTP_1_1 : connectedSocket.alpnProtocol; 161 if (protocol == Protocol.SPDY_3 || protocol == Protocol.HTTP_2) [all...] |
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
Protocol.java | 22 public class Protocol {
|
Transport.java | 63 maxPacketSize, Protocol.MAX_ENVELOPE_SIZE, MAX_INPUT_BUFFERS); 130 if (contentRemaining > Protocol.MAX_CONTENT_SIZE) { 132 + contentRemaining + " > " + Protocol.MAX_CONTENT_SIZE); 292 int length = Protocol.HEADER_SIZE; 316 if (contentSize < 0 && position >= Protocol.HEADER_SIZE) { 318 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) { 333 length = Protocol.HEADER_SIZE; 340 if (contentSize < 0 || contentSize > Protocol.MAX_CONTENT_SIZE) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
StatusLine.java | 3 import com.squareup.okhttp.Protocol; 15 public final Protocol protocol; field in class:StatusLine 19 public StatusLine(Protocol protocol, int code, String message) { 20 this.protocol = protocol; 26 return new StatusLine(response.protocol(), response.code(), response.message()); 33 // Parse protocol like "HTTP/1.1" followed by a space. 35 Protocol protocol local [all...] |
RequestLine.java | 3 import com.squareup.okhttp.Protocol; 18 static String get(Request request, Proxy.Type proxyType, Protocol protocol) { 30 result.append(version(protocol)); 54 public static String version(Protocol protocol) { 55 return protocol == Protocol.HTTP_1_0 ? "HTTP/1.0" : "HTTP/1.1";
|
SpdyTransport.java | 20 import com.squareup.okhttp.Protocol; 50 /** See http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1#TOC-3.2.1-Request. */ 112 public static List<Header> writeNameValueBlock(Request request, Protocol protocol, 119 if (Protocol.SPDY_3 == protocol) { 122 } else if (Protocol.HTTP_2 == protocol) { 136 if (isProhibitedHeader(protocol, name)) continue [all...] |
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Platform.java | 31 import com.squareup.okhttp.Protocol; 75 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { 126 * Returns the concatenation of 8-bit, length prefixed protocol names. 129 static byte[] concatLengthPrefixed(List<Protocol> protocols) { 132 Protocol protocol = protocols.get(i); local 133 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN. 134 result.writeByte(protocol.toString().length()); 135 result.writeUtf8(protocol.toString()) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Protocol.java | 34 * Protocol name and version. 43 public class Protocol extends SIPObject { 80 /** get the protocol name 87 /** get the protocol version 95 * Get the protocol name + version 109 } else throw new ParseException( "Missing '/' in protocol", 0 ); 146 public Protocol() { 153 * $Log: Protocol.java,v $
|
Via.java | 85 protected Protocol sentProtocol; 105 sentProtocol = new Protocol(); 124 /** get the Protocol Version 136 * @return Protocol field 138 public Protocol getSentProtocol() { 208 /** set the Protocol Version 213 sentProtocol = new Protocol(); 229 * @param s Protocol to set. 231 public void setSentProtocol(Protocol s) { 372 * which transport protocol to use for sending requests and responses t [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
DisplaySinkService.java | 19 import com.android.accessorydisplay.common.Protocol; 56 super(context, transport, Protocol.DisplaySinkService.ID); 93 case Protocol.DisplaySinkService.MSG_QUERY: { 99 case Protocol.DisplaySinkService.MSG_CONTENT: { 238 getTransport().sendMessage(Protocol.DisplaySourceService.ID, 239 Protocol.DisplaySourceService.MSG_SINK_AVAILABLE, mBuffer); 241 getTransport().sendMessage(Protocol.DisplaySourceService.ID, 242 Protocol.DisplaySourceService.MSG_SINK_NOT_AVAILABLE, null);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
DisplaySourceService.java | 19 import com.android.accessorydisplay.common.Protocol; 59 super(context, transport, Protocol.DisplaySourceService.ID); 70 getTransport().sendMessage(Protocol.DisplaySinkService.ID, 71 Protocol.DisplaySinkService.MSG_QUERY, null); 84 case Protocol.DisplaySourceService.MSG_SINK_AVAILABLE: { 101 case Protocol.DisplaySourceService.MSG_SINK_NOT_AVAILABLE: { 241 getTransport().sendMessage(Protocol.DisplaySinkService.ID, 242 Protocol.DisplaySinkService.MSG_CONTENT, buffer);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Platform.java | 19 import com.squareup.okhttp.Protocol; 51 * <h3>ALPN (Application Layer Protocol Negotiation)</h3> 90 List<Protocol> protocols) { 100 /** Returns the negotiated protocol, or null if no protocol was negotiated. */ 208 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { 275 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { 278 Protocol protocol = protocols.get(i); local 279 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN 371 Protocol protocol = protocols.get(i); local [all...] |
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
PlatformTest.java | 21 import com.squareup.okhttp.Protocol; 52 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_1_1, Protocol.SPDY_3);
|
/frameworks/base/core/java/com/android/internal/util/ |
Protocol.java | 26 * codes with Message.what starting at Protocol.WIFI + 1 and less than or equal to Protocol.WIFI + 27 * Protocol.MAX_MESSAGE 34 public class Protocol {
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpsHandler.java | 62 private static final List<Protocol> HTTP_1_1_ONLY = Arrays.asList(Protocol.HTTP_1_1);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
AddressTest.java | 31 private List<Protocol> protocols = Util.immutableList(Protocol.HTTP_1_1);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DctConstants.java | 18 import com.android.internal.util.Protocol; 59 public static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER;
|