- Dec 25, 2023
-
-
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
-
-
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
-
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
-
- 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
-
Junyu Lai authored
Follow-up from aosp/2856948, the data saver status value is filled by ConnectivityService before Android V. Thus, calling BpfNetMapsReader#getDataSaverEnabled() is a legit use case, which should not trigger log.wtf. Remove the check accordingly. Test: TH Bug: 314858283 Fix: 316839561 Change-Id: I90c85ab98fbefd1f99ec799a4eec8d1d0cfd47b0
-
Quang Luong authored
Rename checkSystemBarServicePermission to checkStatusBarServicePermission to be consistent with the actual permission name. Bug: 307161342 Change-Id: Ib0d353d33f1fc64d298919c107d3bc6691dc0bfe Test: build
-
Kangping Dong authored
This is the servide-side impl of the subtypes advertising added in aosp/2608627. See that CL for more backgrounds. Bug: 265095929 Test: atest CtsNetTestCases FrameworksNetTests Change-Id: I3d6f96822ac89d12fe29c00f688d848297c25787
-
Kangping Dong authored
This commit adds support of advertising and discovering services with subtypes. With this change, client can publish a new service with subtypes with code: ``` NsdServiceInfo info = new NsdServiceInfo(); info.setServiceName("My Service"); info.setServiceType("_meshcop._udp"); info.setSubtypes(Set.of("_abc")); nsdManager.registerService(info, PROTOCOL_DNS_SD, listener); ``` Bug: 265095929 Test: atest CtsNetTestCases FrameworksNetTests Change-Id: Ia83182e2d43002243d1ef4357d14a8056d7da14b
-
- Dec 17, 2023
-
-
Yang Sun authored
Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink.RtNetlinkRouteMessageTest Change-Id: Ifdf5afc4f58ff55bd20cc60e23b17c3138754392
-
Yang Sun authored
Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink.RtNetlinkRouteMessageTest Change-Id: I2f3d69a5bda81de65e4a36e0db61d98dcf082b2d
-