Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/support/v4/java/android/support/v4/view/
DAccessibilityDelegateCompat.java36 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent() argument
38 public void onInitializeAccessibilityEvent(Object delegate, View host, in onInitializeAccessibilityEvent() argument
40 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, in onInitializeAccessibilityNodeInfo() argument
42 public void onPopulateAccessibilityEvent(Object delegate, View host, in onPopulateAccessibilityEvent() argument
44 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, in onRequestSendAccessibilityEvent() argument
46 public void sendAccessibilityEvent(Object delegate, View host, int eventType); in sendAccessibilityEvent() argument
47 public void sendAccessibilityEventUnchecked(Object delegate, View host, in sendAccessibilityEventUnchecked() argument
50 View host); in getAccessibilityNodeProvider() argument
51 public boolean performAccessibilityAction(Object delegate, View host, int action, in performAccessibilityAction() argument
66 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent() argument
[all …]
/frameworks/support/v4/ics/android/support/v4/view/
DAccessibilityDelegateCompatIcs.java31 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event); in dispatchPopulateAccessibilityEvent() argument
32 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event); in onInitializeAccessibilityEvent() argument
33 public void onInitializeAccessibilityNodeInfo(View host, Object info); in onInitializeAccessibilityNodeInfo() argument
34 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event); in onPopulateAccessibilityEvent() argument
35 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, in onRequestSendAccessibilityEvent() argument
37 public void sendAccessibilityEvent(View host, int eventType); in sendAccessibilityEvent() argument
38 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event); in sendAccessibilityEventUnchecked() argument
48 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
49 return bridge.dispatchPopulateAccessibilityEvent(host, event); in newAccessibilityDelegateBridge()
53 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge() argument
[all …]
/frameworks/support/v4/jellybean/android/support/v4/view/
DAccessibilityDelegateCompatJellyBean.java33 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event); in dispatchPopulateAccessibilityEvent() argument
34 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event); in onInitializeAccessibilityEvent() argument
35 public void onInitializeAccessibilityNodeInfo(View host, Object info); in onInitializeAccessibilityNodeInfo() argument
36 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event); in onPopulateAccessibilityEvent() argument
37 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, in onRequestSendAccessibilityEvent() argument
39 public void sendAccessibilityEvent(View host, int eventType); in sendAccessibilityEvent() argument
40 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event); in sendAccessibilityEventUnchecked() argument
41 public Object getAccessibilityNodeProvider(View host); in getAccessibilityNodeProvider() argument
42 public boolean performAccessibilityAction(View host, int action, Bundle args); in performAccessibilityAction() argument
50 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in newAccessibilityDelegateBridge()
[all …]
/frameworks/base/core/java/android/net/http/
DRequestQueue.java160 ConnectionThread getThread(HttpHost host) { in getThread() argument
165 if (connection != null && connection.mHost.equals(host)) { in getThread()
173 public Connection getConnection(Context context, HttpHost host) { in getConnection() argument
174 host = RequestQueue.this.determineHost(host); in getConnection()
175 Connection con = mIdleCache.getConnection(host); in getConnection()
178 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
267 String host = Proxy.getHost(mContext); in setProxyConfig() local
268 if (HttpLog.LOGV) HttpLog.v("RequestQueue.setProxyConfig " + host); in setProxyConfig()
269 if (host == null) { in setProxyConfig()
273 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http"); in setProxyConfig()
[all …]
DIdleCache.java67 HttpHost host, Connection connection) { in cacheConnection() argument
72 HttpLog.v("IdleCache size " + mCount + " host " + host); in cacheConnection()
80 entry.mHost = host; in cacheConnection()
97 synchronized Connection getConnection(HttpHost host) { in getConnection() argument
104 if (eHost != null && eHost.equals(host)) { in getConnection()
DRequestFeeder.java31 Request getRequest(HttpHost host); in getRequest() argument
36 boolean haveRequest(HttpHost host); in haveRequest() argument
/frameworks/base/core/java/android/net/
DProxy.java111 String host = ""; in getProxy() local
114 host = uri.getHost(); in getProxy()
117 if (!isLocalHost(host)) { in getProxy()
127 if (!proxyProperties.isExcluded(host)) { in getProxy()
181 String host = System.getProperty("http.proxyHost"); in getDefaultHost() local
182 if (TextUtils.isEmpty(host)) return null; in getDefaultHost()
183 return host; in getDefaultHost()
227 private static final boolean isLocalHost(String host) { in isLocalHost() argument
228 if (host == null) { in isLocalHost()
232 if (host != null) { in isLocalHost()
[all …]
DSSLCertificateSocketFactory.java327 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { in createSocket() argument
328 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); in createSocket()
332 verifyHostname(s, host); in createSocket()
392 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument
395 host, port, localAddr, localPort); in createSocket()
399 verifyHostname(s, host); in createSocket()
411 public Socket createSocket(String host, int port) throws IOException { in createSocket() argument
412 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); in createSocket()
416 verifyHostname(s, host); in createSocket()
DProxyProperties.java40 public ProxyProperties(String host, int port, String exclList) { in ProxyProperties() argument
41 mHost = host; in ProxyProperties()
46 private ProxyProperties(String host, int port, String exclList, String[] parsedExclList) { in ProxyProperties() argument
47 mHost = host; in ProxyProperties()
201 String host = null;
204 host = in.readString();
210 new ProxyProperties(host, port, exclList, parsedExclList);
DRouteInfo.java79 public static RouteInfo makeHostRoute(InetAddress host) { in makeHostRoute() argument
80 return makeHostRoute(host, null); in makeHostRoute()
83 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway) { in makeHostRoute() argument
84 if (host == null) return null; in makeHostRoute()
86 if (host instanceof Inet4Address) { in makeHostRoute()
87 return new RouteInfo(new LinkAddress(host, 32), gateway); in makeHostRoute()
89 return new RouteInfo(new LinkAddress(host, 128), gateway); in makeHostRoute()
/frameworks/base/core/java/android/webkit/
DSslCertLookupTable.java48 String host; in setIsAllowed() local
50 host = new URL(sslError.getUrl()).getHost(); in setIsAllowed()
54 table.putInt(host, sslError.getPrimaryError()); in setIsAllowed()
60 String host; in isAllowed() local
62 host = new URL(sslError.getUrl()).getHost(); in isAllowed()
66 return table.containsKey(host) && sslError.getPrimaryError() <= table.getInt(host); in isAllowed()
/frameworks/base/services/java/com/android/server/
DAppWidgetServiceImpl.java117 Host host; field in AppWidgetServiceImpl.AppWidgetId
305 private void dumpHost(Host host, int index, PrintWriter pw) { in dumpHost() argument
307 pw.print(host.hostId); pw.print(' '); in dumpHost()
308 pw.print(host.packageName); pw.print('/'); in dumpHost()
309 pw.print(host.uid); pw.println(':'); in dumpHost()
310 pw.print(" callbacks="); pw.println(host.callbacks); in dumpHost()
311 pw.print(" instances.size="); pw.print(host.instances.size()); in dumpHost()
312 pw.print(" zombie="); pw.println(host.zombie); in dumpHost()
319 pw.print(id.host.hostId); pw.print(' '); in dumpAppWidgetId()
320 pw.print(id.host.packageName); pw.print('/'); in dumpAppWidgetId()
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
DAdbUtils.java43 public static String convert(int host) { in convert() argument
44 return ((host >> 24) & 0xFF) + "." in convert()
45 + ((host >> 16) & 0xFF) + "." in convert()
46 + ((host >> 8) & 0xFF) + "." in convert()
47 + (host & 0xFF); in convert()
58 public static int resolve(String host) throws IOException { in resolve() argument
66 String cmd = "dns:" + host; in resolve()
DForwardService.java88 String host = null; in getForwardHostAddr() local
94 host = hostReader.readLine(); in getForwardHostAddr()
95 Log.v(LOGTAG, "read forward host from file: " + host); in getForwardHostAddr()
108 if (host == null || host.length() == 0) in getForwardHostAddr()
109 host = DEFAULT_TEST_HOST; in getForwardHostAddr()
111 addr = AdbUtils.resolve(host); in getForwardHostAddr()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dindex.jd11 <li><a href="{@docRoot}guide/topics/connectivity/usb/host.html">USB Host</a></li>
17 implements the Android accessory protocol) through two modes: USB accessory and USB host. In USB
20 readers; and much more. This gives Android-powered devices that do not have host capabilities the
24 host mode, the Android-powered device acts as the host. Examples of devices include digital
30 host mode, it acts as the USB host and powers the bus. When the Android-powered device is in USB
32 host and powers the bus.</p><img src="{@docRoot}images/usb-host-accessory.png" alt="">
36 <p>USB accessory and host modes are directly supported in Android 3.1 (API level 12) or newer
41 <p class="note"><strong>Note:</strong> Support for USB host and accessory modes are ultimately
43 support USB host and accessory through a <a href=
46 "{@docRoot}guide/topics/connectivity/usb/host.html">host</a> documentation for more details.</p>
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Ddata-element.jd8 <dd><pre class="stx">&lt;data android:<a href="#host">host</a>="<i>string</i>"
26 <p style="margin-left: 2em">{@code scheme://host:port/path} <i>or</i>
33 <code><a href="{@docRoot}guide/topics/manifest/data-element.html#host">host</a></code> is not speci…
44 &lt;data android:scheme="something" android:host="project.example.com" /&gt;
52 &lt;data android:host="project.example.com" /&gt;
73 <dt><a name="host"></a>{@code android:host}</dt>
74 <dd>The host part of a URI authority. This attribute is meaningless
78 <p class="note">Note: host name matching in the Android framework is
80 host names using lowercase letters.</p>
128 <code><a href="#scheme">scheme</a></code> and <code><a href="#host">host</a></code>
[all …]
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java78 private void fetch(SSLSocketFactory socketFactory, String host, int port, in fetch() argument
81 InetSocketAddress address = new InetSocketAddress(host, port); in fetch()
102 "GET https://" + host + path + " HTTP/1.1"); in fetch()
105 writer.println("GET https://" + host + path + " HTTP/1.1\r"); in fetch()
106 writer.println("Host: " + host + "\r"); in fetch()
180 private void fetch(String host, int port, boolean secure, String path, in fetch() argument
183 fetch(clientFactory, host, port, secure, path, outerLoop, innerLoop, in fetch()
988 public byte[] getSessionData(String host, int port) { in getSessionData() argument
989 ops.add("get " + host); in getSessionData()
990 return sessions.get(host); in getSessionData()
[all …]
/frameworks/base/core/java/android/content/
DIntentFilter.java635 public AuthorityEntry(String host, String port) { in AuthorityEntry() argument
636 mOrigHost = host; in AuthorityEntry()
637 mWild = host.length() > 0 && host.charAt(0) == '*'; in AuthorityEntry()
638 mHost = mWild ? host.substring(1).intern() : host; in AuthorityEntry()
675 String host = data.getHost(); in match() local
676 if (host == null) { in match()
680 "Match host " + host + ": " + mHost); in match()
682 if (host.length() < mHost.length()) { in match()
685 host = host.substring(host.length()-mHost.length()); in match()
687 if (host.compareToIgnoreCase(mHost) != 0) { in match()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp130 const char *url, AString *host, unsigned *port, AString *path, in ParseURL() argument
132 host->clear(); in ParseURL()
145 host->setTo(&url[7]); in ParseURL()
148 host->setTo(&url[7], slashPos - &url[7]); in ParseURL()
152 ssize_t atPos = host->find("@"); in ParseURL()
157 AString userPass(*host, 0, atPos); in ParseURL()
158 host->erase(0, atPos + 1); in ParseURL()
170 const char *colonPos = strchr(host->c_str(), ':'); in ParseURL()
180 size_t colonOffset = colonPos - host->c_str(); in ParseURL()
181 size_t trailing = host->size() - colonOffset; in ParseURL()
[all …]
/frameworks/base/core/tests/hosttests/
DREADME1 This dir contains tests which run on a host machine, and test aspects of
5 runtest framework-core-host
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h28 NinePatchPeeker(SkImageDecoder* host) { in NinePatchPeeker() argument
30 fHost = host; in NinePatchPeeker()
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg26 config.target_triple = 'host-bcc'
38 config.test_exec_root = os.path.join(config.build_top, 'out', 'host',
39 'tests', 'bcc-host')
60 # Apply host-side test macro substitutions
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DAdditionalTextOutput.java55 String host = ""; in appendExceededDbQuotaMessage() local
61 host = url.getHost(); in appendExceededDbQuotaMessage()
72 output.append(protocol + ", " + host + ", " + port + "} "); in appendExceededDbQuotaMessage()
/frameworks/compile/libbcc/lib/ScriptCRT/
Dbuild_clcore.sh12 clang -ccc-host-triple armv7-none-linux-gnueabi -I${scriptc_path} -I${clang_header_path} -c -std=c9…
17 clang -ccc-host-triple armv7-none-linux-gnueabi -I${scriptc_path} -I${clang_header_path} -c -std=c9…
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
DWebView.java82 public void savePassword(String host, String username, String password) { in savePassword() argument
85 public void setHttpAuthUsernamePassword(String host, String realm, in setHttpAuthUsernamePassword() argument
89 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument

1234567