Lines Matching refs:port
134 * @deprecated Use standard java vm proxy values to find the host, port
148 * Return the proxy port set by the user.
149 * @param ctx A Context used to get the settings for the proxy port.
150 * @return The port number to use or -1 if no proxy is to be used.
151 * @deprecated Use standard java vm proxy values to find the host, port
168 * @deprecated Use standard java vm proxy values to find the host, port and
179 * Return the default proxy port specified by the carrier.
180 * @return The port number to be used with the proxy host or -1 if there is
182 * @deprecated Use standard java vm proxy values to find the host, port and
239 * Validate syntax of hostname, port and exclusion list entries
242 public static int validate(String hostname, String port, String exclList) {
250 if (hostname.length() > 0 && port.length() == 0) return PROXY_PORT_EMPTY;
252 if (port.length() > 0) {
256 portVal = Integer.parseInt(port);
268 String port = null;
273 port = Integer.toString(p.getPort());
277 setHttpProxySystemProperty(host, port, exclList, pacFileUrl);
281 public static final void setHttpProxySystemProperty(String host, String port, String exclList,
284 if (false) Log.d(TAG, "setHttpProxySystemProperty :"+host+":"+port+" - "+exclList);
292 if (port != null) {
293 System.setProperty("http.proxyPort", port);
294 System.setProperty("https.proxyPort", port);