/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
D | TunnelModeChildSessionParamsUtilsTest.java | 19 import static android.system.OsConstants.AF_INET; 108 .addInternalAddressRequest(AF_INET) in testSetConfigRequestsEncodeDecodeIsLossless() 112 .addInternalDnsServerRequest(AF_INET) in testSetConfigRequestsEncodeDecodeIsLossless() 114 .addInternalDhcpServerRequest(AF_INET) in testSetConfigRequestsEncodeDecodeIsLossless()
|
D | IkeSessionParamsUtilsTest.java | 22 import static android.system.OsConstants.AF_INET; 126 .addPcscfServerRequest(AF_INET) in testEncodeRecodeParamsWithConfigRequests()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkUtilsInternal.java | 19 import static android.system.OsConstants.AF_INET; 30 private static final int[] ADDRESS_FAMILIES = new int[] {AF_INET, AF_INET6};
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | util.cpp | 43 if (inet_pton(AF_INET, address, &(sin->sin_addr)) > 0) { in parse() 44 sin->sin_family = AF_INET; in parse()
|
D | RtpStream.cpp | 57 uint16_t *p = (ss.ss_family == AF_INET) ? in create()
|
D | AudioGroup.cpp | 214 if (remote->ss_family == AF_INET) { in set()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | UDPPusher.cpp | 38 mSocket = socket(AF_INET, SOCK_DGRAM, 0); in UDPPusher() 42 addr.sin_family = AF_INET; in UDPPusher() 49 mRemoteAddr.sin_family = AF_INET; in UDPPusher()
|
D | ARTPSession.cpp | 101 int s = socket(AF_INET, SOCK_DGRAM, 0); in MakeUDPSocket() 106 addr.sin_family = AF_INET; in MakeUDPSocket()
|
D | ARTPConnection.cpp | 140 *rtpSocket = socket(AF_INET, SOCK_DGRAM, 0); in MakePortPair() 145 *rtcpSocket = socket(AF_INET, SOCK_DGRAM, 0); in MakePortPair() 157 addr.sin_family = AF_INET; in MakePortPair() 176 *rtpSocket = socket(AF_INET, SOCK_DGRAM, 0); in MakePortPair() 193 *rtpSocket = socket(isIPv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, 0); in MakeRTPSocketPair() 198 *rtcpSocket = socket(isIPv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, 0); in MakeRTPSocketPair() 250 addr4.sin_family = AF_INET; in MakeRTPSocketPair() 288 addr4.sin_family = AF_INET; in MakeRTPSocketPair()
|
D | ARTPWriter.cpp | 89 mRTPSocket = socket(AF_INET, SOCK_DGRAM, 0); in ARTPWriter() 91 mRTCPSocket = socket(AF_INET, SOCK_DGRAM, 0); in ARTPWriter() 95 mRTPAddr.sin_family = AF_INET; in ARTPWriter() 1636 mRTPSocket = socket(mIsIPv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, 0); in makeSocketPairAndBind() 1638 mRTCPSocket = socket(mIsIPv6 ? AF_INET6 : AF_INET, SOCK_DGRAM, 0); in makeSocketPairAndBind() 1665 mLocalAddr.sin_family = AF_INET; in makeSocketPairAndBind() 1669 mRTPAddr.sin_family = AF_INET; in makeSocketPairAndBind()
|
D | ARTSPConnection.cpp | 268 mSocket = socket(AF_INET, SOCK_STREAM, 0); in onConnect() 280 remote.sin_family = AF_INET; in onConnect()
|
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | TunnelModeChildSessionParamsUtils.java | 19 import static android.system.OsConstants.AF_INET; 231 builder.addInternalAddressRequest(AF_INET); in fromPersistableBundle() 253 builder.addInternalDnsServerRequest(AF_INET); in fromPersistableBundle() 265 builder.addInternalDhcpServerRequest(AF_INET); in fromPersistableBundle()
|
D | IkeSessionParamsUtils.java | 19 import static android.system.OsConstants.AF_INET; 235 builder.addPcscfServerRequest(AF_INET); in fromPersistableBundle()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_Vpn.cpp | 126 ifr4.ifr_addr.sa_family = AF_INET; in set_addresses() 127 ifr4.ifr_netmask.sa_family = AF_INET; in set_addresses() 156 if (inet_pton(AF_INET, address, as_in_addr(&ifr4.ifr_addr)) != 1 || in set_addresses() 368 inet4 = socket(AF_INET, SOCK_DGRAM, 0); in register_android_server_connectivity_Vpn()
|
/frameworks/base/core/java/android/net/ |
D | VpnService.java | 19 import static android.system.OsConstants.AF_INET; 770 if (family == AF_INET) { in allowFamily() 775 throw new IllegalArgumentException(family + " is neither " + AF_INET + " nor " + in allowFamily()
|
/frameworks/base/services/core/jni/gnss/ |
D | AGnssCallback.cpp | 91 inet_ntop(AF_INET, &ipAddr, str, INET_ADDRSTRLEN); in agnssStatusIpV4Cb()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioDeviceTypeAddr.cpp | 42 if (inet_pton(AF_INET, address.c_str(), &ss4) > 0) { in isSenstiveAddress()
|
/frameworks/av/media/libstagefright/rtsp/fuzzer/ |
D | rtsp_connection_fuzzer.cpp | 304 mServerFd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0); in startServer() 306 serverAddress.sin_family = AF_INET; in startServer()
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTestService.cpp | 192 case AF_INET: in main()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | VpnIkev2Utils.java | 131 childOptionsBuilder.addInternalAddressRequest(OsConstants.AF_INET); in buildChildSessionParams() 133 childOptionsBuilder.addInternalDnsServerRequest(OsConstants.AF_INET); in buildChildSessionParams()
|
/frameworks/native/libs/binder/ |
D | RpcServer.cpp | 90 LOG_ALWAYS_FATAL_IF(socketAddress.addr()->sa_family != AF_INET, "expecting inet"); in setupInetServer() 573 if (addr.addr()->sa_family == AF_INET || addr.addr()->sa_family == AF_INET6) { in setupSocketServer()
|
D | RpcSession.cpp | 604 if (addr.addr()->sa_family == AF_INET || addr.addr()->sa_family == AF_INET6) { in setupOneSocketConnection()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 32 import static android.system.OsConstants.AF_INET; 276 FileDescriptor srvSocketFd = Os.socket(AF_INET, SOCK_STREAM, 0); in testCopy_SocketToFile_FileToSocket$noRavenwood() 313 FileDescriptor clientFd = Os.socket(AF_INET, SOCK_STREAM, 0); in testCopy_SocketToFile_FileToSocket$noRavenwood()
|
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/ |
D | OsConstants.java | 131 public static final int AF_INET = placeholder(); field in OsConstants
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 854 mRetransmitEndpoint.sin_family = AF_INET; in setRetransmitEndpoint()
|