/system/core/fastboot/ |
socket_test.cpp | 35 bool MakeConnectedSockets(Socket::Protocol protocol, std::unique_ptr<Socket>* server, 38 *server = Socket::NewServer(protocol, 0); 44 *client = Socket::NewClient(protocol, hostname, (*server)->GetLocalPort(), nullptr); 51 if (protocol == Socket::Protocol::kTcp) { 80 for (Socket::Protocol protocol : {Socket::Protocol::kUdp, Socket::Protocol::kTcp}) [all...] |
/external/avahi/avahi-sharp/ |
AddressResolver.cs | 29 internal delegate void AddressResolverCallback (IntPtr resolver, int iface, Protocol proto, 62 private Protocol proto; 74 private static extern IntPtr avahi_address_resolver_new (IntPtr client, int iface, Protocol proto, 116 public AddressResolver (Client client, IPAddress address) : this (client, -1, Protocol.Unspecified, 121 public AddressResolver (Client client, int iface, Protocol proto, IPAddress address, LookupFlags flags) 172 private void OnAddressResolverCallback (IntPtr resolver, int iface, Protocol proto,
|
RecordBrowser.cs | 31 internal delegate void RecordBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent, 55 public Protocol Protocol; 83 private Protocol proto; 94 private static extern IntPtr avahi_record_browser_new (IntPtr client, int iface, Protocol proto, 133 this (client, -1, Protocol.Unspecified, name, RecordClass.In, type, LookupFlags.None) 137 public RecordBrowser (Client client, int iface, Protocol proto, string name, RecordClass clazz, 187 private void OnRecordBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent, 193 info.Protocol = proto;
|
ServiceBrowser.cs | 28 internal delegate void ServiceBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent, 35 public Protocol Protocol; 71 private Protocol proto; 122 public ServiceBrowser (Client client, string type, string domain) : this (client, -1, Protocol.Unspecified, 127 public ServiceBrowser (Client client, int iface, Protocol proto, string type, string domain, LookupFlags flags) 176 private void OnServiceBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent, 183 info.Protocol = proto;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
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 FramedTransport.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 FramedTransport.readNameValueBlock(headerBlock, Protocol.SPDY_3).request(request).build(); 78 assertEquals(Protocol.SPDY_3.toString(), headers.value(0)); 87 Response response = FramedTransport.readNameValueBlock(headerBlock, Protocol.HTTP_2) 92 assertEquals(Protocol.HTTP_2.toString(), headers.value(0)) [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
resolve_endpoint_op.hpp | 32 template <typename Protocol, typename Handler> 38 typedef typename Protocol::endpoint endpoint_type; 39 typedef asio::ip::basic_resolver_iterator<Protocol> iterator_type; 69 o->endpoint_.protocol().type(), o->ec_);
|
resolve_op.hpp | 33 template <typename Protocol, typename Handler> 39 typedef asio::ip::basic_resolver_query<Protocol> query_type; 40 typedef asio::ip::basic_resolver_iterator<Protocol> iterator_type;
|
/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...] |
/external/parameter-framework/asio-1.10.6/include/asio/ |
socket_acceptor_service.hpp | 28 template <typename Protocol> 30 : public asio::detail::service_base<socket_acceptor_service<Protocol> > 34 /// The protocol type. 35 typedef Protocol protocol_type; 42 typedef detail::reactive_socket_service<Protocol> service_impl_type; 57 socket_acceptor_service<Protocol> >(io_service), 83 /// Move-construct a new socket acceptor implementation from another protocol 90 Protocol1, Protocol>::value>::type* = 0) 104 const protocol_type& protocol, asio::error_code& ec) 106 return service_impl_.open(impl, protocol, ec) [all...] |
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
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) {
|
/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; 48 * <h3>ALPN (Application Layer Protocol Negotiation)</h3> 83 List<Protocol> protocols) { 93 /** Returns the negotiated protocol, or null if no protocol was negotiated. */ 201 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { 268 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { 271 Protocol protocol = protocols.get(i); local 272 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN 364 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/src/main/java/com/squareup/okhttp/internal/http/ |
FramedTransport.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/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; 61 public static final int BASE = Protocol.BASE_DATA_CONNECTION_TRACKER;
|
/system/connectivity/shill/ |
http_url_unittest.cc | 33 HTTPURL::Protocol in_protocol, 39 protocol(in_protocol), 45 HTTPURL::Protocol protocol; member in struct:shill::StringAndResult 62 EXPECT_EQ(GetParam().protocol, url_.protocol());
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedServer.java | 19 import com.squareup.okhttp.Protocol; 42 private final List<Protocol> framedProtocols = 43 Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3); 64 Protocol protocol = protocolString != null ? Protocol.get(protocolString) : null; local 65 if (protocol == null || !framedProtocols.contains(protocol)) { 66 throw new ProtocolException("Protocol " + protocol + " unsupported") [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 59 private static final List<Protocol> DEFAULT_PROTOCOLS = Util.immutableList( 60 Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1); 84 @Override public void setProtocol(Connection connection, Protocol protocol) { 85 connection.setProtocol(protocol); 176 private List<Protocol> protocols; 457 * <p>If unset, protocol redirects will be followed. This is different than 532 * <li><a href="http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1">spdy/3.1</a [all...] |