/frameworks/native/services/inputflinger/host/ |
D | InputDriver.cpp | 294 ::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 …]
|
D | InputDriver.h | 137 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/rs/ |
D | update-prebuilts.py | 61 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 …]
|
D | build_rs.py | 92 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/com/android/internal/widget/ |
D | RecyclerViewAccessibilityDelegate.java | 43 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/base/core/java/android/net/ |
D | Proxy.java | 112 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 …]
|
D | Network.java | 143 public InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName() argument 144 return InetAddress.getAllByNameOnNet(host, getNetIdForResolv()); in getAllByName() 156 public InetAddress getByName(String host) throws UnknownHostException { in getByName() argument 157 return InetAddress.getByNameOnNet(host, getNetIdForResolv()); in getByName() 202 private Socket connectToHost(String host, int port, SocketAddress localAddress) in connectToHost() argument 205 InetAddress[] hostAddresses = getAllByName(host); in connectToHost() 223 throw new UnknownHostException(host); in connectToHost() 227 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument 229 return connectToHost(host, port, new InetSocketAddress(localHost, localPort)); in createSocket() 248 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() argument [all …]
|
D | ProxyInfo.java | 66 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() 152 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { in ProxyInfo() argument 153 mHost = host; in ProxyInfo() 346 String host = null; 354 host = in.readString(); [all …]
|
D | SSLCertificateSocketFactory.java | 493 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/ |
D | TestUtils.java | 36 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/ |
D | AppWidgetServiceImpl.java | 682 Host host = mHosts.get(i); in resolveHostUidLocked() local 683 if (host.id.uid == UNKNOWN_UID && pkg.equals(host.id.packageName)) { in resolveHostUidLocked() 685 Slog.i(TAG, "host " + host.id + " resolved to uid " + uid); in resolveHostUidLocked() 687 host.id = new HostId(uid, host.id.hostId, host.id.packageName); in resolveHostUidLocked() 772 if (widget.host == null || widget.provider == null) { in dumpProtoWidget() 774 + widget.host + " widget.provider=" + widget.provider); in dumpProtoWidget() 779 widget.host.getUserId() != widget.provider.getUserId()); in dumpProtoWidget() 780 proto.write(WidgetProto.IS_HOST_STOPPED, widget.host.callbacks == null); in dumpProtoWidget() 781 proto.write(WidgetProto.HOST_PACKAGE, widget.host.id.packageName); in dumpProtoWidget() 851 Host host = lookupOrAddHostLocked(id); in startListening() local [all …]
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 89 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/systemui/doze/ |
D | DozeFactory.java | 54 DozeHost host = getHost(dozeService); in assembleMachine() local 62 wrappedService = new DozeBrightnessHostForwarder(wrappedService, host); in assembleMachine() 72 createDozeTriggers(context, sensorManager, host, alarmManager, config, params, in assembleMachine() 74 createDozeUi(context, host, wakeLock, machine, handler, alarmManager, params), in assembleMachine() 76 createDozeScreenBrightness(context, wrappedService, sensorManager, host, params, in assembleMachine() 79 new DozeDockHandler(context, machine, host, config, handler, dockManager), in assembleMachine() 87 DozeMachine.Service service, SensorManager sensorManager, DozeHost host, in createDozeScreenBrightness() argument 91 return new DozeScreenBrightness(context, service, sensorManager, sensor, host, handler, in createDozeScreenBrightness() 96 DozeHost host, AlarmManager alarmManager, AmbientDisplayConfiguration config, in createDozeTriggers() argument 100 return new DozeTriggers(context, machine, host, alarmManager, config, params, in createDozeTriggers() [all …]
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AbstractVerifier.java | 94 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 …]
|
D | X509HostnameVerifier.java | 67 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
|
D | SSLSocketFactory.java | 302 final String host, in connectSocket() argument 309 if (host == null) { in connectSocket() 335 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port); in connectSocket() 337 remoteAddress = new InetSocketAddress(host, port); in connectSocket() 352 hostnameVerifier.verify(host, sslsock); in connectSocket() 402 final String host, in createSocket() argument 408 host, in createSocket() 420 hostnameVerifier.verify(host, sslSocket); in createSocket()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegate.java | 39 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/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 184 public void asyncNetworkEvent(String host, String[] ipAddresses, int uid) { in asyncNetworkEvent() argument 187 bundle.putString(WatchlistEventKeys.HOST, host); in asyncNetworkEvent() 382 private boolean isHostInWatchlist(String host) { in isHostInWatchlist() argument 383 if (host == null) { in isHostInWatchlist() 386 return mConfig.containsDomain(host); in isHostInWatchlist() 396 private String searchAllSubDomainsInWatchlist(String host) { in searchAllSubDomainsInWatchlist() argument 397 if (host == null) { in searchAllSubDomainsInWatchlist() 400 final String[] subDomains = getAllSubDomains(host); in searchAllSubDomainsInWatchlist() 412 static String[] getAllSubDomains(String host) { in getAllSubDomains() argument 413 if (host == null) { in getAllSubDomains() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | IntentFilterVerificationReceiver.java | 108 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/ |
D | IntentFilterVerificationState.java | 99 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/services/PacProcessor/src/com/android/pacprocessor/ |
D | PacService.java | 57 public String resolvePacFile(String host, String url) throws RemoteException { in resolvePacFile() argument 59 if (host == null) { in resolvePacFile() 67 for (char c : host.toCharArray()) { in resolvePacFile() 72 return mPacNative.makeProxyRequest(url, host); in resolvePacFile()
|
D | PacNative.java | 38 private native String makeProxyRequestNativeLocked(String url, String host); in makeProxyRequestNativeLocked() argument 80 public synchronized String makeProxyRequest(String url, String host) { in makeProxyRequest() argument 81 String ret = makeProxyRequestNativeLocked(url, host); in makeProxyRequest()
|
/frameworks/opt/setupwizard/tools/gradle/ |
D | dist-unit-tests.gradle | 2 * 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/ |
D | TileAdapterTest.java | 50 QSTileHost host = mock(QSTileHost.class); in testResetNotifiesHost() local 51 mTileAdapter.resetTileSpecs(host, Collections.emptyList()); in testResetNotifiesHost() 52 verify(host).changeTiles(any(), any()); in testResetNotifiesHost()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | ProxyTracker.java | 159 String host = Settings.Global.getString(res, GLOBAL_HTTP_PROXY_HOST); in loadGlobalProxy() local 163 if (!TextUtils.isEmpty(host) || !TextUtils.isEmpty(pacFileUrl)) { in loadGlobalProxy() 168 proxyProperties = new ProxyInfo(host, port, exclList); in loadGlobalProxy() 251 final String host; in setGlobalProxy() 262 host = mGlobalProxy.getHost(); in setGlobalProxy() 268 host = ""; in setGlobalProxy() 277 Settings.Global.putString(res, GLOBAL_HTTP_PROXY_HOST, host); in setGlobalProxy()
|