Home
last modified time | relevance | path

Searched refs:UnixSocketAddress (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/main/java/android/system/
DUnixSocketAddress.java28 public final class UnixSocketAddress extends SocketAddress { class
40 private UnixSocketAddress(byte[] sun_path) { in UnixSocketAddress() method in UnixSocketAddress
59 public static UnixSocketAddress createAbstract(String name) { in createAbstract()
64 return new UnixSocketAddress(path); in createAbstract()
70 public static UnixSocketAddress createFileSystem(String pathName) { in createFileSystem()
75 return new UnixSocketAddress(path); in createFileSystem()
81 public static UnixSocketAddress createUnnamed() { in createUnnamed()
82 return new UnixSocketAddress(UNNAMED_PATH); in createUnnamed()
104 UnixSocketAddress that = (UnixSocketAddress) o; in equals()
/libcore/luni/src/test/java/android/system/
DUnixSocketAddressTest.java28 UnixSocketAddress sa = UnixSocketAddress.createFileSystem(path); in testFilesystemSunPath()
38 UnixSocketAddress sa = UnixSocketAddress.createUnnamed(); in testUnnamedSunPath()
44 UnixSocketAddress sa = UnixSocketAddress.createAbstract(abstractName); in testAbstractSunPath()
/libcore/luni/src/test/java/libcore/io/
DOsTest.java25 import android.system.UnixSocketAddress;
80 checkUnixDomainSocket(UnixSocketAddress.createFileSystem(path), false); in testUnixDomainSockets_in_file_system()
85 checkUnixDomainSocket(UnixSocketAddress.createAbstract("/abstract_name_unix_socket"), true); in testUnixDomainSocket_abstract_name()
95 private void checkUnixDomainSocket(final UnixSocketAddress address, final boolean isAbstract) in checkUnixDomainSocket()
106 UnixSocketAddress peerAddress = UnixSocketAddress.createUnnamed(); in checkUnixDomainSocket()
152 UnixSocketAddress address) throws Exception { in checkSockName()
153 UnixSocketAddress isa = (UnixSocketAddress) Libcore.os.getsockname(fd); in checkSockName()
160 private void checkNoName(UnixSocketAddress usa) { in checkNoName()
165 checkNoName((UnixSocketAddress) Libcore.os.getpeername(fd)); in checkNoPeerName()
169 checkNoName((UnixSocketAddress) Libcore.os.getsockname(fd)); in checkNoSockName()
/libcore/
Dnon_openjdk_java_files.mk251 luni/src/main/java/android/system/UnixSocketAddress.java \