Home
last modified time | relevance | path

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

12345678

/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
DX509TrustManagerExtensions.java63 String host) throws CertificateException { in checkServerTrusted() argument
64 return mDelegate.checkServerTrusted(chain, authType, host); in checkServerTrusted()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DObscureSpeechDelegate.java48 public void sendAccessibilityEvent(View host, int eventType) { in sendAccessibilityEvent() argument
49 super.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent()
56 host.announceForAccessibility(host.getContext().getString( in sendAccessibilityEvent()
62 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument
63 super.onPopulateAccessibilityEvent(host, event); in onPopulateAccessibilityEvent()
68 event.setContentDescription(host.getContext().getString( in onPopulateAccessibilityEvent()
74 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
75 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
78 final Context ctx = host.getContext(); in onInitializeAccessibilityNodeInfo()
/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 …]
DRouteInfo.java119 public RouteInfo(LinkAddress host) { in RouteInfo() argument
120 this(host, null, null); in RouteInfo()
123 public static RouteInfo makeHostRoute(InetAddress host, String iface) { in makeHostRoute() argument
124 return makeHostRoute(host, null, iface); in makeHostRoute()
127 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway, String iface) { in makeHostRoute() argument
128 if (host == null) return null; in makeHostRoute()
130 if (host instanceof Inet4Address) { in makeHostRoute()
131 return new RouteInfo(new LinkAddress(host, 32), gateway, iface); in makeHostRoute()
133 return new RouteInfo(new LinkAddress(host, 128), gateway, iface); in makeHostRoute()
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);
DSSLCertificateSocketFactory.java390 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { in createSocket() argument
391 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); in createSocket()
396 verifyHostname(s, host); in createSocket()
459 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument
462 host, port, localAddr, localPort); in createSocket()
467 verifyHostname(s, host); in createSocket()
479 public Socket createSocket(String host, int port) throws IOException { in createSocket() argument
480 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); in createSocket()
485 verifyHostname(s, host); in createSocket()
/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.java135 Host host; field in AppWidgetServiceImpl.AppWidgetId
356 private void dumpHost(Host host, int index, PrintWriter pw) { in dumpHost() argument
358 pw.print(host.hostId); pw.print(' '); in dumpHost()
359 pw.print(host.packageName); pw.print('/'); in dumpHost()
360 pw.print(host.uid); pw.println(':'); in dumpHost()
361 pw.print(" callbacks="); pw.println(host.callbacks); in dumpHost()
362 pw.print(" instances.size="); pw.print(host.instances.size()); in dumpHost()
363 pw.print(" zombie="); pw.println(host.zombie); in dumpHost()
370 pw.print(id.host.hostId); pw.print(' '); in dumpAppWidgetId()
371 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/appwidgets/
Dhost.jd10 <li><a href="#host-binding">Binding App Widgets</a>
16 <li><a href="#host-state">Host Responsibilities</a>
36 creating your own host, it's important to understand the contractual obligations
37 a host implicitly agrees to.</p>
54 an ID that is unique within the host's own package. This ID remains persistent
55 across all uses of the host. The ID is typically a hard-coded value that you assign
62 The unique ID is obtained by the host using {@link android.appwidget.AppWidgetHost#allocateAppWidge…
63 that is, until it is deleted from the host. Any host-specific state (such as the
72 widget is inflated by the host. </li>
90 <h2 id="host-binding">Binding App Widgets</h2>
[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>
131 <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/av/media/libstagefright/
Dchromium_http_stub.cpp34 const char *host, int32_t port, const char *exclusionList);
85 const char *host, int32_t port, const char *exclusionList) { in UpdateChromiumHTTPDataSourceProxyConfig() argument
91 host, port, exclusionList); in UpdateChromiumHTTPDataSourceProxyConfig()
/frameworks/av/media/libstagefright/chromium_http/
Dchromium_http_stub.cpp30 const char *host, int32_t port, const char *exclusionList) { in UpdateChromiumHTTPDataSourceProxyConfig() argument
31 return ChromiumHTTPDataSource::UpdateProxyConfig(host, port, exclusionList); in UpdateChromiumHTTPDataSourceProxyConfig()
/frameworks/base/core/java/android/content/
DIntentFilter.java636 public AuthorityEntry(String host, String port) { in AuthorityEntry() argument
637 mOrigHost = host; in AuthorityEntry()
638 mWild = host.length() > 0 && host.charAt(0) == '*'; in AuthorityEntry()
639 mHost = mWild ? host.substring(1).intern() : host; in AuthorityEntry()
676 String host = data.getHost(); in match() local
677 if (host == null) { in match()
681 "Match host " + host + ": " + mHost); in match()
683 if (host.length() < mHost.length()) { in match()
686 host = host.substring(host.length()-mHost.length()); in match()
688 if (host.compareToIgnoreCase(mHost) != 0) { in match()
[all …]
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h28 NinePatchPeeker(SkImageDecoder* host) { in NinePatchPeeker() argument
30 fHost = host; in NinePatchPeeker()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp132 const char *url, AString *host, unsigned *port, AString *path, in ParseURL() argument
134 host->clear(); in ParseURL()
147 host->setTo(&url[7]); in ParseURL()
150 host->setTo(&url[7], slashPos - &url[7]); in ParseURL()
154 ssize_t atPos = host->find("@"); in ParseURL()
159 AString userPass(*host, 0, atPos); in ParseURL()
160 host->erase(0, atPos + 1); in ParseURL()
172 const char *colonPos = strchr(host->c_str(), ':'); in ParseURL()
182 size_t colonOffset = colonPos - host->c_str(); in ParseURL()
183 size_t trailing = host->size() - colonOffset; in ParseURL()
[all …]

12345678