Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/android/system/
DUnixSocketAddress.java37 public final class UnixSocketAddress extends SocketAddress { class
50 private UnixSocketAddress(byte[] sun_path) { in UnixSocketAddress() method in UnixSocketAddress
74 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()
/libcore/luni/src/test/java/libcore/android/system/
DUnixSocketAddressTest.java21 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()
DOsTest.java32 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 …]
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java42 import android.system.UnixSocketAddress;
185 SocketAddress address = UnixSocketAddress.createAbstract("test_accept_networkPolicy"); in test_accept_networkPolicy()
/libcore/api/
Dmodule-lib-current.txt104 public final class UnixSocketAddress extends java.net.SocketAddress {
105 method public static android.system.UnixSocketAddress createFileSystem(String);
/libcore/
Dnon_openjdk_java_files.bp169 "luni/src/main/java/android/system/UnixSocketAddress.java",