/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataCallResponseTest.java | 26 import android.net.NetworkUtils; 41 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testParcel() 42 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testParcel() 43 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testParcel() 44 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testParcel() 59 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testEquals() 60 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testEquals() 61 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testEquals() 62 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testEquals() 67 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testEquals() [all …]
|
D | DataConnectionTest.java | 49 import android.net.NetworkUtils; 425 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testModemSuggestRetry() 426 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testModemSuggestRetry() 427 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testModemSuggestRetry() 428 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testModemSuggestRetry() 435 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testModemSuggestRetry() 436 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testModemSuggestRetry() 437 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testModemSuggestRetry() 438 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testModemSuggestRetry() 444 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testModemSuggestRetry() [all …]
|
D | DcControllerTest.java | 36 import android.net.NetworkUtils; 135 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testDataDormant() 136 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testDataDormant() 137 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testDataDormant() 138 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testDataDormant()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkUtilsTest.java | 36 assertEquals(0, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 39 assertEquals(1l << 32, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 45 assertEquals(1l << 32, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 51 assertEquals(1l << 24, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 55 assertEquals((1l << 24) + (1 << 7), NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 62 assertEquals(1l, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 71 assertEquals(7l, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 77 assertEquals(7l - 4 + 4 + 16 + 65536, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount() 84 assertEquals(BigInteger.ZERO, NetworkUtils.routedIPv6AddressCount(set)); in testRoutedIPv6AddressCount() 87 assertEquals(BigInteger.ONE.shiftLeft(128), NetworkUtils.routedIPv6AddressCount(set)); in testRoutedIPv6AddressCount() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | NetworkUtilsForAppProc.cpp | 27 void NetworkUtils::RegisterSocketUserTag(int, uid_t, uint32_t) { in RegisterSocketUserTag() 32 void NetworkUtils::UnRegisterSocketUserTag(int) { in UnRegisterSocketUserTag() 37 void NetworkUtils::RegisterSocketUserMark(int, uid_t) { in RegisterSocketUserMark() 42 void NetworkUtils::UnRegisterSocketUserMark(int) { in UnRegisterSocketUserMark()
|
D | NetworkUtils.cpp | 28 void NetworkUtils::RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag) { in RegisterSocketUserTag() 36 void NetworkUtils::UnRegisterSocketUserTag(int sockfd) { in UnRegisterSocketUserTag() 44 void NetworkUtils::RegisterSocketUserMark(int sockfd, uid_t uid) { in RegisterSocketUserMark() 49 void NetworkUtils::UnRegisterSocketUserMark(int sockfd) { in UnRegisterSocketUserMark()
|
D | ARTSPConnection.cpp | 63 NetworkUtils::UnRegisterSocketUserTag(mSocket); in ~ARTSPConnection() 64 NetworkUtils::UnRegisterSocketUserMark(mSocket); in ~ARTSPConnection() 218 NetworkUtils::UnRegisterSocketUserTag(mSocket); in onConnect() 219 NetworkUtils::UnRegisterSocketUserMark(mSocket); in onConnect() 270 NetworkUtils::RegisterSocketUserTag(mSocket, mUID, in onConnect() 272 NetworkUtils::RegisterSocketUserMark(mSocket, mUID); in onConnect() 301 NetworkUtils::UnRegisterSocketUserTag(mSocket); in onConnect() 302 NetworkUtils::UnRegisterSocketUserMark(mSocket); in onConnect() 319 NetworkUtils::UnRegisterSocketUserTag(mSocket); in performDisconnect() 320 NetworkUtils::UnRegisterSocketUserMark(mSocket); in performDisconnect() [all …]
|
D | NetworkUtils.h | 22 struct NetworkUtils { struct
|
D | MyHandler.h | 762 NetworkUtils::UnRegisterSocketUserTag(track->mRTPSocket); in onMessageReceived() 763 NetworkUtils::UnRegisterSocketUserMark(track->mRTPSocket); in onMessageReceived() 764 NetworkUtils::UnRegisterSocketUserTag(track->mRTCPSocket); in onMessageReceived() 765 NetworkUtils::UnRegisterSocketUserMark(track->mRTCPSocket); in onMessageReceived() 891 NetworkUtils::UnRegisterSocketUserTag(info->mRTPSocket); in onMessageReceived() 892 NetworkUtils::UnRegisterSocketUserMark(info->mRTPSocket); in onMessageReceived() 893 NetworkUtils::UnRegisterSocketUserTag(info->mRTCPSocket); in onMessageReceived() 894 NetworkUtils::UnRegisterSocketUserMark(info->mRTCPSocket); in onMessageReceived() 1678 NetworkUtils::RegisterSocketUserTag(info->mRTPSocket, mUID, in setupTrack() 1680 NetworkUtils::RegisterSocketUserTag(info->mRTCPSocket, mUID, in setupTrack() [all …]
|
D | Android.bp | 55 srcs: ["NetworkUtils.cpp"],
|
/frameworks/base/core/java/android/net/ |
D | IpPrefix.java | 62 NetworkUtils.maskRawAddress(address, prefixLength); in checkAndMaskAddressAndPrefixLength() 116 Pair<InetAddress, Integer> ipAndMask = NetworkUtils.parseIpAndMask(prefix); in IpPrefix() 195 NetworkUtils.maskRawAddress(addrBytes, prefixLength); in contains() 209 NetworkUtils.maskRawAddress(otherAddress, prefixLength); in containsPrefix()
|
D | KeepalivePacketData.java | 100 srcAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData() 101 dstAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData()
|
D | DnsResolver.java | 19 import static android.net.NetworkUtils.getDnsNetwork; 20 import static android.net.NetworkUtils.resNetworkCancel; 21 import static android.net.NetworkUtils.resNetworkQuery; 22 import static android.net.NetworkUtils.resNetworkResult; 23 import static android.net.NetworkUtils.resNetworkSend;
|
D | DhcpInfo.java | 67 buf.append(NetworkUtils.intToInetAddress(addr).getHostAddress()); in putAddress()
|
D | IpSecTransform.java | 318 NetworkUtils.numericToInetAddress(mConfig.getSourceAddress()), in startNattKeepalive() 320 NetworkUtils.numericToInetAddress(mConfig.getDestinationAddress())); in startNattKeepalive()
|
/frameworks/base/core/java/android/net/util/ |
D | SocketUtils.java | 26 import android.net.NetworkUtils; 56 NetworkUtils.protectFromVpn(socket); in bindSocketToInterface()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | IpConfigStoreTest.java | 27 import android.net.NetworkUtils; 82 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_1)); in staticIpMultiNetworks() 83 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_2)); in staticIpMultiNetworks()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 23 import android.net.NetworkUtils; 287 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpConfigurations() 299 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpConfigurations() 308 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpConfigurations() 312 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpConfigurations() 324 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpConfigurations()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 33 import android.net.NetworkUtils; 196 trw = NetworkUtils.getTcpRepairWindow(fd); in switchToRepairMode() 332 NetworkUtils.attachDropAllBPFFilter(fd); in dropAllIncomingPackets() 334 NetworkUtils.detachBPFFilter(fd); in dropAllIncomingPackets()
|
D | DnsManager.java | 36 import android.net.NetworkUtils; 330 paramsParcel.servers = NetworkUtils.makeStrings(lp.getDnsServers()); in setDnsConfigurationForNetwork() 334 strictMode ? NetworkUtils.makeStrings( in setDnsConfigurationForNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 39 import android.net.NetworkUtils; 105 InetAddress addrV4 = NetworkUtils.numericToInetAddress("75.208.6.1"); in createProvisionedLinkProperties() 106 InetAddress dns1 = NetworkUtils.numericToInetAddress("75.208.7.1"); in createProvisionedLinkProperties() 108 InetAddress gateway1 = NetworkUtils.numericToInetAddress("75.208.8.1"); in createProvisionedLinkProperties()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkAddressTest.java | 59 private static final InetAddress V4_ADDRESS = NetworkUtils.numericToInetAddress(V4); 60 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6); 122 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress()); in testConstructors() 125 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress()); in testConstructors()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 23 import android.net.NetworkUtils; 497 NetworkUtils.numericToInetAddress(linkAddressString), linkPrefixLength); in parseIpConfigurationFromXml() 506 InetAddress gateway = NetworkUtils.numericToInetAddress(gatewayAddressString); in parseIpConfigurationFromXml() 517 NetworkUtils.numericToInetAddress(dnsServerAddressString); in parseIpConfigurationFromXml()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 27 import android.net.NetworkUtils; 210 return NetworkUtils.intToInetAddress(ipv4Address).getHostAddress(); in formatIpAddress()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 22 import android.net.NetworkUtils; 216 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
|