- Dec 25, 2023
-
-
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
-
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
-
Maciej Żenczykowski authored
Bug: 317469218 Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I76a4082bd64434f109d64b5513c5608f92bea494
-
Paul Hu authored
-
Kangping Dong authored
-
- Dec 21, 2023
-
-
Cole Faust authored
-
Danuta Brotikovskaya authored
-
Danuta Brotikovskaya authored
Bug: 278833398 Test: atest FrameworksNetTests Change-Id: Ie83bf49693411e4c3f629c07d98071505f48c08f
-
Kangping Dong authored
Bug: 297729075 Change-Id: I164225791e176c13d124f6b63e1c3f1a3f3a0e34
-
Junyu Lai authored
This is a no-op refactoring that make a subclass of NetworkStatsService#Dependencies in order to make the follow-up changes can implement private getters in the class and easier to review. Test: TH Bug: 313841499 Change-Id: If0de525b32abb9ad715c633f42b3c65c0d720d24
-
Junyu Lai authored
This increased reading performance by 35% while running benchmark tests. But the feature is not enabled in the production code until the service turns it on. Test: atest ConnectivityBenchmarkTests Test: atest ConnectivityCoverageTests:android.net.connectivity.android.net.NetworkStatsCollectionTest Bug: 313841499 Change-Id: Ic827e6c4848cc31d46d62aa93993b483114a1f12
-
Quang Luong authored
-
Yang Sun authored
Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink.NetlinkUtilsTest Change-Id: I07e7aa8ce677dafb94891c8075f8822dadcfd6d1
-
- Dec 20, 2023
-
-
Sudheer Shanka authored
Otherwise, the app idle state could interfere with the test verifications. Bug: 317204099 Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideNetworkCallbackTests.java Change-Id: I057546082ffc2f6f5c8da8928824a5261d0f8c7f
-
Cole Faust authored
lintable modules currently pick up files named "lint-baseline.xml" to use as the lint baseline implicitly. This is confusing because you could end up using the baseline files in more modules than intended. Lint also has a feature where it requests you remove unnecessary findings from the baseline file, so something could be necessary for one module, but unnecessary for another that accidentally picked up the baseline. We're removing the implicit detection of the baseline file, which requires all modules using it to list the baseline file explicitly. Bug: 272769514 Test: Presubmits Change-Id: If873a4ea20d73bb6268d83589c4fb3ebe54af664
-
Henri Chataing authored
-
Tongbo Liu authored
-
Tongbo Liu authored
Bug: 316436957 Change-Id: Iab06fe9b6bc71e6da95f8734bd42903e6c26fdfc
-
Yuyang Huang authored
* changes: Revert "Refactor RouterAdvertisementDaemon with FdEventsReader" Revert "Refactor RouterAdvertisementDaemon to build new RA in HandlerThread"
-
Yuyang Huang authored
-
Junyu Lai authored
-
- Dec 19, 2023
-
-
Henri Chataing authored
b/310046696 introduced a breaking ABI change in libbase, and the following unit tests fail to launch on previous platforms because of missing symbols: - libnetworkstats_test - netd_updatable_unit_test Bug: 316464217 Test: atest libnetworkstats_test Test: atest netd_updatable_unit_test Change-Id: Icef58de0b46c6042a9459d3d4c45ea9ce2baefed
-
Xinyi Zhou authored
Test: -m and load on device Change-Id: Ib54d4cd14c2ec0739d96593e183f6e1be9682e67
-
Motomu Utsumi authored
-
Tongbo Liu authored
Add mcts tag to MainlineCTS networking test modules which is used for build all the mainline CTS tests. Bug: 316436957 Change-Id: I0e7ab773075fb0dfd154dde45a710d1c1823c914
-
Motomu Utsumi authored
doTestAllowedUids did not wait the network disconnect and this made the test flaky since doTestAllowedUids saw the network from the previous doTestAllowedUids. This CL update doTestAllowedUids to wait network Lost Before this CL, test failed 6 times in 1000 tries. After this CL, test does not fail in 1000 tries. Test: atest testAllowedUids --iterations 1000 Bug: 312206245 Change-Id: I270a230c15dfd2c44ba29f203bc55c0f47649e98
-
Yuyang Huang authored
Allow client to register multi-subtype using comma separate format like: "_997._tcp,_test1,_test2,_test3" Bug: 315085895 Test: TH Change-Id: Ibd27e42cb9e7a0274d1d8df3f6f3a00786e4a237
-
Paul Hu authored
Support the RFC 6762 section 7.1. Known-Answer Suppression. If the response contains an answer that is also present in the answer section and the known-answer's TTL is greater than half of the original TTL, suppress the response. Bug: 312657709 Test: atest FrameworksNetTests NsdManagerTest Passed DUPLICAE SUPPRESSION test case of BCT Change-Id: I1890e9fba068c1f59a1d93c3514f0e7d07da1814
-
- Dec 18, 2023
-
-
Motomu Utsumi authored
-
Kangping Dong authored
* changes: [mdns] add service-side impl for subtypes advertising [mdns] add support for advertising subtypes
-