- Dec 27, 2023
-
-
Mark authored
The first tethering test case might have a tethering restart when handling IP conflicts. Currently, we start a hotspot once before tethering, but the test is still flaky in Cuttlefish because it doesn't support hotspots. Instead, we'll start ethernet tethering. Bug: 254183718 Test: atest CtsTetheringTest Change-Id: I695d4e1b3f961893bc30b3144faf7ad7d2d70574
-
Mark authored
Bug: 254183718 Test: atest CtsTetheringTest Change-Id: Ie8bf908fc926a0b8b58559c8827951cbeaedc2c6
-
Mark Chien authored
-
Remi NGUYEN VAN authored
-
Handa Wang authored
-
Mark authored
Before making enableEthernetTethering a static function, make its dependency variable static. Bug: 254183718 Test: atest CtsTetheringTest Change-Id: Id3781d67b3abc69b146fa704d4795bcfb2431a2a
-
Chiachang Wang authored
-
- Dec 26, 2023
-
-
Handa Wang authored
The duplicate entries make `CtsThreadNetworkTestCases` not included in presubmit. The `CtsThreadNetworkTestCases` was added in aosp/2804113 but was accidentally removed in aosp/2888526. Bug: 317769267 Bug: 297729075 Test: presubmit Change-Id: I184d21deddc0f0c247321a8d1afe5a8f8674f974
-
Handa Wang authored
-
Treehugger Robot authored
-
Junyu Lai authored
FastDataInput for reading persistent data is currently disabled by default. This functionality will be gradually enabled through A/B experiments to assess its impact. One-shot boot time increase up to 10 second is one expected outcome in worst case. Currently, the persistent data was loaded when the first caller query it, but in this change it will be done twice in the boot stage due to the needs of doing comparison. Test: adb shell dumpsys netstats Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest Test: manual test against data points under benchmark/assets/dataset Bug: 313841499 Change-Id: Ia927bd115de5453ca3ee22104f3efbf44a55c2b8
-
Handa Wang authored
This implements a basic border routing test case (ping) and demonstrates a valid test environment for Thread Border Router test cases. Later we can add more packet verifications and more test cases. Bug: 295843010 Test: atest android.net.ThreadBorderRouterTest Change-Id: Ifb9b6d45539143a227c2bc0ed69b5c3167ef9acd
-
Ken Chen authored
* changes: Freeze mdns_aidl_interface Deprecate mdns_aidl_interface
-
Chiachang Wang authored
-
Chiachang Wang authored
This commit optimizes the mechanism to examine the TCP sockets based on the VPN UID range. The automaticOnOffKeepalives will be paused/resumed by checking the TCP sockets status on the VPN network. The existing design considers all UIDs, not the UID ranges for the specific VPN network. This may lead to an inaccurate judgement to not to stop the keepalive even when there is no socket on the VPN network. This commit is also a part of follow-up work from aosp/2354202 to use structized class to parse the TCP sockets. Bug: 311119352 Bug: 265877161 Test: atest FrameworksNetTests Change-Id: I4a6b751cb904b9c18ed1df420cc880ea38022d6a
-
Junyu Lai authored
-
Junyu Lai authored
-
Yuyang Huang authored
This commit builds upon CL aosp/2817455 by adding a new NsdManager API to update registered services directly, eliminating the need for exit and re-announcement messages. This preserves compatibility with existing apps without requiring an API bump. If an app registers a service with the same listener and NsdServiceInfo, it's treated as an update request. Bug: 309372239 Test: TH Change-Id: Ib84ddf0d92e757eaef225f3e32f5223bc50c8fd6
-
Junyu Lai authored
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsRecorderTest Bug: 313841499 Change-Id: I3bd44c9e0fe9eab55b9e2360d80b3bbe2156cc3f
-
Junyu Lai authored
-
- Dec 25, 2023
-
-
Handa Wang authored
-
Handa Wang authored
`setTestNetworkAsUpstream` allows to specify a test network as the upstream of Thread network. This is going to be used in Thread integration tests. E.g. android.net.thread.BorderRoutingTest. Bug: 295843010 Test: atest android.net.thread.BorderRoutingTest Change-Id: I66474e2aa5b3434c4c66078a1d6bd6e522e32ae5
-
Paul Hu authored
-
Ken Chen authored
-
Chiachang Wang authored
-
Paul Hu authored
Currently, the MdnsReplySender doesn't have a dedicated test class to verify its functionality. To address this gap, add the MdnsReplySenderTest class, which can test all methods within the MdnsReplySender class. Bug: 312657709 Test: atest FrameworksNetTests Change-Id: Ibd948d97d38c012c63092ed4c6877d04b1ff14c1
-
Chiachang Wang authored
A clean up commit to correct the coding format. Test: atest FrameworksNetTests Change-Id: I7d7ed3765a0be503400ed3c33ea461e9baa3e72d
-
Ken Chen authored
The test relies on the tethering module code. Test is supposed to run on the matching version of module prebuilt. Add mtcs tag to ensure this. Bug: 316939964 Change-Id: I2b4d212a7dadf11e847abc5b6855442fdcc87a7c
-
Yang Sun authored
* changes: Use NetlinkUtil to process dump messages in InetDiagMessage. Add mif6ctl struct definition. Add mf6cctl struct definition. Add Mrt6Msg struct for multicast routing support. Add support to dump all multicast routes in NetlinkUtils
-
Chiachang Wang authored
-
Junyu Lai authored
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsRecorderTest Bug: 313841499 Change-Id: I12759e14c29917ad61eedad4cfee21f153a1a6bd
-
Junyu Lai authored
By verifying with benchmark tests, this does not have significant change on file reading performance. Test: atest ConnectivityBenchmarkTests Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsRecorderTest Bug: 313841499 Change-Id: I161a101dcec82fdaa70128541f9e153bac484ecc
-
Junyu Lai authored
-
Chiachang Wang authored
Add nlAttrs parameter to store the remaining attributes data. As a part of follow-up work from aosp/2354202, the TCP socket parsing can be done by using existing InetDiagMessage class. The missing piece in the InetDiagMessage class is the possible netlink attributes fields that may be appended after an InetDiagMessage. Bug: 311119352 Bug: 265877161 Test: atest NetworkStaticLibTests Change-Id: I9c34166124fd4efba2ab211bfb537ccce5e774a4
-
- Dec 23, 2023
-
-
Treehugger Robot authored
-
- Dec 22, 2023
-
-
Yang Sun authored
Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink.InetDiagSocketTest atest FrameworksNetTests:android.net.connectivity.com.android.server.ConnectivityServiceTest Change-Id: I71545beea8e4d9d9993f473813017f76094dc2e0
-
Yang Sun authored
This is used to configure interfaces for multicast routing. Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.structs.StructMif6ctlTest Change-Id: Ic26cddab2d5a9f90f63b0828c3e133d830aa0db4
-
Yang Sun authored
This is used to configure multicast routes. Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.structs.StructMf6cctlTest Change-Id: I57b36e6678262f48781b70ab77d49b920c7ddca2
-
Maciej Żenczykowski authored
Ethernet interface naming is not consistent on Linux. While some USB ethernet dongles show up as eth0, others might show up as usb0. This CL changes config_ethernet_iface_regex to "*" which stands for "use Android version specific default". The default will include both usb\d+ and eth%d named interfaces on Android V+. Android T/U will continue to only include eth%d interfaces (note that the "+" is a new addition which is highly unlikely to have any actual effect, but is more technically correct). This reverts commit ac6ff00b with change of U+ to V+ minimum. Reason for revert: Change from U+ to V+ Test: TreeHugger Bug: 304335605 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I124b8cd284968b920e753a8dcc270c22af46c9aa
-
Yang Sun authored
Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.structs.StructMrt6MsgTest Change-Id: I71367761662117aa6c0af3153039e50266d79259
-