Home
last modified time | relevance | path

Searched refs:SocketUtils (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/util/
DSocketUtilsTest.kt52 val nlAddress = SocketUtils.makeNetlinkSocketAddress(TEST_PORT, RTMGRP_NEIGH) in testMakeNetlinkSocketAddress()
63 val pkAddress = SocketUtils.makePacketSocketAddress(ETH_P_ALL, TEST_INDEX) in testMakePacketSocketAddress_Q()
66 val pkAddress2 = SocketUtils.makePacketSocketAddress(TEST_INDEX, ByteArray(6) { FF_BYTE }) in testMakePacketSocketAddress_Q()
72 val pkAddress = SocketUtils.makePacketSocketAddress( in testMakePacketSocketAddress()
80 SocketUtils.closeSocket(null) in testCloseSocket()
84 SocketUtils.closeSocket(fd) in testCloseSocket()
87 SocketUtils.closeSocket(fd) in testCloseSocket()
/frameworks/base/core/java/android/net/util/
DSocketUtils.java44 public final class SocketUtils { class
122 private SocketUtils() {} in SocketUtils() method in SocketUtils
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java33 import android.net.util.SocketUtils;
185 final SocketAddress sockAddr = SocketUtils.makeNetlinkSocketAddress(0, groups); in createConntrackSocket()
191 SocketUtils.closeSocket(fd); in createConntrackSocket()
202 SocketUtils.closeSocket(fd); in createConntrackSocket()
/frameworks/base/packages/Tethering/src/android/net/ip/
DRouterAdvertisementDaemon.java31 import android.net.util.SocketUtils;
612 SocketUtils.bindSocketToInterface(mSocket, mInterface.name);
627 SocketUtils.closeSocket(mSocket);
/frameworks/libs/net/common/device/android/net/util/
DFdEventsReader.java88 SocketUtils.closeSocket(fd); in closeFd()
/frameworks/base/api/
Dtest-lint-baseline.txt2286 NoClone: android.net.util.SocketUtils#bindSocketToInterface(java.io.FileDescriptor, String) paramet…
2288 NoClone: android.net.util.SocketUtils#closeSocket(java.io.FileDescriptor) parameter #0:
Dtest-current.txt1883 public final class SocketUtils {
Dsystem-current.txt5111 public final class SocketUtils {
/frameworks/base/non-updatable-api/
Dsystem-current.txt5017 public final class SocketUtils {