/frameworks/base/core/java/android/net/http/ |
H A D | RequestFeeder.java | 31 Request getRequest(HttpHost host); argument 34 * @return true if a request for this host is available 36 boolean haveRequest(HttpHost host); argument
|
H A D | HttpConnection.java | 37 HttpConnection(Context context, HttpHost host, argument 39 super(context, host, requestFeeder);
|
H A D | HttpsConnection.java | 141 HttpsConnection(Context context, HttpHost host, HttpHost proxy, argument 143 super(context, host, requestFeeder); 209 // to add 'host' header unless we want proxy to answer us with a 214 || headerName.equals("host")) { 290 // if we do not have a proxy, we simply connect to the host
|
H A D | IdleCache.java | 67 HttpHost host, Connection connection) { 72 HttpLog.v("IdleCache size " + mCount + " host " + host); 80 entry.mHost = host; 97 synchronized Connection getConnection(HttpHost host) { argument 104 if (eHost != null && eHost.equals(host)) { 66 cacheConnection( HttpHost host, Connection connection) argument
|
H A D | Connection.java | 70 * The host this connection is connected to. If using proxy, 105 protected Connection(Context context, HttpHost host, argument 108 mHost = host; 124 Context context, HttpHost host, HttpHost proxy, 127 if (host.getSchemeName().equals("http")) { 128 return new HttpConnection(context, host, requestFeeder); 132 return new HttpsConnection(context, host, proxy, requestFeeder); 123 getConnection( Context context, HttpHost host, HttpHost proxy, RequestFeeder requestFeeder) argument
|
H A D | Request.java | 47 * Represents an HTTP request for a given host. 103 * @param host The server that will handle this request 111 Request(String method, HttpHost host, HttpHost proxyHost, String path, argument 116 mHost = host;
|
H A D | RequestQueue.java | 54 * Requests, indexed by HttpHost (scheme, host, port) 160 ConnectionThread getThread(HttpHost host) { argument 165 if (connection != null && connection.mHost.equals(host)) { 173 public Connection getConnection(Context context, HttpHost host) { argument 174 host = RequestQueue.this.determineHost(host); 175 Connection con = mIdleCache.getConnection(host); 178 con = Connection.getConnection(mContext, host, mProxyHost, 267 String host = Proxy.getHost(mContext); 268 if (HttpLog.LOGV) HttpLog.v("RequestQueue.setProxyConfig " + host); 359 getRequest(HttpHost host) argument 362 haveRequest(HttpHost host) argument 397 determineHost(HttpHost host) argument 463 getRequest(HttpHost host) argument 480 haveRequest(HttpHost host) argument 543 getConnection(Context context, HttpHost host) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.h | 28 NinePatchPeeker(SkImageDecoder* host) { argument 29 // the host lives longer than we do, so a raw ptr is safe 30 fHost = host;
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | AdbUtils.java | 40 * @param host IP address in integer format 43 public static String convert(int host) { argument 44 return ((host >> 24) & 0xFF) + "." 45 + ((host >> 16) & 0xFF) + "." 46 + ((host >> 8) & 0xFF) + "." 47 + (host & 0xFF); 54 * @param host DNS name 58 public static int resolve(String host) throws IOException { argument 66 String cmd = "dns:" + host; 109 * @param remoteAddress IP address of the host t [all...] |
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 67 * Sends an SNTP request to the given host and processes the response. 69 * @param host host name of the server. 73 public boolean requestTime(String host, int timeout) { argument 78 InetAddress address = InetAddress.getByName(host);
|
H A D | ProxyProperties.java | 40 public ProxyProperties(String host, int port, String exclList) { argument 41 mHost = host; 46 private ProxyProperties(String host, int port, String exclList, String[] parsedExclList) { argument 47 mHost = host; 201 String host = null; 204 host = in.readString(); 210 new ProxyProperties(host, port, exclList, parsedExclList);
|
H A D | RouteInfo.java | 79 public static RouteInfo makeHostRoute(InetAddress host) { argument 80 return makeHostRoute(host, null); 83 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway) { argument 84 if (host == null) return null; 86 if (host instanceof Inet4Address) { 87 return new RouteInfo(new LinkAddress(host, 32), gateway); 89 return new RouteInfo(new LinkAddress(host, 128), gateway);
|
H A D | SSLCertificateSocketFactory.java | 272 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { argument 273 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); 276 verifyHostname(s, host); 282 * Creates a new socket which is not connected to any remote host. 333 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) argument 336 host, port, localAddr, localPort); 339 verifyHostname(s, host); 351 public Socket createSocket(String host, int port) throws IOException { argument 352 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); 355 verifyHostname(s, host); [all...] |
H A D | WebAddress.java | 57 /* host */ "([" + GOOD_IRI_CHAR + "%_-][" + GOOD_IRI_CHAR + "%_\\.-]*|\\[[0-9a-fA-F:\\.]+\\])?" + 146 public void setHost(String host) { argument 147 mHost = host;
|
H A D | Proxy.java | 69 * though if the proxy is undefined the host string 103 * @param ctx A Context used to get the settings for the proxy host. 105 * @return Proxy (java.net) object containing the host name. If the 106 * user did not set a hostname it returns the default host. 107 * A null value means that no host is to be used. 111 String host = ""; 114 host = uri.getHost(); 117 if (!isLocalHost(host)) { 127 if (!proxyProperties.isExcluded(host)) { 137 * Return the proxy host se 227 isLocalHost(String host) argument 337 setHttpProxySystemProperty(String host, String port, String exclList) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | OverScrollGlow.java | 42 public OverScrollGlow(WebView host) { argument 43 mHostView = host; 44 Context context = host.getContext();
|
H A D | HttpAuthHandlerImpl.java | 263 mNetwork.getProxyHostname() : loader.host(); 276 String host, String realm, String username, String password) { 278 proxy.onReceivedHttpAuthCredentials(host, realm, username, password); 275 onReceivedCredentials(LoadListener loader, String host, String realm, String username, String password) argument
|
H A D | WebViewClient.java | 27 * Give the host application a chance to take over the control when a new 31 * means the host application handles the url, while return false means the 36 * @return True if the host application wants to leave the current WebView 44 * Notify the host application that a page has started loading. This method 59 * Notify the host application that a page has finished loading. This method 71 * Notify the host application that the WebView will load the resource 81 * Notify the host application of a resource request and allow the 101 * Notify the host application that there have been an excessive number of 102 * HTTP redirects. As the host application if it would like to continue 107 * @param cancelMsg The message to send if the host want 244 onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | InputFilter.java | 129 * @param host The input filter host environment. 131 final void install(Host host) { argument 132 mH.obtainMessage(MSG_INSTALL, host).sendToTarget();
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatIcs.java | 31 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event); argument 32 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event); argument 33 public void onInitializeAccessibilityNodeInfo(View host, Object info); argument 34 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event); argument 35 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument 37 public void sendAccessibilityEvent(View host, int eventType); argument 38 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event); argument 48 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { 49 return bridge.dispatchPopulateAccessibilityEvent(host, event); 53 public void onInitializeAccessibilityEvent(View host, AccessibilityEven 85 dispatchPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 90 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 95 onInitializeAccessibilityNodeInfo(Object delegate, View host, Object info) argument 100 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 105 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument 111 sendAccessibilityEvent(Object delegate, View host, int eventType) argument 115 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ShareActionProvider.java | 308 public boolean onChooseActivity(ActivityChooserModel host, Intent intent) { argument
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 106 public static final String EXTRA_HOST = "host"; 205 * <p>{@code host} and {@code port} may be used to give the user 224 * @param host The host name of the server requesting the 233 String host, int port, 259 intent.putExtra(EXTRA_HOST, host); 231 choosePrivateKeyAlias(Activity activity, KeyChainAliasCallback response, String[] keyTypes, Principal[] issuers, String host, int port, String alias) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | AccessibilityDelegateCompat.java | 34 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, argument 36 public void onInitializeAccessibilityEvent(Object delegate, View host, argument 38 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, argument 40 public void onPopulateAccessibilityEvent(Object delegate, View host, argument 42 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument 44 public void sendAccessibilityEvent(Object delegate, View host, int eventType); argument 45 public void sendAccessibilityEventUnchecked(Object delegate, View host, argument 58 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, argument 63 public void onInitializeAccessibilityEvent(Object delegate, View host, argument 68 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, argument 73 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 78 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument 83 sendAccessibilityEvent(Object delegate, View host, int eventType) argument 87 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument 144 dispatchPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 151 onInitializeAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 157 onInitializeAccessibilityNodeInfo(Object delegate, View host, AccessibilityNodeInfoCompat info) argument 164 onPopulateAccessibilityEvent(Object delegate, View host, AccessibilityEvent event) argument 170 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument 177 sendAccessibilityEvent(Object delegate, View host, int eventType) argument 182 sendAccessibilityEventUnchecked(Object delegate, View host, AccessibilityEvent event) argument 230 sendAccessibilityEvent(View host, int eventType) argument 252 sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) argument 273 dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) argument 293 onPopulateAccessibilityEvent(View host, AccessibilityEvent event) argument 313 onInitializeAccessibilityEvent(View host, AccessibilityEvent event) argument 332 onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) argument 355 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument [all...] |
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
H A D | WebViewContextMenu.java | 82 public WebViewContextMenu(Activity host) { argument 83 this.mActivity = host;
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 64 * Does a number of HTTPS requests on some host and consumes the response. 69 * @param host The host name the request is being sent to. 78 private void fetch(SSLSocketFactory socketFactory, String host, int port, argument 81 InetSocketAddress address = new InetSocketAddress(host, port); 84 // Connect to the remote host 102 "GET https://" + host + path + " HTTP/1.1"); 105 writer.println("GET https://" + host + path + " HTTP/1.1\r"); 106 writer.println("Host: " + host + "\r"); 180 private void fetch(String host, in argument 988 getSessionData(String host, int port) argument 1078 getSessionData(String host, int port) argument [all...] |