Home
last modified time | relevance | path

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

123456789

/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/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerViewAccessibilityDelegate.java39 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument
40 if (super.performAccessibilityAction(host, action, args)) { in performAccessibilityAction()
51 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) { in onInitializeAccessibilityNodeInfo() argument
52 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
60 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument
61 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent()
63 if (host instanceof RecyclerView) { in onInitializeAccessibilityEvent()
64 RecyclerView rv = (RecyclerView) host; in onInitializeAccessibilityEvent()
77 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info) {
78 super.onInitializeAccessibilityNodeInfo(host, info);
[all …]
/frameworks/base/core/java/android/net/http/
DRequestQueue.java156 ConnectionThread getThread(HttpHost host) { in getThread() argument
161 if (connection != null && connection.mHost.equals(host)) { in getThread()
169 public Connection getConnection(Context context, HttpHost host) { in getConnection() argument
170 host = RequestQueue.this.determineHost(host); in getConnection()
171 Connection con = mIdleCache.getConnection(host); in getConnection()
174 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
263 String host = Proxy.getHost(mContext); in setProxyConfig() local
264 if (HttpLog.LOGV) HttpLog.v("RequestQueue.setProxyConfig " + host); in setProxyConfig()
265 if (host == null) { in setProxyConfig()
269 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.java113 String host = ""; in getProxy() local
114 if ((url != null) && !isLocalHost(host)) { in getProxy()
173 String host = System.getProperty("http.proxyHost"); in getDefaultHost() local
174 if (TextUtils.isEmpty(host)) return null; in getDefaultHost()
175 return host; in getDefaultHost()
220 private static final boolean isLocalHost(String host) { in isLocalHost() argument
221 if (host == null) { in isLocalHost()
225 if (host != null) { in isLocalHost()
226 if (host.equalsIgnoreCase("localhost")) { in isLocalHost()
229 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
[all …]
DNetwork.java105 public InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() argument
106 return InetAddress.getAllByNameOnNet(host, netId); in getAllByName()
119 public InetAddress getByName(String host) throws UnknownHostException { in getByName() argument
120 return InetAddress.getByNameOnNet(host, netId); in getByName()
134 private Socket connectToHost(String host, int port, SocketAddress localAddress) in connectToHost() argument
137 InetAddress[] hostAddresses = getAllByName(host); in connectToHost()
149 throw new UnknownHostException(host); in connectToHost()
153 …public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOE… in createSocket() argument
154 return connectToHost(host, port, new InetSocketAddress(localHost, localPort)); in createSocket()
167 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() argument
[all …]
DProxyInfo.java71 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() argument
72 return new ProxyInfo(host, port, null); in buildDirectProxy()
84 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() argument
86 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy()
101 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() argument
102 mHost = host; in ProxyInfo()
147 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { in ProxyInfo() argument
148 mHost = host; in ProxyInfo()
347 String host = null;
355 host = in.readString();
[all …]
DSSLCertificateSocketFactory.java434 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { in createSocket() argument
435 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); in createSocket()
441 verifyHostname(s, host); in createSocket()
507 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument
510 host, port, localAddr, localPort); in createSocket()
516 verifyHostname(s, host); in createSocket()
528 public Socket createSocket(String host, int port) throws IOException { in createSocket() argument
529 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); in createSocket()
535 verifyHostname(s, host); in createSocket()
DRouteInfo.java244 public static RouteInfo makeHostRoute(InetAddress host, String iface) { in makeHostRoute() argument
245 return makeHostRoute(host, null, iface); in makeHostRoute()
251 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway, String iface) { in makeHostRoute() argument
252 if (host == null) return null; in makeHostRoute()
254 if (host instanceof Inet4Address) { in makeHostRoute()
255 return new RouteInfo(new IpPrefix(host, 32), gateway, iface); in makeHostRoute()
257 return new RouteInfo(new IpPrefix(host, 128), gateway, iface); in makeHostRoute()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DObscureSpeechDelegate.java49 public void sendAccessibilityEvent(View host, int eventType) { in sendAccessibilityEvent() argument
50 super.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent()
57 host.announceForAccessibility(host.getContext().getString( in sendAccessibilityEvent()
63 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument
64 super.onPopulateAccessibilityEvent(host, event); in onPopulateAccessibilityEvent()
69 event.setContentDescription(host.getContext().getString( in onPopulateAccessibilityEvent()
75 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
76 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
79 final Context ctx = host.getContext(); in onInitializeAccessibilityNodeInfo()
DKeyguardMessageArea.java238 public AnnounceRunnable(View host, CharSequence textToAnnounce) { in AnnounceRunnable() argument
239 mHost = new WeakReference<View>(host); in AnnounceRunnable()
245 final View host = mHost.get(); in run() local
246 if (host != null) { in run()
247 host.announceForAccessibility(mTextToAnnounce); in run()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java394 Host host = mHosts.get(i); in resolveHostUidLocked() local
395 if (host.id.uid == UNKNOWN_UID && pkg.equals(host.id.packageName)) { in resolveHostUidLocked()
397 Slog.i(TAG, "host " + host.id + " resolved to uid " + uid); in resolveHostUidLocked()
399 host.id = new HostId(uid, host.id.hostId, host.id.packageName); in resolveHostUidLocked()
500 Host host = lookupOrAddHostLocked(id); in startListening() local
502 host.callbacks = callbacks; in startListening()
506 ArrayList<Widget> instances = host.widgets; in startListening()
536 Host host = lookupHostLocked(id); in stopListening() local
538 if (host != null) { in stopListening()
539 host.callbacks = null; in stopListening()
[all …]
/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/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java40 public HotspotTile(Host host) { in HotspotTile() argument
41 super(host); in HotspotTile()
42 mController = host.getHotspotController(); in HotspotTile()
43 mUsageTracker = newUsageTracker(host.getContext()); in HotspotTile()
45 mKeyguard = host.getKeyguardMonitor(); in HotspotTile()
DLocationTile.java37 public LocationTile(Host host) { in LocationTile() argument
38 super(host); in LocationTile()
39 mController = host.getLocationController(); in LocationTile()
40 mKeyguard = host.getKeyguardMonitor(); in LocationTile()
/frameworks/base/docs/html/guide/topics/manifest/
Ddata-element.jd9 android:<a href="#host">host</a>="<i>string</i>"
27 {@code &lt;scheme>://&lt;host>:&lt;port>/[&lt;path>|&lt;pathPrefix>|&lt;pathPattern>]}</p>
34 <li>If a <code><a href="{@docRoot}guide/topics/manifest/data-element.html#host">host</a></code>
45 &lt;data android:scheme="something" android:host="project.example.com" /&gt;
53 &lt;data android:host="project.example.com" /&gt;
97 <dt><a name="host"></a>{@code android:host}</dt>
98 <dd>The host part of a URI authority. This attribute is meaningless
102 <p class="note"><strong>Note</strong>: host name matching in the Android framework is
104 host names using lowercase letters.</p>
111 <code><a href="#host">host</a></code> attributes are also specified for
[all …]
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacNative.java36 private native String makeProxyRequestNativeLocked(String url, String host); in makeProxyRequestNativeLocked() argument
74 public synchronized String makeProxyRequest(String url, String host) { in makeProxyRequest() argument
75 String ret = makeProxyRequestNativeLocked(url, host); in makeProxyRequest()
/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/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java80 String host = ""; in run() local
85 host = hostPortSplit[0]; in run()
91 urlString = "Https://" + host + ":" + port; in run()
95 host = url.getHost(); in run()
123 server = new Socket(host, port); in run()
140 server = new Socket(host, port); in run()
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.cpp133 const char *url, AString *host, unsigned *port, AString *path, in ParseURL() argument
135 host->clear(); in ParseURL()
148 host->setTo(&url[7]); in ParseURL()
151 host->setTo(&url[7], slashPos - &url[7]); in ParseURL()
155 ssize_t atPos = host->find("@"); in ParseURL()
160 AString userPass(*host, 0, atPos); in ParseURL()
161 host->erase(0, atPos + 1); in ParseURL()
173 const char *colonPos = strchr(host->c_str(), ':'); in ParseURL()
183 size_t colonOffset = colonPos - host->c_str(); in ParseURL()
184 size_t trailing = host->size() - colonOffset; in ParseURL()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.java126 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) {
127 super.onInitializeAccessibilityNodeInfo(host, info);
129 if (host == mLockIcon) {
131 } else if (host == mCameraImageView) {
133 } else if (host == mPhoneImageView) {
140 public boolean performAccessibilityAction(View host, int action, Bundle args) {
142 if (host == mLockIcon) {
146 } else if (host == mCameraImageView) {
149 } else if (host == mPhoneImageView) {
154 return super.performAccessibilityAction(host, action, args);

123456789