Searched refs:UnixSocketAddress (Results 1 – 4 of 4) sorted by relevance
28 public final class UnixSocketAddress extends SocketAddress { class40 private UnixSocketAddress(byte[] sun_path) { in UnixSocketAddress() method in UnixSocketAddress59 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()
28 UnixSocketAddress sa = UnixSocketAddress.createFileSystem(path); in testFilesystemSunPath()38 UnixSocketAddress sa = UnixSocketAddress.createUnnamed(); in testUnnamedSunPath()44 UnixSocketAddress sa = UnixSocketAddress.createAbstract(abstractName); in testAbstractSunPath()
25 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()
251 luni/src/main/java/android/system/UnixSocketAddress.java \