- Nov 28, 2023
-
-
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
-
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: 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
-
Kangping Dong authored
Per API council feedback and API guideline at go/android-api-guidelines#provide-executor, it should call Binder.clearCallingIdentity() before invoking the app-supplied callbacks so that the app doesn't use the system-server's identity for permission check in the callback. Bug: 309952666 Test: atest ThreadNetworkUnitTests Change-Id: I3cfbce29c0a516506bb76a44b151a583c8477806
-
Chiachang Wang authored
This is a clean up commit to address TODO for resetting the LISTEN_ACTIVITY_TIMEOUT_MS timer as aosp/2188755 was shipped. Fix: 252972908 Test: atest CtsNetTestCases Change-Id: Ibc1a1c68883a3772729f24b01f9dc8d3cc37c1eb
-
Yan Yan authored
-
- Nov 21, 2023
-
-
Yan Yan authored
- Change class names to start with Xfrm or StructXfrm for consistency with other messages and structs - Create xfrm sub-folder for xfrm messages - Add "finals" to input parameters Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: Id6d34b4549bbc1890b3f4dd9f1638977f66e3236
-
Mark Chien authored
-
Mike Yu authored
-
Jean Chalard authored
This reverts commit 14499f01. Reason for revert: b/312408745 Change-Id: I8b03799fe6e0e256263240909ee7446c178bf508
-
Ken Chen authored
It's no longer needed because the only useful version is v1 and all functions are deprecated in v2. Bug: 298594687 Test: m Change-Id: I0226b7f3d3cda6fb897e02a035e84943913a944e
-