Home
last modified time | relevance | path

Searched refs:AF_INET6 (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DNetworkUtilsInternal.java20 import static android.system.OsConstants.AF_INET6;
30 private static final int[] ADDRESS_FAMILIES = new int[] {AF_INET, AF_INET6};
/frameworks/opt/net/voip/src/jni/rtp/
Dutil.cpp51 if (inet_pton(AF_INET6, address, &(sin6->sin6_addr)) > 0) { in parse()
52 sin6->sin6_family = AF_INET6; in parse()
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DTunnelModeChildSessionParamsUtilsTest.java20 import static android.system.OsConstants.AF_INET6;
109 .addInternalAddressRequest(AF_INET6) in testSetConfigRequestsEncodeDecodeIsLossless()
113 .addInternalDnsServerRequest(AF_INET6) in testSetConfigRequestsEncodeDecodeIsLossless()
DIkeSessionParamsUtilsTest.java23 import static android.system.OsConstants.AF_INET6;
127 .addPcscfServerRequest(AF_INET6) in testEncodeRecodeParamsWithConfigRequests()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DTunnelModeChildSessionParamsUtils.java20 import static android.system.OsConstants.AF_INET6;
238 builder.addInternalAddressRequest(AF_INET6); in fromPersistableBundle()
259 builder.addInternalDnsServerRequest(AF_INET6); in fromPersistableBundle()
DIkeSessionParamsUtils.java20 import static android.system.OsConstants.AF_INET6;
242 builder.addPcscfServerRequest(AF_INET6); in fromPersistableBundle()
/frameworks/base/core/java/android/net/
DVpnService.java20 import static android.system.OsConstants.AF_INET6;
772 } else if (family == AF_INET6) { in allowFamily()
776 AF_INET6); in allowFamily()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp143 if (inet_pton(AF_INET6, address, &ifr6.ifr6_addr) != 1 || in set_addresses()
371 inet6 = socket(AF_INET6, SOCK_DGRAM, 0); in register_android_server_connectivity_Vpn()
/frameworks/base/services/core/jni/gnss/
DAGnssCallback.cpp59 inet_ntop(AF_INET6, agps_status.ipV6Addr.data(), str, INET6_ADDRSTRLEN); in agnssStatusIpV6Cb()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp193 *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()
244 addr6.sin6_family = AF_INET6; in MakeRTPSocketPair()
245 inet_pton(AF_INET6, localIp, &addr6.sin6_addr); in MakeRTPSocketPair()
283 addr6.sin6_family = AF_INET6; in MakeRTPSocketPair()
284 inet_pton(AF_INET6, remoteIp, &addr6.sin6_addr); in MakeRTPSocketPair()
DARTPWriter.cpp1636 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()
1650 mLocalAddr6.sin6_family = AF_INET6; in makeSocketPairAndBind()
1651 inet_pton(AF_INET6, localIp.c_str(), &mLocalAddr6.sin6_addr); in makeSocketPairAndBind()
1654 mRTPAddr6.sin6_family = AF_INET6; in makeSocketPairAndBind()
1655 inet_pton(AF_INET6, remoteIp.c_str(), &mRTPAddr6.sin6_addr); in makeSocketPairAndBind()
/frameworks/av/media/libaudiofoundation/
DAudioDeviceTypeAddr.cpp47 if (inet_pton(AF_INET6, address.c_str(), &ss6) > 0) { in isSenstiveAddress()
/frameworks/native/libs/binder/tests/
DbinderRpcTestService.cpp196 case AF_INET6: in main()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java132 childOptionsBuilder.addInternalAddressRequest(OsConstants.AF_INET6); in buildChildSessionParams()
134 childOptionsBuilder.addInternalDnsServerRequest(OsConstants.AF_INET6); in buildChildSessionParams()
/frameworks/native/libs/binder/
DRpcServer.cpp573 if (addr.addr()->sa_family == AF_INET || addr.addr()->sa_family == AF_INET6) { in setupSocketServer()
DRpcSession.cpp604 if (addr.addr()->sa_family == AF_INET || addr.addr()->sa_family == AF_INET6) { in setupOneSocketConnection()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java132 public static final int AF_INET6 = placeholder(); field in OsConstants
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp87 initConstant(env, c, "AF_INET6", AF_INET6); in OsConstants_initConstants()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt27654 field public static final int AF_INET6;