Home
last modified time | relevance | path

Searched refs:immutableList (Results 1 – 19 of 19) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHandshake.java58 ? Util.immutableList(peerCertificates) in get()
63 ? Util.immutableList(localCertificates) in get()
72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get()
73 Util.immutableList(localCertificates)); in get()
DOkHttpClient.java54 private static final List<Protocol> DEFAULT_PROTOCOLS = Util.immutableList(
57 private static final List<ConnectionSpec> DEFAULT_CONNECTION_SPECS = Util.immutableList(
514 protocols = Util.immutableList(protocols); in setProtocols()
524 this.protocols = Util.immutableList(protocols); in setProtocols()
533 this.connectionSpecs = Util.immutableList(connectionSpecs); in setConnectionSpecs()
DAddress.java71 this.protocols = Util.immutableList(protocols); in Address()
74 this.connectionSpecs = Util.immutableList(connectionSpecs); in Address()
DMultipartBuilder.java209 this.partHeaders = Util.immutableList(partHeaders); in MultipartRequestBody()
210 this.partBodies = Util.immutableList(partBodies); in MultipartRequestBody()
DConnectionSpec.java106 return Util.immutableList(result); in cipherSuites()
120 return Util.immutableList(result); in tlsVersions()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DAddressTest.java32 private List<Protocol> protocols = Util.immutableList(Protocol.HTTP_1_1);
33 private List<ConnectionSpec> connectionSpecs = Util.immutableList(ConnectionSpec.MODERN_TLS);
DWebPlatformUrlTest.java53 = Util.immutableList("http", "https");
54 private static final List<String> KNOWN_FAILURES = Util.immutableList(
DURLConnectionTest.java887 client.client().setConnectionSpecs(Util.immutableList(ConnectionSpec.MODERN_TLS)); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp2xStream.java63 private static final List<ByteString> SPDY_3_SKIPPED_REQUEST_HEADERS = Util.immutableList(
75 private static final List<ByteString> SPDY_3_SKIPPED_RESPONSE_HEADERS = Util.immutableList(
83 private static final List<ByteString> HTTP_2_SKIPPED_REQUEST_HEADERS = Util.immutableList(
98 private static final List<ByteString> HTTP_2_SKIPPED_RESPONSE_HEADERS = Util.immutableList(
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DExternalSpdyExample.java37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1)); in main()
DExternalHttp2Example.java37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in main()
DRouteSelectorTest.java49 public final List<ConnectionSpec> connectionSpecs = Util.immutableList(
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java208 public static <T> List<T> immutableList(List<T> list) { in immutableList() method in Util
213 public static <T> List<T> immutableList(T... elements) { in immutableList() method in Util
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIterablesTest.java859 ImmutableList<String> immutableList = ImmutableList.of("a", "b", "c");
860 assertSame(immutableList, Iterables.unmodifiableIterable(immutableList));
861 assertSame(immutableList,
862 Iterables.unmodifiableIterable((List<String>) immutableList));
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java944 ImmutableList<String> immutableList = ImmutableList.of("a", "b", "c");
945 assertSame(immutableList, Iterables.unmodifiableIterable(immutableList));
946 assertSame(immutableList,
947 Iterables.unmodifiableIterable((List<String>) immutableList));
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java43 Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java131 = Util.immutableList(Protocol.HTTP_2, Protocol.SPDY_3, Protocol.HTTP_1_1);
244 protocols = Util.immutableList(protocols);
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java848 ImmutableList<Integer> immutableList, in checkDefaultValuesForTheseTypes() argument
865 list, immutableList, in checkDefaultValuesForTheseTypes()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java854 return elements == null ? Collections.<T>emptyList() : Util.immutableList(elements);