HomeSort by relevance Sort by last modified time
    Searched full:protocolversion (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
ProtocolVersionTest.java 20 import org.apache.harmony.xnet.provider.jsse.ProtocolVersion;
24 * Tests for <code>ProtocolVersion</code> constructor and methods
30 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 0 }),
31 ProtocolVersion.getByName("SSLv3"));
32 assertEquals(ProtocolVersion.getByVersion(new byte[] { 3, 1 }),
33 ProtocolVersion.getByName("TLSv1"));
34 assertFalse(ProtocolVersion.getByVersion(new byte[] { 3, 0 }).equals(
35 ProtocolVersion.getByName("TLSv1")));
43 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 0 }));
44 assertTrue(ProtocolVersion.isSupported(new byte[] { 3, 1 }))
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
StatusLineStub.java 3 import org.apache.http.ProtocolVersion;
7 @Override public ProtocolVersion getProtocolVersion() {
  /libcore/crypto/src/main/java/org/conscrypt/
ProtocolVersion.java 25 public class ProtocolVersion {
32 private static Hashtable<String, ProtocolVersion> protocolsByName = new Hashtable<String, ProtocolVersion>(4);
48 * Returns ProtocolVersion
53 public static ProtocolVersion getByVersion(byte[] version) {
76 * Returns ProtocolVersion
81 public static ProtocolVersion getByName(String name) {
91 public static ProtocolVersion getLatestVersion(String[] protocols) {
95 ProtocolVersion latest = getByName(protocols[0]);
96 ProtocolVersion current
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
HttpResponseStub.java 7 import org.apache.http.ProtocolVersion;
23 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i) {
27 @Override public void setStatusLine(ProtocolVersion protocolVersion, int i, String s) {
55 @Override public ProtocolVersion getProtocolVersion() {
  /packages/apps/Exchange/src/com/android/exchange/adapter/
AccountSyncAdapter.java 43 public void sendSyncOptions(Double protocolVersion, Serializer s, boolean initialSync)
  /external/apache-http/src/org/apache/http/params/
HttpProtocolParams.java 35 import org.apache.http.ProtocolVersion;
119 * Returns {@link ProtocolVersion protocol version} to be used per default.
121 * @return {@link ProtocolVersion protocol version}
123 public static ProtocolVersion getVersion(final HttpParams params) {
132 return (ProtocolVersion)param;
136 * Assigns the {@link ProtocolVersion protocol version} to be used by the
139 * @param version the {@link ProtocolVersion protocol version}
141 public static void setVersion(final HttpParams params, final ProtocolVersion version) {
  /packages/apps/Exchange/tests/src/com/android/exchange/eas/
EasProvisionTests.java 50 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE;
64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
80 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2010_SP1_DOUBLE;
95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
111 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE;
123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
139 final double protocolVersion = Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE;
155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasSyncCollectionTypeBase.java 39 * @param protocolVersion
47 final double protocolVersion, final Account account, final Mailbox mailbox,
75 * @param protocolVersion The EAS protocol version for this request, as a double.
80 final double protocolVersion, int windowSize) throws IOException {
90 if (protocolVersion >= Eas.SUPPORTED_PROTOCOL_EX2007_DOUBLE) {
  /external/apache-http/src/org/apache/http/
ProtocolVersion.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/ProtocolVersion.java $
56 public class ProtocolVersion implements Serializable, Cloneable {
78 public ProtocolVersion(String protocol, int major, int minor) {
130 * if the version matches, and creates a new {@link ProtocolVersion}
139 public ProtocolVersion forVersion(int major, int minor) {
146 return new ProtocolVersion(this.protocol, major, minor);
177 if (!(obj instanceof ProtocolVersion)) {
180 ProtocolVersion that = (ProtocolVersion) obj;
198 public boolean isComparable(ProtocolVersion that)
    [all...]
HttpResponse.java 74 void setStatusLine(ProtocolVersion ver, int code);
83 void setStatusLine(ProtocolVersion ver, int code, String reason);
101 * @see #setStatusLine(ProtocolVersion,int)
118 * @see #setStatusLine(ProtocolVersion,int)
HttpVersion.java 43 public final class HttpVersion extends ProtocolVersion
82 public ProtocolVersion forVersion(int major, int minor) {
  /external/nist-sip/java/gov/nist/javax/sip/header/
Protocol.java 54 /** protocolVersion field
56 protected String protocolVersion;
73 .append(protocolVersion)
91 return protocolVersion;
101 return protocolName + '/' + protocolVersion;
108 this.protocolVersion = name_and_version.substring( slash+1 );
128 * Set the protocolVersion member
132 protocolVersion = p;
148 protocolVersion = "2.0";
  /external/apache-http/src/org/apache/http/message/
BasicHttpRequest.java 35 import org.apache.http.ProtocolVersion;
67 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) {
81 public ProtocolVersion getProtocolVersion() {
93 ProtocolVersion ver = HttpProtocolParams.getVersion(getParams());
BasicRequestLine.java 34 import org.apache.http.ProtocolVersion;
52 private final ProtocolVersion protoversion;
58 final ProtocolVersion version) {
81 public ProtocolVersion getProtocolVersion() {
BasicHttpResponse.java 38 import org.apache.http.ProtocolVersion;
106 public BasicHttpResponse(final ProtocolVersion ver,
114 public ProtocolVersion getProtocolVersion() {
142 public void setStatusLine(final ProtocolVersion ver, final int code) {
148 public void setStatusLine(final ProtocolVersion ver, final int code,
157 ProtocolVersion ver = this.statusline.getProtocolVersion();
BasicStatusLine.java 35 import org.apache.http.ProtocolVersion;
58 private final ProtocolVersion protoVersion;
75 public BasicStatusLine(final ProtocolVersion version, int statusCode,
103 public ProtocolVersion getProtocolVersion() {
BasicLineParser.java 35 import org.apache.http.ProtocolVersion;
80 protected final ProtocolVersion protocol;
90 public BasicLineParser(ProtocolVersion proto) {
108 ProtocolVersion parseProtocolVersion(String value,
128 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer,
217 protected ProtocolVersion createProtocolVersion(int major, int minor) {
338 ProtocolVersion ver = parseProtocolVersion(buffer, cursor);
366 final ProtocolVersion ver) {
409 ProtocolVersion ver = parseProtocolVersion(buffer, cursor);
455 protected StatusLine createStatusLine(final ProtocolVersion ver
    [all...]
BasicHttpEntityEnclosingRequest.java 37 import org.apache.http.ProtocolVersion;
60 final ProtocolVersion ver) {
  /external/apache-http/src/org/apache/http/impl/client/
RequestWrapper.java 39 import org.apache.http.ProtocolVersion;
66 private ProtocolVersion version;
112 public ProtocolVersion getProtocolVersion() {
120 public void setProtocolVersion(final ProtocolVersion version) {
135 ProtocolVersion ver = getProtocolVersion();
  /external/chromium_org/chrome/browser/extensions/api/cast_channel/
cast_channel.proto 14 enum ProtocolVersion {
17 required ProtocolVersion protocol_version = 1;
  /external/valgrind/main/memcheck/tests/
long_namespace_xml.stderr.exp 5 <protocolversion>4</protocolversion>
  /frameworks/volley/tests/src/com/android/volley/toolbox/
BasicNetworkTest.java 24 import org.apache.http.ProtocolVersion;
45 BasicHttpResponse fakeResponse = new BasicHttpResponse(new ProtocolVersion("HTTP", 1, 1),
  /external/chromium/net/websockets/
websocket.h 68 enum ProtocolVersion {
76 ProtocolVersion version,
92 ProtocolVersion version() const { return version_; }
115 ProtocolVersion version_;
  /frameworks/volley/src/com/android/volley/toolbox/
HurlStack.java 26 import org.apache.http.ProtocolVersion;
108 ProtocolVersion protocolVersion = new ProtocolVersion("HTTP", 1, 1);
115 StatusLine responseStatus = new BasicStatusLine(protocolVersion,
  /external/apache-http/src/org/apache/http/protocol/
RequestExpectContinue.java 42 import org.apache.http.ProtocolVersion;
69 ProtocolVersion ver = request.getRequestLine().getProtocolVersion();

Completed in 652 milliseconds

1 2 3 4 5 6