Searched refs:host (Results 1 - 25 of 141) sorted by path

123456

/frameworks/av/include/media/
H A DIHDCP.h42 // Request to setup an HDCP session with the specified host listening
44 virtual status_t initAsync(const char *host, unsigned port) = 0;
/frameworks/av/include/media/stagefright/foundation/
H A DANetworkSession.h41 const char *host, unsigned port, const sp<AMessage> &notify,
/frameworks/av/media/libmedia/
H A DIHDCP.cpp73 virtual status_t initAsync(const char *host, unsigned port) { argument
76 data.writeCString(host);
218 const char *host = data.readCString(); local
221 reply->writeInt32(initAsync(host, port));
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp83 status_t HDCP::initAsync(const char *host, unsigned port) { argument
90 return mHDCPModule->initAsync(host, port);
H A DHDCP.h31 virtual status_t initAsync(const char *host, unsigned port);
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp856 const char *host, unsigned port, const sp<AMessage> &notify,
862 host,
855 createRTSPClient( const char *host, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp133 const char *url, AString *host, unsigned *port, AString *path,
135 host->clear();
148 host->setTo(&url[7]);
151 host->setTo(&url[7], slashPos - &url[7]);
155 ssize_t atPos = host->find("@");
160 AString userPass(*host, 0, atPos);
161 host->erase(0, atPos + 1);
173 const char *colonPos = strchr(host->c_str(), ':');
183 size_t colonOffset = colonPos - host->c_str();
184 size_t trailing = host
132 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
234 AString host, path; local
[all...]
H A DARTSPConnection.h46 const char *url, AString *host, unsigned *port, AString *path,
H A DMyHandler.h149 AString host, path, user, pass; local
152 mSessionURL.c_str(), &host, &port, &path, &user, &pass));
157 mSessionURL.append(host);
165 mSessionHost = host;
328 ALOGE("Failed to look up address of session host '%s'",
502 AString host, path, user, pass; local
505 mSessionURL.c_str(), &host, &port, &path, &user, &pass)
509 mSessionURL.append(host);
/frameworks/base/core/java/android/app/
H A DActivityThread.java835 public void setHttpProxy(String host, String port, String exclList, Uri pacFileUrl) { argument
836 Proxy.setHttpProxySystemProperty(host, port, exclList, pacFileUrl);
/frameworks/base/core/java/android/content/
H A DIntentFilter.java124 * formal RFC host names!</em> You should thus always use lower case letters
145 private static final String HOST_STR = "host";
209 * authority host.
214 * authority host and port.
660 public AuthorityEntry(String host, String port) { argument
661 mOrigHost = host;
662 mWild = host.length() > 0 && host.charAt(0) == '*';
663 mHost = mWild ? host.substring(1).intern() : host;
857 addDataAuthority(String host, String port) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java4102 String host = sa.getNonConfigurationString(
4106 if (host != null) {
4107 outInfo.addDataAuthority(host, port);
/frameworks/base/core/java/android/net/
H A DNetwork.java95 * Operates the same as {@code InetAddress.getAllByName} except that host
98 * @param host the hostname or literal IP string to be resolved.
99 * @return the array of addresses associated with the specified host.
102 public InetAddress[] getAllByName(String host) throws UnknownHostException { argument
103 return InetAddress.getAllByNameOnNet(host, netId);
107 * Operates the same as {@code InetAddress.getByName} except that host
110 * @param host
112 * @return the {@code InetAddress} instance representing the host.
116 public InetAddress getByName(String host) throws UnknownHostException { argument
117 return InetAddress.getByNameOnNet(host, netI
131 connectToHost(String host, int port, SocketAddress localAddress) argument
150 createSocket(String host, int port, InetAddress localHost, int localPort) argument
164 createSocket(InetAddress host, int port) argument
171 createSocket(String host, int port) argument
[all...]
H A DPacProxySelector.java115 String host = hostPort[0];
117 return new Proxy(type, InetSocketAddress.createUnresolved(host, port));
H A DProxy.java59 * though if the proxy is undefined the host string
112 * @param ctx A Context used to get the settings for the proxy host.
114 * @return Proxy (java.net) object containing the host name. If the
115 * user did not set a hostname it returns the default host.
116 * A null value means that no host is to be used.
120 String host = "";
121 if ((url != null) && !isLocalHost(host)) {
136 * Return the proxy host set by the user.
137 * @param ctx A Context used to get the settings for the proxy host.
138 * @return String containing the host nam
226 isLocalHost(String host) argument
287 setHttpProxySystemProperty(String host, String port, String exclList, Uri pacFileUrl) argument
[all...]
H A DProxyInfo.java63 * on the specified host and port.
65 public static ProxyInfo buildDirectProxy(String host, int port) { argument
66 return new ProxyInfo(host, port, null);
71 * on the specified host and port.
73 * The proxy will not be used to access any host in exclusion list, exclList.
78 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { argument
80 return new ProxyInfo(host, port, TextUtils.join(",", array), array);
95 public ProxyInfo(String host, int port, String exclList) { argument
96 mHost = host;
141 private ProxyInfo(String host, in argument
[all...]
H A DRouteInfo.java244 public static RouteInfo makeHostRoute(InetAddress host, String iface) { argument
245 return makeHostRoute(host, null, iface);
251 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway, String iface) { argument
252 if (host == null) return null;
254 if (host instanceof Inet4Address) {
255 return new RouteInfo(new IpPrefix(host, 32), gateway, iface);
257 return new RouteInfo(new IpPrefix(host, 128), gateway, iface);
341 * Indicates if this route is a host route (ie, matches only a single host address).
H A DSSLCertificateSocketFactory.java428 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { argument
429 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close);
435 verifyHostname(s, host);
441 * Creates a new socket which is not connected to any remote host.
501 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) argument
504 host, port, localAddr, localPort);
510 verifyHostname(s, host);
522 public Socket createSocket(String host, int port) throws IOException { argument
523 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port);
529 verifyHostname(s, host);
[all...]
H A DSntpClient.java66 * Sends an SNTP request to the given host and processes the response.
68 * @param host host name of the server.
72 public boolean requestTime(String host, int timeout) { argument
77 InetAddress address = InetAddress.getByName(host);
H A DUri.java204 * {@code [ userinfo '@' ] host [ ':' port ]}
215 * {@code [ userinfo '@' ] host [ ':' port ]}
242 * Gets the encoded host from the authority for this URI. For example,
246 * @return the host for this URI or null if not present
1071 private volatile String host = NOT_CACHED; field in class:Uri.AbstractHierarchicalUri
1075 boolean cached = (host != NOT_CACHED);
1076 return cached ? host
1077 : (host = parseHost());
H A DWebAddress.java58 /* host */ "([" + GOOD_IRI_CHAR + "%_-][" + GOOD_IRI_CHAR + "%_\\.-]*|\\[[0-9a-fA-F:\\.]+\\])?" +
147 public void setHost(String host) { argument
148 mHost = host;
/frameworks/base/core/java/android/net/http/
H A DConnection.java69 * The host this connection is connected to. If using proxy,
104 protected Connection(Context context, HttpHost host, argument
107 mHost = host;
123 Context context, HttpHost host, HttpHost proxy,
126 if (host.getSchemeName().equals("http")) {
127 return new HttpConnection(context, host, requestFeeder);
131 return new HttpsConnection(context, host, proxy, requestFeeder);
122 getConnection( Context context, HttpHost host, HttpHost proxy, RequestFeeder requestFeeder) argument
H A DHttpConnection.java35 HttpConnection(Context context, HttpHost host, argument
37 super(context, host, requestFeeder);
H A DHttpsConnection.java141 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 DIdleCache.java67 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

Completed in 301 milliseconds

123456