/frameworks/base/core/java/android/net/ |
H A D | Proxy.java | 40 * Return the proxy host set by the user. 41 * @param ctx A Context used to get the settings for the proxy host. 42 * @return String containing the host name. If the user did not set a host 43 * name it returns the default host. A null value means that no 44 * host is to be used. 49 String host = Settings.Secure.getString( 52 if (host != null) { 53 int i = host.indexOf(':'); 56 Assert.assertTrue(host [all...] |
/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 | ConnectionThread.java | 104 HttpHost host; 107 host = proxy == null ? request.mHost : proxy; 111 host = (proxy == null || 115 mConnection = mConnectionManager.getConnection(mContext, host); 118 if (!mConnectionManager.recycleConnection(host,
|
H A D | RequestQueue.java | 56 * Requests, indexed by HttpHost (scheme, host, port) 85 * (2) send an intent to my host app telling 293 ConnectionThread getThread(HttpHost host) { argument 298 if (connection != null && connection.mHost.equals(host)) { 306 public Connection getConnection(Context context, HttpHost host) { argument 307 Connection con = mIdleCache.getConnection(host); 311 mContext, host, this, RequestQueue.this); 315 public boolean recycleConnection(HttpHost host, Connection connection) { argument 316 return mIdleCache.cacheConnection(host, connection); 409 String host 563 getRequest(HttpHost host) argument 580 haveRequest(HttpHost host) argument 644 getConnection(Context context, HttpHost host) argument 645 recycleConnection(HttpHost host, Connection connection) argument [all...] |
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 | HttpConnection.java | 37 HttpConnection(Context context, HttpHost host, argument 40 super(context, host, connectionManager, requestFeeder);
|
H A D | Connection.java | 70 * The host this connection is connected to. If using proxy, 106 protected Connection(Context context, HttpHost host, argument 110 mHost = host; 127 Context context, HttpHost host, 131 if (host.getSchemeName().equals("http")) { 132 return new HttpConnection(context, host, connectionManager, 137 return new HttpsConnection(context, host, connectionManager, 126 getConnection( Context context, HttpHost host, RequestQueue.ConnectionManager connectionManager, RequestFeeder requestFeeder) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | SslErrorHandler.java | 165 String host = loader.host(); 168 Assert.assertTrue(host != null && primary != 0); 171 if (mSslPrefTable.containsKey(host)) { 172 if (primary <= mSslPrefTable.getInt(host)) { 222 String host = loader.host(); 225 Assert.assertTrue(host != null && primary != 0); 227 boolean hasKey = mSslPrefTable.containsKey(host); 229 primary > mSslPrefTable.getInt(host)) { [all...] |
H A D | CookieManager.java | 232 * Set cookie for a given url. The old cookie with same host/path/name will 250 * Set cookie for a given uri. The old cookie with same host/path/name will 631 * Extract the host and path out of a uri 633 * @return The host and path in the format of String[], String[0] is host 652 // cookie host must have at least two periods 680 * Get the base domain for a give host. E.g. mail.google.com will return 682 * @param host The give host 685 private String getBaseDomain(String host) { argument 714 parseCookie(String host, String path, String cookieString) argument [all...] |
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 that there have been an excessive number of 82 * HTTP redirects. As the host application if it would like to continue 87 * @param cancelMsg The message to send if the host wants to cancel 88 * @param continueMsg The message to send if the host want 162 onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 104 Host host; field in class:AppWidgetService.AppWidgetId 179 pw.print(id.host.hostId); pw.print(' '); 180 pw.print(id.host.packageName); pw.print('/'); 181 pw.println(id.host.uid); 186 if (id.host != null) { 187 pw.print(" host.callbacks="); pw.println(id.host.callbacks); 198 Host host = mHosts.get(i); 200 pw.print(host.hostId); pw.print(' '); 201 pw.print(host 269 deleteHostLocked(Host host) argument 549 pruneHostLocked(Host host) argument [all...] |
/frameworks/base/include/utils/ |
H A D | inet_address.h | 41 static InetAddress* getByName(const char* host); 84 // Create an address with a host wildcard (useful for servers). 86 // Create an address with the specified host and port. 88 // Create an address with the specified host and port. Does the 90 bool create(const char* host, int port);
|
H A D | Socket.h | 40 int connect(const char* host, int port);
|
/frameworks/base/libs/utils/ |
H A D | InetAddress.cpp | 125 InetAddress::getByName(const char* host) argument 138 he = gethostbyname(host); 140 LOG(LOG_WARN, "socket", "WARNING: cannot resolve host %s\n", host); 160 host, lockTime / 1000000.0, hostTime / 1000000.0, 178 newAddr->mName = new char[strlen(host)+1]; 183 strcpy(newAddr->mName, host); 196 * Create an address with the host wildcard (INADDR_ANY). 210 * Create address with host and port specified. 224 * Create address with host an 226 create(const char* host, int port) argument [all...] |
H A D | Android.mk | 17 # libutils is a little unique: It's built twice, once for the host 53 # They're used by the simulator runtime and by host-side tools like 63 # For the host
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | URITest.java | 33 private static void construct(String str, String host, String path, boolean absolute) argument 36 assertEquals(host, uri.getHost());
|
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 985 getSessionData(String host, int port) argument 1073 getSessionData(String host, int port) argument [all...] |
H A D | SSLPerformanceTest.java | 272 cache.putSessionData(new FakeSession("host" + i), SESSION_DATA); 343 final String host; field in class:FakeSession 345 FakeSession(String host) { argument 346 this.host = host; 362 return host.getBytes(); 390 return host;
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
H A D | TestHttpService.java | 137 HttpHost host = new HttpHost("localhost", this.server.getPort()); 142 Socket socket = new Socket(host.getHostName(), host.getPort()); 147 HttpResponse response = this.client.execute(get, host, conn); 217 HttpHost host = new HttpHost("localhost", this.server.getPort()); 222 Socket socket = new Socket(host.getHostName(), host.getPort()); 231 HttpResponse response = this.client.execute(post, host, conn); 300 HttpHost host = new HttpHost("localhost", this.server.getPort()); 305 Socket socket = new Socket(host [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 82 public void savePassword(String host, String username, String password) { argument 85 public void setHttpAuthUsernamePassword(String host, String realm, argument 89 public String[] getHttpAuthUsernamePassword(String host, String realm) { argument
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetService.aidl | 30 int[] startListening(IAppWidgetHost host, String packageName, int hostId,
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 107 * formal RFC host names!</em> You should thus always use lower case letters 128 private static final String HOST_STR = "host"; 191 * authority host. 196 * authority host and port. 632 public AuthorityEntry(String host, String port) { argument 633 mOrigHost = host; 634 mWild = host.length() > 0 && host.charAt(0) == '*'; 635 mHost = mWild ? host.substring(1).intern() : host; 718 addDataAuthority(String host, String port) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Android.mk | 27 LOCAL_C_INCLUDES += build/libs/host/include
|
/frameworks/base/tools/localize/ |
H A D | Android.mk | 26 build/libs/host/include
|
/frameworks/base/core/java/android/view/ |
H A D | ViewRoot.java | 620 final View host = mView; 625 host.debug(); 628 if (host == null || !mAdded) 676 host.dispatchAttachedToWindow(attachInfo, 0); 685 "View " + host + " resized to: " + frame); 694 host.dispatchWindowVisibilityChanged(viewVisibility); 711 host.fitSystemWindows(mAttachInfo.mContentInsets); 719 host.fitSystemWindows(mAttachInfo.mContentInsets); 743 // Ask host how big it wants to be 745 "Measuring " + host [all...] |