- Nov 30, 2023
-
-
Yan Yan authored
-
- Nov 29, 2023
-
-
Mike Yu authored
-
Yan Yan authored
Previously the calculation of the expected ADD_TIME implicitly depended on the default timezone of the test device and thus might have different values and cause test failures. This fix updates the test to always use "GMT" to generate the ADD_TIME Bug: 308011229 Test: StructXfrmLifetimeCurTest passing with default timezone being GMT, GMT-6, GMT-10 Change-Id: Ib88a253c1ecb09feeb298a04b847c4105651a710
-
- Nov 28, 2023
-
-
Yan Yan authored
* changes: [XFRM_MSG_NEWSA] Support xfrm_lifetime_cfg and xfrm_lifetime_cur [XFRM_MSG_NEWSA] Support xfrm_selector and xfrm_id
-
Xiao Ma authored
-
Mike Yu authored
In PrivateDnsConfig class, `useTls` is replaced with `mode`. This CL a corresponding change. Bug: 240259333 Test: atest ConnectivityCoverageTests Change-Id: I60c53e52f287fc7fa05543603a62632d934bb2e6
-
Ken Chen authored
-
Xiao Ma authored
Change the component number to 685852 which is used for IpSec. and also add OWNER file for xfrm unit test folder. Test: TH Change-Id: I2359d6d8c6b3916ce36fdbcc1f487896efb0dccb
-
Ken Chen authored
Debugging the SIGABRT of this function is annoying because the module can be built from source or pre-built. It requires finding the correct version of the symbol to get the correct line number. In addition, there are 7 consecutive aborts in source code, it is hard to tell whether the symbolized call stack shows the right line number or not. Adds error trace before abort so we can identify the root cause without even symbolizing the call stack of SIGABRT. Bug: 312094533 Test: make; flash; adb logcat Change-Id: I74713029d059e10bf5d34694cdb96712bc806696
-
- Nov 27, 2023
-
-
Yan Yan authored
-
Yan Yan authored
Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: Ibd38e3c0036c760f6397910162054cfb02e45059
-
Yan Yan authored
Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: I0e9f52aad8e9cb72b8bbac1f9ee9f8e53d939e47
-
Yan Yan authored
Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: I42e423c09ffb733a809636360468c963c7864872
-
Lorenzo Colitti authored
-
Sudheer Shanka authored
-
Mark Chien authored
-
Remi NGUYEN VAN authored
-
- Nov 24, 2023
-
-
Kangping Dong authored
-
Kangping Dong authored
A screenshot of the demo app:  Bug: 273227725 Change-Id: I8d9bcf00bb54d3f152c436b56df919d967c5b71b
-
Treehugger Robot authored
-
Mark authored
The code currently calls RandomInt twice to generate an address. For example, if you want to generate the address 192.168.A.B, RandomInt will be called twice to generate the values for A and B. To save resources, we can avoid calling RandomInt twice by reusing the same random value with different masks for A and B. Before: - RandomInt() & 0xff00 -> A - RandomInt() & 0x00ff -> B After: - RandomInt() & 0xffff -> A.B Bug: 312647670 Test: atest TetheringTests Change-Id: Iee49af3d82781309f78fe66ab07937b8137fa259
-
Jean Chalard authored
-
Remi NGUYEN VAN authored
On mobile networks it is more likely that the user needs to top up or get a mobile data subscription, rather than "sign in" as the previous messaging was suggesting. Following feedback from interaction designers / UX writers, change the strings to be more appropriate for the most common use-case. Bug: 153673376 Test: atest FrameworksNetTests manual test on mobile network force-detecting a portal. Change-Id: I5b4d4a17fd507d8cf3c9863cf23b5fedb258852e
-
- Nov 23, 2023
-
-
Junyu Lai authored
The issue arises when the network becomes validated based on the isCaptivePortal success with HTTPS, even though the HTTP probe hasn't been executed yet. Given that there is no way to ensure HTTP probe was sent in this case, the pass condition should be relaxed, allowing a single https query instead of expecting both. Test: atest FrameworksNetIntegrationTests:ConnectivityServiceIntegrationTest#testValidation \ --rerun-until-failure 100 (With hardcoded sleep when starting HTTP probe) Fix: 303351630 Change-Id: I580e9a3a868cd0b3395a20ace27b006529475312
-
Paul Hu authored
-
KH Shi authored
-
KH Shi authored
-
Paul Hu authored
Remove nsd_expired_services_removal aconfig, since it is no longer used. Bug: 312669635 Test: m Change-Id: I9b21b6102ed9a8160be3d853d44d9b051997d09e
-
- Nov 22, 2023
-
-
Motomu Utsumi authored
-
Motomu Utsumi authored
framework-connectivity-flagged-apis-droidstubs is used by jarjar-rules-generator to avoid jarjaring flagged apis. But, this usage of --show-annotation FlaggedApi in the flag is not supported. So this CL removes --show-annotation FlaggedApi. As far as framework-connectivity-flagged-apis-droidstubs contains flagged APIs, it's fine that this droidstubs also contains non-flagged APIs. Test: TH Bug: 312408311 Change-Id: I2f1f5624d98873420c0c36ac6e31386102211045
-
Xiao Ma authored
Test: TH Change-Id: I260665a0afa056e32021c5255a17ea0af59b6575
-
KH Shi authored
HandlerThread was introduced in aosp/2493357. This patch moves the code originally located in buildNewRa() into the HandlerThread. Bug: 246928127 Test: atest TetheringPrivilegedTests TetheringIntegrationTests \ TetheringTests Change-Id: I5f6df0a3a79d7f4a865cfec7f88bc28816b1db95
-
KH Shi authored
This patch changes the implementation of UnicastResponder in the RouterAdvertisementDaemon with FdEventsReader. The change includes replacing Thread with HandlerThread, create socket in non-blocking mode (required by FdEventsReader) and use FdEventsReader to listen to the solicited RS packets. Two commands (CMD_START & CMD_STOP) were added to control the lifecycle of the FdEventsReader. Bug: 246928127 Test: atest TetheringPrivilegedTests TetheringIntegrationTests \ TetheringTests Test: Enable WiFi hotspot and connected with another Pixel client: 1. Tcpdump on the Pixel client, checking the RA packets 2. Verify IPv6 addresses were configured 3. ping6 2001:4860:4860::64 Change-Id: I6e89903df90864e3bb34d498e353d6f87193e9d6
-
Paul Hu authored
-
Chiachang Wang authored
-
Yuyang Huang authored
-
Kangping Dong authored
-
KH Shi authored
-
Mark Chien authored
-
Paul Hu authored
-