Searched refs:hostname (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
H A DProxySelector.java96 String hostname = mHostnameField.getText().toString().trim();
99 String msg = getActivity().getString(validate(hostname, portStr, exclList));
119 mHostnameField = (EditText)view.findViewById(R.id.hostname);
141 String hostname = "";
150 hostname = proxy.getHost();
155 if (hostname == null) {
156 hostname = "";
159 mHostnameField.setText(hostname);
180 * validate syntax of hostname and port entries
183 public static int validate(String hostname, Strin argument
[all...]
H A DRadioInfo.java1007 Thread hostname = new Thread() {
1014 hostname.start();
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DSSLSocketFactoryWrapper.java176 * 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/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiConfigHelper.java97 * validate syntax of hostname and port entries
100 public static int validate(String hostname, String port, String exclList) { argument
101 Matcher match = HOSTNAME_PATTERN.matcher(hostname);
111 if (hostname.length() > 0 && port.length() == 0) {
116 if (hostname.length() == 0) {
/packages/apps/Email/provider_src/com/android/email/mail/transport/
H A DMailTransport.java121 // 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/services/Telephony/src/com/android/phone/common/mail/
H A DMailTransport.java206 // After the socket connects to an SSL server, confirm that the hostname is as
228 * Verify the hostname of the certificate used by the other end of a
229 * connected socket. It is harmless to call this method redundantly if the hostname has already
232 * <p>Wildcard certificates are allowed to verify any matching hostname,
237 * @param hostname The expected hostname of the remote server
241 private void verifyHostname(Socket socket, String hostname) throws IOException { argument
256 if (!HOSTNAME_VERIFIER.verify(hostname, session)) {
258 throw new SSLPeerUnverifiedException("Certificate hostname not useable for server: "
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupOutgoingFragment.java253 final String hostname = sendAuth.mAddress;
254 if (hostname != null) {
255 mServerView.setText(hostname);
H A DAccountSetupIncomingFragment.java392 final String hostname = recvAuth.mAddress;
393 if (hostname != null) {
394 mServerView.setText(hostname);
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 1074 milliseconds