Searched defs:domain (Results 1 - 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
H A DPolicySpi.java50 * @param domain the ProtectionDomain to check.
53 * specified domain.
55 * @return boolean true if the permission is granted to the domain.
58 (ProtectionDomain domain, Permission permission);
104 * @param domain the ProtectionDomain to which the returned
115 (ProtectionDomain domain) {
57 engineImplies(ProtectionDomain domain, Permission permission) argument
114 engineGetPermissions(ProtectionDomain domain) argument
H A DPolicy.java88 public PermissionCollection getPermissions(ProtectionDomain domain) { argument
92 public boolean implies(ProtectionDomain domain, Permission permission) { argument
/libcore/ojluni/src/main/java/java/net/
H A DInMemoryCookieStore.java90 * 1) given uri domain-matches with, or, associated with
213 * domain contains a dot ('.').
214 * I.E.: RFC 2965 section 3.3.2 says that if host is x.y.domain.com
215 * and the cookie domain is .domain.com, then it should be rejected.
221 private boolean netscapeDomainMatches(String domain, String host) argument
223 if (domain == null || host == null) {
227 // if there's no embedded dot in domain and domain is not .local
228 boolean isLocalDomain = ".local".equalsIgnoreCase(domain);
[all...]
H A DHttpCookie.java74 RESERVED_NAMES.add("domain"); // Netscape RFC 2109 RFC 2965 RFC 6265
101 private String domain; // Domain=VALUE ... domain that sees cookie field in class:HttpCookie
427 * Specifies the domain within which this cookie should be presented.
429 * <p>The form of the domain name is specified by RFC 2965. A domain
437 * @param pattern a <code>String</code> containing the domain name
447 domain = pattern.toLowerCase();
449 domain = pattern;
457 * Returns the domain nam
791 domainMatches(String domain, String host) argument
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java287 @Override public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException { argument
288 return tagSocket(os.socket(domain, type, protocol));
291 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { argument
292 os.socketpair(domain, type, protocol, fd1, fd2);
H A DForwardingOs.java161 public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException { return os.socket(domain, type, protocol); } argument
162 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } argument
H A DOs.java154 public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException; argument
155 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
H A DPosix.java238 public native FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException; argument
239 public native void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
/libcore/ojluni/src/main/native/
H A DPlainSocketImpl.c148 int domain = ipv6_available() ? AF_INET6 : AF_INET; local
150 int domain = AF_INET; local
166 if ((fd = JVM_Socket(domain, type, 0)) == JVM_IO_ERR) {
178 if (domain == AF_INET6) {
H A DNet.c158 int domain = (ipv6_available() && preferIPv6) ? AF_INET6 : AF_INET; local
160 int domain = AF_INET; local
163 fd = socket(domain, type, 0);
171 if (domain == AF_INET6) {
199 if (domain == AF_INET6 && type == SOCK_DGRAM) {
H A DPlainDatagramSocketImpl.c969 int domain = ipv6_available() ? AF_INET6 : AF_INET; local
971 int domain = AF_INET; local
980 if ((fd = JVM_Socket(domain, SOCK_DGRAM, 0)) == JVM_IO_ERR) {
989 if (domain == AF_INET6) {
1025 if (domain == AF_INET6) {
/libcore/luni/src/test/java/libcore/java/net/
H A DAbstractCookiesTest.java100 + "domain=" + server.getCookieDomain() + "; "
243 cookieHeaders("a=android;domain=google.com"));
251 cookieHeaders("a=android;domain=.android.com"));
475 * fully-qualified domain names. 2965 says two equal strings always match. We're testing for
643 // the host/domain but not handling other cookie rules: it ignores the scheme (e.g. "secure"
662 // Deliberately not setting the cookie domain or path.
665 // CookieStoreImpl must ignore the port during retrieval when domain is not set.
695 // HttpCookie.equals() is implemented so that it only checks name, path and domain
837 * Creates a well-formed cookie. The behavior when domain is unset varies between
841 private static HttpCookie createCookie(String name, String value, String domain, Strin argument
[all...]
/libcore/luni/src/main/java/android/system/
H A DOs.java491 public static FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException { return Libcore.os.socket(domain, type, protocol); } argument
496 public static void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore.os.socketpair(domain, type, protocol, fd1, fd2); } argument
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DHttpURLConnection.java306 String domain; /* The list of authentication domains */ field in class:HttpURLConnection
1419 // cache auth info on success, domain header not relevant.
1497 (domain == null)) {
1515 // what we cache is based on the domain list in the request
1518 StringTokenizer tok = new StringTokenizer (domain," ");
1858 // cache auth info on success, domain header not relevant.
2130 domain = p.findValue ("domain");
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp1829 static jobject Posix_socket(JNIEnv* env, jobject, jint domain, jint type, jint protocol) { argument
1830 if (domain == AF_PACKET) {
1833 int fd = throwIfMinusOne(env, "socket", TEMP_FAILURE_RETRY(socket(domain, type, protocol)));
1837 static void Posix_socketpair(JNIEnv* env, jobject, jint domain, jint type, jint protocol, jobject javaFd1, jobject javaFd2) { argument
1839 int rc = throwIfMinusOne(env, "socketpair", TEMP_FAILURE_RETRY(socketpair(domain, type, protocol, fds)));

Completed in 349 milliseconds