Searched refs:UnixSocketAddress (Results 1 – 6 of 6) sorted by relevance
37 public final class UnixSocketAddress extends SocketAddress { class50 private UnixSocketAddress(byte[] sun_path) { in UnixSocketAddress() method in UnixSocketAddress74 public static UnixSocketAddress createAbstract(String name) { in createAbstract()79 return new UnixSocketAddress(path); in createAbstract()94 public static UnixSocketAddress createFileSystem(String pathName) { in createFileSystem()99 return new UnixSocketAddress(path); in createFileSystem()107 public static UnixSocketAddress createUnnamed() { in createUnnamed()108 return new UnixSocketAddress(UNNAMED_PATH); in createUnnamed()137 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()
32 import android.system.UnixSocketAddress;171 checkUnixDomainSocket(UnixSocketAddress.createFileSystem(path), false); in testUnixDomainSockets_in_file_system()177 checkUnixDomainSocket(UnixSocketAddress.createAbstract("/abstract_name_unix_socket"), true); in testUnixDomainSocket_abstract_name()188 private void checkUnixDomainSocket(final UnixSocketAddress address, final boolean isAbstract) in checkUnixDomainSocket()199 UnixSocketAddress peerAddress = UnixSocketAddress.createUnnamed(); in checkUnixDomainSocket()245 UnixSocketAddress address) throws Exception { in checkSockName()246 UnixSocketAddress isa = (UnixSocketAddress) Os.getsockname(fd); in checkSockName()253 private void checkNoName(UnixSocketAddress usa) { in checkNoName()258 checkNoName((UnixSocketAddress) Os.getpeername(fd)); in checkNoPeerName()262 checkNoName((UnixSocketAddress) Os.getsockname(fd)); in checkNoSockName()[all …]
42 import android.system.UnixSocketAddress;185 SocketAddress address = UnixSocketAddress.createAbstract("test_accept_networkPolicy"); in test_accept_networkPolicy()
104 public final class UnixSocketAddress extends java.net.SocketAddress {105 method public static android.system.UnixSocketAddress createFileSystem(String);
169 "luni/src/main/java/android/system/UnixSocketAddress.java",