HomeSort by relevance Sort by last modified time
    Searched defs:protocols (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/chromium_org/chromeos/dbus/
nfc_adapter_client.h 43 // The NFC protocols that are supported by the adapter. Possible values
45 dbus::Property<std::vector<std::string> > protocols; member in struct:chromeos::NfcAdapterClient::Properties
fake_nfc_adapter_client.cc 89 std::vector<std::string> protocols; local
90 protocols.push_back(nfc_common::kProtocolFelica);
91 protocols.push_back(nfc_common::kProtocolMifare);
92 protocols.push_back(nfc_common::kProtocolJewel);
93 protocols.push_back(nfc_common::kProtocolIsoDep);
94 protocols.push_back(nfc_common::kProtocolNfcDep);
100 properties_->protocols.ReplaceValue(protocols);
106 second_properties_->protocols.ReplaceValue(protocols);
    [all...]
  /external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
Main.java 72 private static String protocols() { method in class:Main
126 System.out.println("Protocols: " + protocols());
  /external/owasp/sanitizer/src/main/org/owasp/html/
FilterUrlByProtocolAttributePolicy.java 40 * URLs with protocols must match the protocol set passed to the constructor.
41 * URLs without protocols but which specify an origin different from the
59 private final ImmutableSet<String> protocols; field in class:FilterUrlByProtocolAttributePolicy
62 Iterable<? extends String> protocols) {
63 this.protocols = ImmutableSet.copyOf(protocols);
74 // or the protocols by which HTML is normally served are OK.
81 if (!protocols.contains(protocol)) { return null; }
89 return protocols.contains("http") && protocols.contains("https")
    [all...]
  /external/chromium_org/ppapi/proxy/
websocket_resource_unittest.cc 65 PP_Var protocols[] = { MakeStringVar(protocol0), MakeStringVar(protocol1) }; local
69 int32_t result = websocket_iface->Connect(res.get(), url_var, protocols, 2,
  /libcore/luni/src/main/java/javax/net/ssl/
SSLParameters.java 20 * SSL handshake parameters that include protocols, cipher suites, and
27 private String[] protocols; field in class:SSLParameters
34 * protocols are initialized to null and client authentication
53 * cipher suites and protocols arrays to be provided. Other values
58 * @param protocols An array of protocol names that is cloned for
62 String[] protocols) {
64 setProtocols(protocols);
88 * Returns a copy of the protocols, or null if none have been
92 if (protocols == null) {
95 return protocols.clone()
    [all...]
SSLContextSpi.java 113 * protocols, and client authentication.
126 * supported cipher suites and protocols.
142 String[] protocols; local
145 protocols = s.getSupportedProtocols();
148 protocols = s.getEnabledProtocols();
151 p.setProtocols(protocols);
SSLEngine.java 24 * protocols. It includes the setup, handshake, and encrypt/decrypt
31 * <h4>Protocols</h4>
799 * protocols can be enables using {@link #setEnabledProtocols(String[])}.
853 * instance. Only protocols listed by {@code getSupportedProtocols()} are
856 * @param protocols
860 * {@code protocols} is {@code null}.
862 public abstract void setEnabledProtocols(String[] protocols);
1117 String[] protocols = p.getProtocols(); local
    [all...]
SSLSocket.java 26 * The extension of {@code Socket} providing secure protocols like SSL (Secure
33 * <h4>Protocols</h4>
869 * Returns the names of the supported protocols.
874 * Returns the names of the enabled protocols.
879 * Sets the names of the protocols to be enabled. Only
880 * protocols returned by {@link #getSupportedProtocols()} are allowed.
882 * @param protocols
883 * the names of the to be enabled protocols.
885 * if one of the protocols is not supported.
887 public abstract void setEnabledProtocols(String[] protocols);
1027 String[] protocols = p.getProtocols(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Address.java 46 final List<Protocol> protocols; field in class:Address
50 OkAuthenticator authenticator, Proxy proxy, List<Protocol> protocols)
55 if (protocols == null) throw new IllegalArgumentException("protocols == null");
63 this.protocols = Util.immutableList(protocols);
109 * Returns the protocols the client supports. This method always returns a
114 return protocols;
134 && equal(this.protocols, that.protocols);
    [all...]
OkHttpClient.java 60 private List<Protocol> protocols; field in class:OkHttpClient
311 * protocols} that can be selected. Please switch to {@link
316 List<Protocol> protocols = new ArrayList<Protocol>(transports.size()); local
320 protocols.add(protocol);
325 return setProtocols(protocols);
329 * Configure the protocols used by this client to communicate with remote
331 * available, falling back to more ubiquitous protocols. Applications should
335 * <p>The following protocols are currently supported:
337 * <li><a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">http/1.1</a>
343 * support for transitional protocols (like spdy/3.1), in favor of thei
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLParametersTest.java 46 String[] protocols = new String[] { "baz", null, "qux" }; local
47 SSLParameters p = new SSLParameters(cipherSuites, protocols);
51 assertNotSame(protocols, p.getProtocols());
53 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols()));
78 String[] protocols = new String[] { "fnord" }; local
79 String[] copy = protocols.clone();
82 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols()));
SSLServerSocketTest.java 52 String[] protocols = new String[] {socket.getSupportedProtocols()[0]}; local
53 socket.setEnabledProtocols(protocols);
54 assertEquals(Arrays.asList(protocols), Arrays.asList(socket.getEnabledProtocols()));
  /external/chromium_org/chrome/browser/ui/webui/options/
handler_options_handler.cc 135 std::vector<std::string> protocols; local
136 registry->GetRegisteredProtocols(&protocols);
139 for (std::vector<std::string>::iterator protocol = protocols.begin();
140 protocol != protocols.end(); protocol++) {
  /external/chromium_org/ui/platform_window/x11/
x11_window.cc 162 ::Atom protocols[2]; local
163 protocols[0] = atom_cache_.GetAtom("WM_DELETE_WINDOW");
164 protocols[1] = atom_cache_.GetAtom("_NET_WM_PING");
165 XSetWMProtocols(xdisplay_, xwindow_, protocols, 2);
  /external/mtpd/
mtpd.c 43 static struct protocol *protocols[] = {&l2tp, &pptp, NULL}; variable in typeref:struct:protocol
63 for (i = 0; protocols[i]; ++i) {
64 struct protocol *p = protocols[i];
74 for (i = 0; protocols[i]; ++i) {
75 struct protocol *p = protocols[i];
  /external/smack/src/org/xbill/DNS/
KEYRecord.java 46 private static Mnemonic protocols = new Mnemonic("KEY protocol", field in class:KEYRecord.Protocol
50 protocols.setMaximum(0xFF);
51 protocols.setNumericAllowed(true);
53 protocols.add(NONE, "NONE");
54 protocols.add(TLS, "TLS");
55 protocols.add(EMAIL, "EMAIL");
56 protocols.add(DNSSEC, "DNSSEC");
57 protocols.add(IPSEC, "IPSEC");
58 protocols.add(ANY, "ANY");
66 return protocols.getText(type)
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFunctionalTest.java 141 String[] protocols = { "SSLv3", "TLSv1" }; local
150 ssocket.setEnabledProtocols(new String[] { protocols[j] });
157 csocket.setEnabledProtocols(new String[] { protocols[j] });
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
NewWebSocketChannelImpl.cpp 148 Vector<String> protocols; local
154 protocol.split(", ", true, protocols);
156 WebVector<WebString> webProtocols(protocols.size());
157 for (size_t i = 0; i < protocols.size(); ++i) {
158 webProtocols[i] = protocols[i];
DOMWebSocket.cpp 252 Vector<String> protocols; local
253 return create(context, url, protocols, exceptionState);
256 DOMWebSocket* DOMWebSocket::create(ExecutionContext* context, const String& url, const Vector<String>& protocols, ExceptionState& exceptionState)
266 webSocket->connect(url, protocols, exceptionState);
275 Vector<String> protocols; local
276 protocols.append(protocol);
277 return create(context, url, protocols, exceptionState);
280 void DOMWebSocket::connect(const String& url, const Vector<String>& protocols, ExceptionState& exceptionState)
322 for (size_t i = 0; i < protocols.size(); ++i) {
323 if (!isValidSubprotocolString(protocols[i]))
    [all...]
  /external/okhttp/android/test/java/com/squareup/okhttp/internal/
PlatformTest.java 80 List<Protocol> protocols = Arrays.asList(Protocol.SPDY_3); local
84 platform.setNpnProtocols(arbitrarySocketImpl, protocols);
87 platform.setNpnProtocols(npnOnlySSLSocketImpl, protocols);
91 platform.setNpnProtocols(openSslSocket, protocols);
178 public void setEnabledProtocols(String[] protocols) {
  /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
Benchmark.java 85 /** Which ALPN/NPN protocols are in use. Only useful with TLS. */
86 List<Protocol> protocols = Arrays.asList(Protocol.HTTP_11); field in class:Benchmark
147 modifiers.addAll(protocols);
168 server.setNpnProtocols(protocols);
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.ecf.ssl_1.1.0.v20130604-1622.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.ecf.ssl_1.1.0.v20130604-1622.jar 
  /external/chromium_org/ui/aura/
window_tree_host_x11.cc 279 ::Atom protocols[2]; local
280 protocols[0] = atom_cache_.GetAtom("WM_DELETE_WINDOW");
281 protocols[1] = atom_cache_.GetAtom("_NET_WM_PING");
282 XSetWMProtocols(xdisplay_, xwindow_, protocols, 2);

Completed in 6421 milliseconds

1 2 3