Home
last modified time | relevance | path

Searched refs:hostName (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DInstantAppResolveInfo.java99 public InstantAppResolveInfo(@NonNull String hostName, @Nullable String packageName, in InstantAppResolveInfo() argument
101 this(new InstantAppDigest(hostName), packageName, filters, -1 /*versionCode*/, in InstantAppResolveInfo()
260 public InstantAppDigest(@NonNull String hostName) { in InstantAppDigest() argument
261 this(hostName, -1 /*maxDigests*/); in InstantAppDigest()
265 public InstantAppDigest(@NonNull String hostName, int maxDigests) { in InstantAppDigest() argument
266 if (hostName == null) { in InstantAppDigest()
269 mDigestBytes = generateDigest(hostName.toLowerCase(Locale.ENGLISH), maxDigests); in InstantAppDigest()
286 private static byte[][] generateDigest(String hostName, int maxDigests) { in generateDigest() argument
291 final byte[] hostBytes = hostName.getBytes(); in generateDigest()
294 int prevDot = hostName.lastIndexOf('.'); in generateDigest()
[all …]
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAbstractVerifier.java156 String hostName = host.trim().toLowerCase(Locale.ENGLISH); in verify() local
179 match = hostName.endsWith(cn.substring(1)); in verify()
183 match = countDots(hostName) == countDots(cn); in verify()
186 match = hostName.equals(cn); in verify()
/frameworks/base/core/java/android/app/
DIEphemeralResolver.aidl26 void getEphemeralIntentFilterList(IRemoteCallback callback, String hostName, in getEphemeralIntentFilterList() argument
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DConferenceParticipant.java173 String hostName = numberParts[1]; in getParticipantPresentation() local
177 if (hostName.equals(ANONYMOUS_INVALID_HOST)) { in getParticipantPresentation()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationPersistence.java308 String hostName = child.getString(ATTR_NAME); in readEnabledHosts() local
309 if (!TextUtils.isEmpty(hostName)) { in readEnabledHosts()
310 enabledHosts.add(hostName); in readEnabledHosts()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java452 public void setHostname(Socket socket, String hostName) { in setHostname() argument
453 castToOpenSSLSocket(socket).setHostname(hostName); in setHostname()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1673 final String hostName = inetAddressString.substring(0, inetAddressString.indexOf("/")); in inetAddressToString() local
1675 if (TextUtils.isEmpty(hostName) && TextUtils.isEmpty(address)) { in inetAddressToString()
1678 return TextUtils.isEmpty(hostName) ? address : hostName; in inetAddressToString()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java5492 String hostName = sa.getHostName(); in getProxyParameters() local
5503 final ProxyInfo info = ProxyInfo.buildDirectProxy(hostName, port, trimmedExclList); in getProxyParameters()
5506 if (port == 0 || TextUtils.isEmpty(hostName) || !info.isValid()) { in getProxyParameters()
5510 return new Pair<>(hostName + ":" + port, TextUtils.join(",", trimmedExclList)); in getProxyParameters()