Searched refs:NetworkStackUtils (Results 1 – 18 of 18) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkValidationTestUtil.kt | 20 import android.net.util.NetworkStackUtils 44 setConfig(NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTPS_URL, url) in setHttpsUrlDeviceConfig() 52 setConfig(NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTP_URL, url) in setHttpsUrlDeviceConfig() 60 setConfig(NetworkStackUtils.TEST_URL_EXPIRATION_TIME, timestamp?.toString()) in setHttpsUrlDeviceConfig()
|
D | CaptivePortalTest.kt | 41 import android.net.util.NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTPS_URL 42 import android.net.util.NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTP_URL
|
D | ConnectivityManagerTest.java | 64 import static android.net.util.NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTPS_URL; 65 import static android.net.util.NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTP_URL;
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 56 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_FALLBACK_PROBE_SPECS; 57 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_FALLBACK_URL; 58 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_HTTPS_URL; 59 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_HTTP_URL; 60 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_MODE; 61 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_MODE_IGNORE; 62 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_MODE_PROMPT; 63 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_OTHER_FALLBACK_URLS; 64 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_OTHER_HTTPS_URLS; 65 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_OTHER_HTTP_URLS; [all …]
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | ConnectivityPacketTracker.java | 28 import android.net.util.NetworkStackUtils; 113 NetworkStackUtils.attachControlPacketFilter(s, ARPHRD_ETHER); in createFd()
|
D | IpClient.java | 21 import static android.net.util.NetworkStackUtils.IPCLIENT_DISABLE_ACCEPT_RA_VERSION; 22 import static android.net.util.NetworkStackUtils.IPCLIENT_GARP_NA_ROAMING_VERSION; 23 import static android.net.util.NetworkStackUtils.IPCLIENT_GRATUITOUS_NA_VERSION; 68 import android.net.util.NetworkStackUtils; 1514 NetworkStackUtils.closeSocketQuietly(sock); in transmitPacket() 1522 final MacAddress dstMac = NetworkStackUtils.ipv6MulticastToEthernetMulticast(dstIp); in sendGratuitousNA()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 34 import static android.net.util.NetworkStackUtils.DHCP_INIT_REBOOT_VERSION; 35 import static android.net.util.NetworkStackUtils.DHCP_IPV6_ONLY_PREFERRED_VERSION; 36 import static android.net.util.NetworkStackUtils.DHCP_IP_CONFLICT_DETECT_VERSION; 37 import static android.net.util.NetworkStackUtils.DHCP_RAPID_COMMIT_VERSION; 38 import static android.net.util.NetworkStackUtils.closeSocketQuietly; 77 import android.net.util.NetworkStackUtils; 683 NetworkStackUtils.attachDhcpFilter(mPacketSock); in createFd()
|
D | DhcpServer.java | 26 import static android.net.util.NetworkStackUtils.DHCP_RAPID_COMMIT_VERSION; 51 import android.net.util.NetworkStackUtils; 230 NetworkStackUtils.addArpEntry(ipv4Addr, ethAddr, ifname, fd); in addArpEntry()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 108 NetworkStackUtils.addArpEntry(TEST_TARGET_IPV4_ADDR, TEST_TARGET_MAC, iface.interfaceName, in testAddArpEntry() 162 NetworkStackUtils.attachRaFilter(socket, ARPHRD_ETHER) in testAttachRaFilter()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 121 import android.net.util.NetworkStackUtils; 485 setFeatureEnabled(NetworkStackUtils.DHCP_INIT_REBOOT_VERSION, isDhcpLeaseCacheEnabled); 486 setFeatureEnabled(NetworkStackUtils.DHCP_RAPID_COMMIT_VERSION, isRapidCommitEnabled); 487 setFeatureEnabled(NetworkStackUtils.DHCP_IP_CONFLICT_DETECT_VERSION, 489 setFeatureEnabled(NetworkStackUtils.DHCP_IPV6_ONLY_PREFERRED_VERSION, 2414 setFeatureEnabled(NetworkStackUtils.IPCLIENT_DISABLE_ACCEPT_RA_VERSION, 2870 NetworkStackUtils.ipv6MulticastToEthernetMulticast(IPV6_ADDR_ALL_ROUTERS_MULTICAST); 2892 setFeatureEnabled(NetworkStackUtils.IPCLIENT_GRATUITOUS_NA_VERSION, 2894 assertTrue(isFeatureEnabled(NetworkStackUtils.IPCLIENT_GRATUITOUS_NA_VERSION, false)); 2927 setFeatureEnabled(NetworkStackUtils.IPCLIENT_GARP_NA_ROAMING_VERSION, true); [all …]
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 49 import android.net.util.NetworkStackUtils; 272 NetworkStackUtils.closeSocketQuietly(fd); in pollSocketsInfo()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | NetworkStackUtils.java | 35 public class NetworkStackUtils { class
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 45 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_FALLBACK_PROBE_SPECS; 46 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_OTHER_FALLBACK_URLS; 47 import static android.net.util.NetworkStackUtils.CAPTIVE_PORTAL_USE_HTTPS; 48 import static android.net.util.NetworkStackUtils.DEFAULT_CAPTIVE_PORTAL_DNS_PROBE_TIMEOUT; 49 import static android.net.util.NetworkStackUtils.DISMISS_PORTAL_IN_VALIDATED_NETWORK; 50 import static android.net.util.NetworkStackUtils.DNS_PROBE_PRIVATE_IP_NO_INTERNET_VERSION; 51 import static android.net.util.NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTPS_URL; 52 import static android.net.util.NetworkStackUtils.TEST_CAPTIVE_PORTAL_HTTP_URL; 53 import static android.net.util.NetworkStackUtils.TEST_URL_EXPIRATION_TIME;
|
/packages/modules/Connectivity/Tethering/tests/integration/ |
D | Android.bp | 118 // For NetworkStackUtils included in NetworkStackBase
|
/packages/modules/NetworkStack/tests/integration/ |
D | Android.bp | 28 // For NetworkStackUtils included in NetworkStackBase
|
/packages/modules/Connectivity/tests/common/ |
D | Android.bp | 90 // For NetworkStackUtils included in NetworkStackBase
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 53 import android.net.util.NetworkStackUtils; 215 NetworkStackUtils.closeSocketQuietly(mSocket); in halt() 488 NetworkStackUtils.attachRaFilter(socket, mApfCapabilities.apfPacketFormat); in maybeStartFilter()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 26 import static android.net.util.NetworkStackUtils.DHCP_RAPID_COMMIT_VERSION;
|