Home
last modified time | relevance | path

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

12

/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/repackaged/okhttp/src/main/java/com/android/okhttp/
DHandshake.java60 ? Util.immutableList(peerCertificates) in get()
65 ? Util.immutableList(localCertificates) in get()
74 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get()
75 Util.immutableList(localCertificates)); in get()
DOkHttpClient.java57 private static final List<Protocol> DEFAULT_PROTOCOLS = Util.immutableList(
60 private static final List<ConnectionSpec> DEFAULT_CONNECTION_SPECS = Util.immutableList(
528 protocols = Util.immutableList(protocols); in setProtocols()
538 this.protocols = Util.immutableList(protocols); in setProtocols()
547 this.connectionSpecs = Util.immutableList(connectionSpecs); in setConnectionSpecs()
DAddress.java73 this.protocols = Util.immutableList(protocols); in Address()
76 this.connectionSpecs = Util.immutableList(connectionSpecs); in Address()
DMultipartBuilder.java211 this.partHeaders = Util.immutableList(partHeaders); in MultipartRequestBody()
212 this.partBodies = Util.immutableList(partBodies); in MultipartRequestBody()
DConnectionSpec.java108 return Util.immutableList(result); in cipherSuites()
122 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(
/external/javapoet/src/main/java/com/squareup/javapoet/
DWildcardTypeName.java42 this.upperBounds = Util.immutableList(upperBounds); in WildcardTypeName()
43 this.lowerBounds = Util.immutableList(lowerBounds); in WildcardTypeName()
DUtil.java43 result.put(entry.getKey(), immutableList(entry.getValue())); in immutableMultimap()
65 static <T> List<T> immutableList(Collection<T> collection) { in immutableList() method in Util
DTypeSpec.java73 this.annotations = Util.immutableList(builder.annotations); in TypeSpec()
75 this.typeVariables = Util.immutableList(builder.typeVariables); in TypeSpec()
77 this.superinterfaces = Util.immutableList(builder.superinterfaces); in TypeSpec()
79 this.fieldSpecs = Util.immutableList(builder.fieldSpecs); in TypeSpec()
82 this.methodSpecs = Util.immutableList(builder.methodSpecs); in TypeSpec()
83 this.typeSpecs = Util.immutableList(builder.typeSpecs); in TypeSpec()
94 this.originatingElements = Util.immutableList(originatingElementsMutable); in TypeSpec()
DMethodSpec.java67 this.annotations = Util.immutableList(builder.annotations); in MethodSpec()
69 this.typeVariables = Util.immutableList(builder.typeVariables); in MethodSpec()
71 this.parameters = Util.immutableList(builder.parameters); in MethodSpec()
73 this.exceptions = Util.immutableList(builder.exceptions); in MethodSpec()
DCodeBlock.java75 this.formatParts = Util.immutableList(builder.formatParts); in CodeBlock()
76 this.args = Util.immutableList(builder.args); in CodeBlock()
/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/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp2xStream.java65 private static final List<ByteString> SPDY_3_SKIPPED_REQUEST_HEADERS = Util.immutableList(
77 private static final List<ByteString> SPDY_3_SKIPPED_RESPONSE_HEADERS = Util.immutableList(
85 private static final List<ByteString> HTTP_2_SKIPPED_REQUEST_HEADERS = Util.immutableList(
100 private static final List<ByteString> HTTP_2_SKIPPED_RESPONSE_HEADERS = Util.immutableList(
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DConnectionSpec.java109 return Util.immutableList(result); in cipherSuites()
117 return Util.immutableList(result); in tlsVersions()
DUtil.java214 public static <T> List<T> immutableList(List<T> list) { in immutableList() method in Util
219 public static <T> List<T> immutableList(T[] elements) { in immutableList() method in Util
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DExternalHttp2Example.java37 .setProtocols(Util.immutableList(Protocol.HTTP_2, Protocol.HTTP_1_1)); in main()
DExternalSpdyExample.java37 .setProtocols(Util.immutableList(Protocol.SPDY_3, Protocol.HTTP_1_1)); in main()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DUtil.java214 public static <T> List<T> immutableList(List<T> list) { in immutableList() method in Util
219 public static <T> List<T> immutableList(T... elements) { in immutableList() method in Util
/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

12