Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/android/system/
DUnixSocketAddress.java29 public final class UnixSocketAddress extends SocketAddress { class
42 private UnixSocketAddress(byte[] sun_path) { in UnixSocketAddress() method in UnixSocketAddress
64 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()
/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.java29 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 …]
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt109 public final class UnixSocketAddress extends java.net.SocketAddress {
110 method public static android.system.UnixSocketAddress createFileSystem(String);
/libcore/
Dnon_openjdk_java_files.bp156 "luni/src/main/java/android/system/UnixSocketAddress.java",