Searched refs:UnixSocketAddress (Results 1 – 5 of 5) sorted by relevance
29 public final class UnixSocketAddress extends SocketAddress { class42 private UnixSocketAddress(byte[] sun_path) { in UnixSocketAddress() method in UnixSocketAddress64 public static UnixSocketAddress createAbstract(String name) { in createAbstract()69 return new UnixSocketAddress(path); in createAbstract()79 public static UnixSocketAddress createFileSystem(String pathName) { in createFileSystem()84 return new UnixSocketAddress(path); in createFileSystem()90 public static UnixSocketAddress createUnnamed() { in createUnnamed()91 return new UnixSocketAddress(UNNAMED_PATH); in createUnnamed()113 UnixSocketAddress that = (UnixSocketAddress) o; in equals()
21 import android.system.UnixSocketAddress;30 UnixSocketAddress sa = UnixSocketAddress.createFileSystem(path); in testFilesystemSunPath()40 UnixSocketAddress sa = UnixSocketAddress.createUnnamed(); in testUnnamedSunPath()46 UnixSocketAddress sa = UnixSocketAddress.createAbstract(abstractName); in testAbstractSunPath()
29 import android.system.UnixSocketAddress;132 checkUnixDomainSocket(UnixSocketAddress.createFileSystem(path), false); in testUnixDomainSockets_in_file_system()137 checkUnixDomainSocket(UnixSocketAddress.createAbstract("/abstract_name_unix_socket"), true); in testUnixDomainSocket_abstract_name()147 private void checkUnixDomainSocket(final UnixSocketAddress address, final boolean isAbstract) in checkUnixDomainSocket()158 UnixSocketAddress peerAddress = UnixSocketAddress.createUnnamed(); in checkUnixDomainSocket()204 UnixSocketAddress address) throws Exception { in checkSockName()205 UnixSocketAddress isa = (UnixSocketAddress) Os.getsockname(fd); in checkSockName()212 private void checkNoName(UnixSocketAddress usa) { in checkNoName()217 checkNoName((UnixSocketAddress) Os.getpeername(fd)); in checkNoPeerName()221 checkNoName((UnixSocketAddress) Os.getsockname(fd)); in checkNoSockName()[all …]
109 public final class UnixSocketAddress extends java.net.SocketAddress {110 method public static android.system.UnixSocketAddress createFileSystem(String);
156 "luni/src/main/java/android/system/UnixSocketAddress.java",