Searched defs:hostname (Results 1 - 4 of 4) sorted by relevance
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | SSLSocketFactoryWrapper.java | 176 * Attempt to set the hostname of the socket. 178 * @param hostname the hostname 179 * @return true if able to set the hostname, false if not. 181 public static boolean potentiallyEnableSni(SSLSocket sslSocket, String hostname) { argument 187 sslSocket.getClass().getMethod("setHostname", String.class).invoke(sslSocket, hostname); 214 * Verify the hostname of the certificate used by the other end of a 215 * connected socket. You MUST call this if you did not supply a hostname 217 * redundantly if the hostname has already been verified. 220 * @param hostname Th 226 verifyHostname(Socket socket, String hostname) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ProxySelector.java | 100 String hostname = mHostnameField.getText().toString().trim(); 103 String msg = getActivity().getString(validate(hostname, portStr, exclList)); 123 mHostnameField = (EditText)view.findViewById(R.id.hostname); 145 String hostname = ""; 154 hostname = proxy.getHost(); 159 if (hostname == null) { 160 hostname = ""; 163 mHostnameField.setText(hostname); 184 * validate syntax of hostname and port entries 187 public static int validate(String hostname, Strin argument [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
H A D | MailTransport.java | 121 // After the socket connects to an SSL server, confirm that the hostname is as expected 159 * NOTE: No explicit hostname verification is required here, because it's handled automatically 198 * Verify the hostname of the certificate used by the other end of a 199 * connected socket. You MUST call this if you did not supply a hostname 201 * redundantly if the hostname has already been verified. 203 * <p>Wildcard certificates are allowed to verify any matching hostname, 208 * @param hostname The expected hostname of the remote server 212 private static void verifyHostname(Socket socket, String hostname) throws IOException { argument 226 if (!HOSTNAME_VERIFIER.verify(hostname, sessio [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | WifiConfigHelper.java | 136 * validate syntax of hostname and port entries 139 public static int validate(String hostname, String port, String exclList) { argument 140 Matcher match = HOSTNAME_PATTERN.matcher(hostname); 150 if (hostname.length() > 0 && port.length() == 0) { 155 if (hostname.length() == 0) {
|
Completed in 5352 milliseconds