Home
last modified time | relevance | path

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

1234567891011

/frameworks/native/services/inputflinger/host/
DInputDriver.cpp294 ::input_device_identifier_t* create_device_identifier(input_host_t* host, in create_device_identifier() argument
297 auto driver = static_cast<InputDriverInterface*>(host); in create_device_identifier()
301 input_device_definition_t* create_device_definition(input_host_t* host) { in create_device_definition() argument
302 auto driver = static_cast<InputDriverInterface*>(host); in create_device_definition()
306 input_report_definition_t* create_input_report_definition(input_host_t* host) { in create_input_report_definition() argument
307 auto driver = static_cast<InputDriverInterface*>(host); in create_input_report_definition()
311 input_report_definition_t* create_output_report_definition(input_host_t* host) { in create_output_report_definition() argument
312 auto driver = static_cast<InputDriverInterface*>(host); in create_output_report_definition()
316 void free_report_definition(input_host_t* host, input_report_definition_t* report_def) { in free_report_definition() argument
317 auto driver = static_cast<InputDriverInterface*>(host); in free_report_definition()
[all …]
DInputDriver.h137 input_device_identifier_t* create_device_identifier(input_host_t* host,
141 input_device_definition_t* create_device_definition(input_host_t* host);
143 input_report_definition_t* create_input_report_definition(input_host_t* host);
145 input_report_definition_t* create_output_report_definition(input_host_t* host);
147 void free_report_definition(input_host_t* host, input_report_definition_t* report_def);
149 void input_device_definition_add_report(input_host_t* host,
152 void input_report_definition_add_collection(input_host_t* host,
155 void input_report_definition_declare_usage_int(input_host_t* host,
159 void input_report_definition_declare_usages_bool(input_host_t* host,
164 input_device_handle_t* register_device(input_host_t* host,
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerViewAccessibilityDelegate.java43 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument
44 if (super.performAccessibilityAction(host, action, args)) { in performAccessibilityAction()
55 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
56 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
64 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument
65 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent()
67 if (host instanceof RecyclerView && !shouldIgnore()) { in onInitializeAccessibilityEvent()
68 RecyclerView rv = (RecyclerView) host; in onInitializeAccessibilityEvent()
86 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) {
87 super.onInitializeAccessibilityNodeInfo(host, info);
[all …]
/frameworks/rs/
Dupdate-prebuilts.py61 def host_to_build_host(host): argument
70 }[host]
73 def build_name(host): argument
83 }[host]
95 def package_name(build_number, host): argument
101 return 'renderscript-{}-{}-x86.tar.bz2'.format(build_number, host)
104 def download_build(host, build_number, android_branch, download_dir): argument
105 filename = package_name(build_number, host)
106 return download_file(host, build_number, android_branch, filename, download_dir)
109 def download_manifest(host, build_number, android_branch, download_dir): argument
[all …]
Dbuild_rs.py92 def package_toolchain(build_dir, build_name, host, dist_dir): argument
94 install_host_dir = build_path('install', host)
102 install_toolchain(build_dir, install_dir, host)
104 tarball_name = package_name + '-' + host
113 def install_toolchain(build_dir, install_dir, host): argument
114 install_built_host_files(build_dir, install_dir, host)
115 install_clang_headers(build_dir, install_dir, host)
116 install_built_device_files(build_dir, install_dir, host)
123 if host.startswith('windows'):
139 def install_built_host_files(build_dir, install_dir, host): argument
[all …]
/frameworks/base/core/java/android/net/
DProxy.java112 String host = ""; in getProxy() local
113 if ((url != null) && !isLocalHost(host)) { in getProxy()
175 String host = System.getProperty("http.proxyHost"); in getDefaultHost() local
176 if (TextUtils.isEmpty(host)) return null; in getDefaultHost()
177 return host; in getDefaultHost()
198 private static final boolean isLocalHost(String host) { in isLocalHost() argument
199 if (host == null) { in isLocalHost()
203 if (host != null) { in isLocalHost()
204 if (host.equalsIgnoreCase("localhost")) { in isLocalHost()
207 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
[all …]
DProxyInfo.java66 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() argument
67 return new ProxyInfo(host, port, null); in buildDirectProxy()
79 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() argument
81 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy()
106 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() argument
107 mHost = host; in ProxyInfo()
164 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { in ProxyInfo() argument
165 mHost = host; in ProxyInfo()
358 String host = null;
366 host = in.readString();
[all …]
DSSLCertificateSocketFactory.java493 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException { in createSocket() argument
494 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close); in createSocket()
500 verifyHostname(s, host); in createSocket()
573 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) in createSocket() argument
576 host, port, localAddr, localPort); in createSocket()
582 verifyHostname(s, host); in createSocket()
597 public Socket createSocket(String host, int port) throws IOException { in createSocket() argument
598 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(host, port); in createSocket()
604 verifyHostname(s, host); in createSocket()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestUtils.java36 public static void assertConnectionFails(SSLContext context, String host, int port) in assertConnectionFails() argument
39 Socket s = context.getSocketFactory().createSocket(host, port); in assertConnectionFails()
41 fail("Expected connection to " + host + ":" + port + " to fail."); in assertConnectionFails()
46 public static void assertConnectionSucceeds(SSLContext context, String host, int port) in assertConnectionSucceeds() argument
48 Socket s = context.getSocketFactory().createSocket(host, port); in assertConnectionSucceeds()
52 public static void assertUrlConnectionFails(SSLContext context, String host, int port) in assertUrlConnectionFails() argument
54 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionFails()
59 fail("Connection to " + host + ":" + port + " expected to fail"); in assertUrlConnectionFails()
65 public static void assertUrlConnectionSucceeds(SSLContext context, String host, int port) in assertUrlConnectionSucceeds() argument
67 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionSucceeds()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java694 Host host = mHosts.get(i); in resolveHostUidLocked() local
695 if (host.id.uid == UNKNOWN_UID && pkg.equals(host.id.packageName)) { in resolveHostUidLocked()
697 Slog.i(TAG, "host " + host.id + " resolved to uid " + uid); in resolveHostUidLocked()
699 host.id = new HostId(uid, host.id.hostId, host.id.packageName); in resolveHostUidLocked()
784 if (widget.host == null || widget.provider == null) { in dumpProtoWidget()
786 + widget.host + " widget.provider=" + widget.provider); in dumpProtoWidget()
791 widget.host.getUserId() != widget.provider.getUserId()); in dumpProtoWidget()
792 proto.write(WidgetProto.IS_HOST_STOPPED, widget.host.callbacks == null); in dumpProtoWidget()
793 proto.write(WidgetProto.HOST_PACKAGE, widget.host.id.packageName); in dumpProtoWidget()
865 Host host = lookupOrAddHostLocked(id); in startListening() local
[all …]
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java89 public void sendAccessibilityEvent(View host, int eventType) { in sendAccessibilityEvent() argument
90 delegate.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent()
94 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) { in sendAccessibilityEventUnchecked() argument
95 delegate.sendAccessibilityEventUnchecked(host, event); in sendAccessibilityEventUnchecked()
99 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() argument
100 return delegate.dispatchPopulateAccessibilityEvent(host, event); in dispatchPopulateAccessibilityEvent()
104 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument
105 delegate.onPopulateAccessibilityEvent(host, event); in onPopulateAccessibilityEvent()
109 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument
110 delegate.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockAccessibilityDelegate.java39 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument
40 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent()
51 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() argument
53 super.onPopulateAccessibilityEvent(host, event); in onPopulateAccessibilityEvent()
55 CharSequence text = ((TextView) host).getText(); in onPopulateAccessibilityEvent()
63 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
64 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java94 public final void verify(String host, SSLSocket ssl) in verify() argument
96 if(host == null) { in verify()
103 verify(host, x509); in verify()
106 public final boolean verify(String host, SSLSession session) { in verify() argument
110 verify(host, x509); in verify()
118 public final void verify(String host, X509Certificate cert) in verify() argument
122 verify(host, cns, subjectAlts); in verify()
125 public final void verify(final String host, final String[] cns, in verify() argument
147 String msg = "Certificate for <" + host + "> doesn't contain CN or DNS subjectAlt"; in verify()
156 String hostName = host.trim().toLowerCase(Locale.ENGLISH); in verify()
[all …]
DX509HostnameVerifier.java67 boolean verify(String host, SSLSession session); in verify() argument
69 void verify(String host, SSLSocket ssl) throws IOException; in verify() argument
71 void verify(String host, X509Certificate cert) throws SSLException; in verify() argument
87 void verify(String host, String[] cns, String[] subjectAlts) in verify() argument
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistLoggingHandler.java186 public void asyncNetworkEvent(String host, String[] ipAddresses, int uid) { in asyncNetworkEvent() argument
189 bundle.putString(WatchlistEventKeys.HOST, host); in asyncNetworkEvent()
388 private boolean isHostInWatchlist(String host) { in isHostInWatchlist() argument
389 if (host == null) { in isHostInWatchlist()
392 return mConfig.containsDomain(host); in isHostInWatchlist()
402 private String searchAllSubDomainsInWatchlist(String host) { in searchAllSubDomainsInWatchlist() argument
403 if (host == null) { in searchAllSubDomainsInWatchlist()
406 final String[] subDomains = getAllSubDomains(host); in searchAllSubDomainsInWatchlist()
418 static String[] getAllSubDomains(String host) { in getAllSubDomains() argument
419 if (host == null) { in getAllSubDomains()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DIntentFilterVerificationReceiver.java108 for (String host : hostList) { in onReceive()
110 if (host.startsWith("*.")) { in onReceive()
111 host = host.substring(2); in onReceive()
113 sourceAssets.add(createWebAssetString(scheme, host)); in onReceive()
114 finalHosts.add(host); in onReceive()
168 private String createWebAssetString(String scheme, String host) throws MalformedURLException { in createWebAssetString() argument
169 if (!Patterns.DOMAIN_NAME.matcher(host).matches()) { in createWebAssetString()
176 return String.format(WEB_ASSET_FORMAT, new URL(scheme, host, "").toString()); in createWebAssetString()
/frameworks/base/services/core/java/com/android/server/pm/
DIntentFilterVerificationState.java99 String host = mHosts.valueAt(i); in getHostsString() local
101 if (host.startsWith("*.")) { in getHostsString()
102 host = host.substring(2); in getHostsString()
104 sb.append(host); in getHostsString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaHierarchyManagerTest.kt104 private fun setupHost(host: MediaHost, location: Int) { in setupHost()
105 `when`(host.location).thenReturn(location) in setupHost()
106 `when`(host.currentBounds).thenReturn(Rect()) in setupHost()
107 `when`(host.hostView).thenReturn(UniqueObjectHostView(context)) in setupHost()
108 mediaHiearchyManager.register(host) in setupHost()
113 val host = mediaHiearchyManager.register(lockHost) in testHostViewSetOnRegister() constant
114 verify(lockHost).hostView = eq(host) in testHostViewSetOnRegister()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacService.java62 public String resolvePacFile(String host, String url) throws RemoteException { in resolvePacFile() argument
64 if (host == null) { in resolvePacFile()
72 for (char c : host.toCharArray()) { in resolvePacFile()
77 return mLibpac.makeProxyRequest(url, host); in resolvePacFile()
DPacNative.java38 private native String makeProxyRequestNativeLocked(String url, String host); in makeProxyRequestNativeLocked() argument
84 public synchronized String makeProxyRequest(String url, String host) { in makeProxyRequest() argument
85 String ret = makeProxyRequestNativeLocked(url, host); in makeProxyRequest()
/frameworks/opt/setupwizard/tools/gradle/
Ddist-unit-tests.gradle2 * This script plugin is used to bundle the host test (e.g. Robolectric) results and dist it in
9 * dist/host-test-reports for consumption by TradeFed.
15 // If unit tests are run as part of the build, dist the test XML reports to host-test-reports/*.zip
34 // Copy the test reports to dist/host-test-reports
37 dist.file zipTask.archivePath.path, "host-test-reports/${zipTask.archiveName}"
99 // Copy the coverage reports to dist/host-test-coverage
102 dist.file jacocoTask.reports.xml.destination.path, "host-test-coverage/${jacocoTask.name}.xml"
105 dist.file zipTask.archivePath.path, "host-test-coverage/${zipTask.archiveName}"
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileAdapterTest.java52 QSTileHost host = mock(QSTileHost.class); in testResetNotifiesHost() local
53 mTileAdapter.resetTileSpecs(host, Collections.emptyList()); in testResetNotifiesHost()
54 verify(host).changeTiles(any(), any()); in testResetNotifiesHost()
/frameworks/base/core/java/android/view/
DInputMonitor.java94 @NonNull IInputMonitorHost host) { in InputMonitor() argument
98 this.mHost = host; in InputMonitor()
149 IInputMonitorHost host = IInputMonitorHost.Stub.asInterface(in.readStrongBinder()); in InputMonitor() local
154 this.mHost = host; in InputMonitor()
/frameworks/base/services/core/java/com/android/server/connectivity/
DProxyTracker.java153 String host = Settings.Global.getString(res, GLOBAL_HTTP_PROXY_HOST); in loadGlobalProxy() local
157 if (!TextUtils.isEmpty(host) || !TextUtils.isEmpty(pacFileUrl)) { in loadGlobalProxy()
162 proxyProperties = new ProxyInfo(host, port, exclList); in loadGlobalProxy()
239 final String host; in setGlobalProxy()
250 host = mGlobalProxy.getHost(); in setGlobalProxy()
256 host = ""; in setGlobalProxy()
265 Settings.Global.putString(res, GLOBAL_HTTP_PROXY_HOST, host); in setGlobalProxy()
/frameworks/layoutlib/bridge/src/android/view/
DViewRootImpl_Accessor.java23 public static void dispatchApplyInsets(ViewRootImpl viewRoot, View host) { in dispatchApplyInsets() argument
24 viewRoot.dispatchApplyInsets(host); in dispatchApplyInsets()

1234567891011