HomeSort by relevance Sort by last modified time
    Searched refs:hostName (Results 1 - 25 of 260) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
OkHostnameVerifier.java 95 * Returns true if {@code certificate} matches {@code hostName}.
97 private boolean verifyHostName(String hostName, X509Certificate certificate) {
98 hostName = hostName.toLowerCase(Locale.US);
103 if (verifyHostName(hostName, altNames.get(i))) {
113 return verifyHostName(hostName, cn);
159 * Returns {@code true} iff {@code hostName} matches the domain name {@code pattern}.
161 * @param hostName lower-case host name.
165 private boolean verifyHostName(String hostName, String pattern) {
168 if ((hostName == null) || (hostName.length() == 0) || (hostName.startsWith(".")
    [all...]
  /external/jcommander/src/test/java/com/beust/jcommander/args/
ArgsI18N1.java 26 String hostName;
ArgsI18N2.java 29 String hostName;
ArgsI18N2New.java 30 String hostName;
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SNIHostNameTest.java 35 SNIHostName hostName = new SNIHostName(idnEncoded);
36 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName());
37 assertEquals(StandardConstants.SNI_HOST_NAME, hostName.getType());
38 assertEquals(Arrays.toString(idnEncoded), Arrays.toString(hostName.getEncoded()));
  /frameworks/base/core/java/android/app/
IEphemeralResolver.aidl 26 void getEphemeralIntentFilterList(IRemoteCallback callback, String hostName,
IInstantAppResolver.aidl 27 String token, String hostName, IRemoteCallback callback);
EphemeralResolverService.java 77 * @param hostName The name of the host to get intent filters for.
79 public EphemeralResolveInfo onGetEphemeralIntentFilter(String hostName) {
106 String hostName, InstantAppResolutionCallback callback) {
111 final EphemeralResolveInfo response = onGetEphemeralIntentFilter(hostName);
InstantAppResolverService.java 108 int digestPrefix[], String token, String hostName, IRemoteCallback callback) {
116 args.arg4 = hostName;
155 void _onGetInstantAppIntentFilter(int digestPrefix[], String token, String hostName,
193 final String hostName = (String) args.arg4;
195 digestPrefix, token, hostName,
  /libcore/ojluni/src/main/java/java/net/
Inet4Address.java 109 holder().hostName = null;
114 Inet4Address(String hostName, byte addr[]) {
115 holder().hostName = hostName;
127 Inet4Address(String hostName, int address) {
128 holder().hostName = hostName;
144 inet.holder().hostName = holder().getHostName();
InetAddress.java 187 * Reserve the original application specified hostname.
189 * The original hostname is useful for domain-based endpoint
195 * Oracle JSSE provider is using this original hostname, via
204 InetAddressHolder(String hostName, int address, int family) {
205 this.originalHostName = hostName;
206 this.hostName = hostName;
211 void init(String hostName, int family) {
212 this.originalHostName = hostName;
213 this.hostName = hostName
    [all...]
Inet6Address.java 391 Inet6Address(String hostName, byte addr[], int scope_id) {
392 holder.init(hostName, AF_INET6);
397 Inet6Address(String hostName, byte addr[]) {
400 initif (hostName, addr, null);
404 Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException {
406 initif (hostName, addr, nif);
409 Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException {
411 initstr (hostName, addr, ifname);
484 private void initstr(String hostName, byte addr[], String ifname)
492 initif (hostName, addr, nif)
    [all...]
  /frameworks/base/core/java/android/content/pm/
InstantAppResolveInfo.java 67 public InstantAppResolveInfo(@NonNull String hostName, @Nullable String packageName,
69 this(new InstantAppDigest(hostName), packageName, filters, -1 /*versionCode*/);
144 public InstantAppDigest(@NonNull String hostName) {
145 this(hostName, -1 /*maxDigests*/);
149 public InstantAppDigest(@NonNull String hostName, int maxDigests) {
150 if (hostName == null) {
153 mDigestBytes = generateDigest(hostName.toLowerCase(Locale.ENGLISH), maxDigests);
165 private static byte[][] generateDigest(String hostName, int maxDigests) {
170 final byte[] hostBytes = hostName.getBytes();
173 int prevDot = hostName.lastIndexOf('.')
    [all...]
EphemeralResolveInfo.java 77 public EphemeralResolveInfo(@NonNull String hostName, @Nullable String packageName,
79 this(new EphemeralDigest(hostName), packageName, filters);
175 public EphemeralDigest(@NonNull String hostName) {
176 this(hostName, -1 /*maxDigests*/);
180 public EphemeralDigest(@NonNull String hostName, int maxDigests) {
181 mInstantAppDigest = new InstantAppDigest(hostName, maxDigests);
  /external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
SNIHostNameTest.java 41 SNIHostName hostName = new SNIHostName(idnEncoded);
42 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName());
43 assertEquals(StandardConstants.SNI_HOST_NAME, hostName.getType());
44 assertEquals(Arrays.toString(idnEncoded), Arrays.toString(hostName.getEncoded()));
  /external/ltp/testcases/network/sockets/
ltpClient.c 67 int ltp_run_ping_tests(char *hostName);
68 int ltp_run_traceroute_tests(char *hostName);
72 int network_listener(char *hostname, int pid);
73 void ltp_traceroute(struct sockaddr_in *rawTraceAddr, char *hostName, int pid);
96 char hostName[MAX_MSG_LEN],
106 ("usage :<server-hostname> <trace-hostName> <data1> ... <dataN> \n");
111 strncpy(hostName, argv[1], MAX_MSG_LEN);
115 hostEntry = gethostbyname(hostName);
118 printf("%s: unknown host passed'%s' \n", progName, hostName);
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
SecurityRequiredDialogFragment.java 43 private final static String ARGS_HOST_NAME = "SecurityRequiredDialog.HostName";
57 public static SecurityRequiredDialogFragment newInstance(String hostName) {
60 arguments.putString(ARGS_HOST_NAME, hostName);
69 final String hostName = arguments.getString(ARGS_HOST_NAME);
77 R.string.account_setup_security_policies_required_fmt, hostName))
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
SocketTransportWrapper.java 58 * parsed as "hostname:port" or "port", if it contains
64 String hostName = null;
73 hostName = address.substring(0, i);
83 if (hostName != null) {
84 hostAddr = InetAddress.getByName(hostName);
92 if (hostName != null) {
99 // is to use the address instead of the hostname.
151 String hostName = null;
159 hostName = address.substring(0, i);
175 transportSocket = new Socket(hostName, port)
    [all...]
  /external/nist-sip/java/gov/nist/core/
Host.java 43 * Stores hostname.
68 protected static final int HOSTNAME = 1;
72 /** hostName field
74 protected String hostname; field in class:Host
86 addressType = HOSTNAME;
94 public Host(String hostName) throws IllegalArgumentException {
95 if (hostName == null)
101 setHost(hostName, IPV4ADDRESS);
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) {
125 buffer.append('[').append(hostname).append(']')
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
InetAddressThreadTest.java 86 String hostName = ia.getHostName();
91 // may not include a domain suffix on the hostname
92 if (!hostName.startsWith(correctName)) {
97 + hostName
  /external/nist-sip/java/gov/nist/javax/sip/stack/
HopImpl.java 70 * @param hostName hostname
74 public HopImpl(String hostName, int portNumber, String trans) {
75 host = hostName;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
FramedConnection.java 85 private final String hostName;
152 hostName = builder.hostName;
159 Util.threadFactory(String.format("OkHttp %s Push Observer", hostName), true));
349 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) {
364 executor.execute(new NamedRunnable("OkHttp Window Update %s stream %d", hostName, streamId) {
397 hostName, payload1, payload2) {
537 private String hostName;
559 Socket socket, String hostName, BufferedSource source, BufferedSink sink) {
561 this.hostName = hostName
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
ClientSessionContext.java 55 SslSessionWrapper getCachedSession(String hostName, int port, SSLParametersImpl sslParameters) {
56 if (hostName == null) {
60 SslSessionWrapper session = getSession(hostName, port);
  /hardware/qcom/gps/msm8998/android/
Gnss.cpp 72 if (mPendingConfig.assistanceServer.hostName != nullptr) {
73 free((void*)mPendingConfig.assistanceServer.hostName);
160 if (mPendingConfig.assistanceServer.hostName != nullptr) {
161 free((void*)mPendingConfig.assistanceServer.hostName);
162 mPendingConfig.assistanceServer.hostName =
163 strdup(gnssConfig.assistanceServer.hostName);
  /hardware/qcom/gps/sdm845/android/
Gnss.cpp 72 if (mPendingConfig.assistanceServer.hostName != nullptr) {
73 free((void*)mPendingConfig.assistanceServer.hostName);
160 if (mPendingConfig.assistanceServer.hostName != nullptr) {
161 free((void*)mPendingConfig.assistanceServer.hostName);
162 mPendingConfig.assistanceServer.hostName =
163 strdup(gnssConfig.assistanceServer.hostName);

Completed in 446 milliseconds

1 2 3 4 5 6 7 8 91011