- Jan 24, 2024
-
-
Kangping Dong authored
-
Motomu Utsumi authored
-
Mark Chien authored
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
-
Paul Hu authored
-
Kangping Dong authored
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I7cef2b19f55e6e056b46bb1b28f85c7f7376f6f4
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Id4ceeb0dc0cb8ffbd4a4bfb75359f311a00a08a7
-
- Jan 23, 2024
-
-
Paul Hu authored
Not all SocketTypeClients are cleaned up when their corresponding sockets are closed. This occurs because the active socket check for each callback examines the socket from all callbacks, even those scheduled for removal in later notifications. To fix this, check the active socket from the current callback only. Fix: 317461509 Test: atest FrameworksNetTests NsdManagerTest Manually test with multiple discovery requests and Wifi on/off. Change-Id: I2f81bb8e75f2c038d5e9dc025b208dcc6b441112
-
Tongbo Liu authored
Bug: 318958910 Change-Id: I71499f2a5244030c5c83c2102585c4c0c3da5db4
-
Motomu Utsumi authored
Bug: 321624552 Test: TH Change-Id: Idbec5e8af0f3764b5bf432e3dd5e6ba7f35aa81f
-
- Jan 22, 2024
-
-
Maciej Żenczykowski authored
Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I590cb9754465a43f2d6f442afa82f5c9093af7ae
-
Mark Chien authored
This reverts commit cf11be9e. Reason for revert: avoid some IpServer(s) running the new sync state machine while others use the async state machine. Bug: 319212113 Change-Id: Ib086a7ccd102f38e579c79f94aceae9971f1853a
-
Yang Sun authored
-
Ken Chen authored
-
Xiao Ma authored
-
Ken Chen authored
When sockets are destroyed, the SkDestroyListener receives a NETLINK_INET_DIAG message informing it to delete the socket cookie from the BPF CookieTagMap. However, under unknown conditions, all 10,000 spaces on the map were still observed to be filled. SkDestroyListener and its parent classes, NetlinkMonitor, and FdEventsReader will log errors. But due to the time required to fill the 10,000 fields is long, traces in the device log are likely to have been overwritten and cannot be observed. This commit enables dumpsys netstats to print the last 20 traces of the SkDestroyListener. If the issue is caused by the SkDestroyListener, this will help in obtaining further clues when the issue is reported again. Bug: 306919485 Bug: 319348954 Test: atest FrameworksNetTests:android.net.connectivity.com.android.serv er.net.NetworkStatsServiceTest#testDumpSkDestroyListenerLogs Test: manually add mLog.e(...) in SkDestroyListener#processNetlinkMessage and check dumpsys netstats Change-Id: I5bbfe07e05cf959f809f28a7633ee5f99e29f641
-
Yang Sun authored
Bug: 281217735 Test: adb shell dumpsys connectivity Change-Id: I0816f8cd1b9bcbcbac3f78f98c499874976cef6d
-
Yang Sun authored
-
Yang Sun authored
-
- Jan 21, 2024
-
-
Kangping Dong authored
Creates the /dev/socket/ot-daemon/thread-wpan.sock socket from the service init file. This is required for communication between ot-ctl and ot-daemon service Bug: 320451788 Test: verified that ot-daemon can create socket /dev/socket/ot-daemon/thread-wpan.sock Change-Id: Ib2111d67d2ce6726158f02a2cb2310c7ba9bf270
-
Handa Wang authored
Merge "Make ThreadNetworkController.setTestNetworkAsUpstream require NETWORK_SETTINGS permission" into main
-
- Jan 20, 2024
-
-
Yuyang Huang authored
-
Yang Sun authored
Applies multicast routing configs when they are updated in LocalNetworkConfig, or when local network/upstream network status changes. Bug: 281217735 Test: atest CSLocalAgentTests Change-Id: Ib1c43c645a367d0f91e5cf0a0d9f8e5883be2c40
-
Yang Sun authored
Added support to apply multicast routing config between network interfaces in MulticastRoutingCoordinatorService. Bug: 281217735 Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.connectivity.MulticastRoutingCoordinatorServiceTest Change-Id: If608b79d4e62a20d2e01755a83a901f6e274d9a2
-
- Jan 19, 2024
-
-
Suprabh Shukla authored
-
Maciej Żenczykowski authored
-
Handa Wang authored
This CL contains following enhancements: - Enforce NETWORK_SETTINGS permission for ThreadNetworkController.setTestNetworkAsUpstream. - Move the setTestNetworkAsUpstream in ThreadNetworkControllerService to make the order of methods more logical. - Update the test case name in BorderRoutingTest. Bug: 295843010 Bug: 320842152 Change-Id: I82edac6c819dd637f4c98f31368a1b520338ce24
-
Yuyang Huang authored
-
Chiachang Wang authored
-
Chiachang Wang authored
The original patch (aosp/2891011) incorrectly counted TCP sockets with keepalive enabled for VPNs. This issue was caused by the UID range verification. On bypassable VPNs, the socket mark is always correct. It's possible for an app that is not in the UID ranges to establish a socket on the VPN. But that socket should be counted for the purposes of keepalive. The old code would correctly count it and the new code will incorrectly not count it. Also, the UID range verification does not help on non-bypassable VPNs since the socket mark is always the mark of default network, not the socket mark of the VPN. Instead of reverting the entire patch, this commit removes the UID range mechanism. The code refactoring from the original commit (which used structured classes to read socket information) has been kept as it is a valuable improvement. Bug: 320842519 Test: atest FrameworksNetTests Change-Id: I00731796144c982b9fd4d9771f3d0db1f1529a89
-
Junyu Lai authored
-
Suprabh Shukla authored
The definition of background can be fluid and ambiguous. Refactored all code to be explicit about process states when making assertions. No functional change is expected to tests. Test: atest CtsHostsideNetworkTests Bug: 304347838 Change-Id: Ibc614d74f46d436cad4586c1d309bbb3648b8eb1 Merged-In: Ibc614d74f46d436cad4586c1d309bbb3648b8eb1
-
Chiachang Wang authored
-
- Jan 18, 2024
-
-
Maciej Żenczykowski authored
currently we have: org.junit.ComparisonFailure: expected:<[]bic> but was:<[cu]bic> at org.junit.Assert.assertEquals(Assert.java:117) but this is the reverse of the intended error: org.junit.ComparisonFailure: expected:<[cu]bic> but was:<bic> at org.junit.Assert.assertEquals(Assert.java:117) method signature: public static void assertEquals(Object expected, Object actual) Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I322ea162f2818aaa1beba5c1b9febcf97d29eea1
-
Mohannad Farrag authored
-
Maciej Żenczykowski authored
(and adjust indents to be saner) Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I2e52131fa51782dc89ddbfda4c9239a142376c56
-
Yan Yan authored
-
Mohannad Farrag authored
* Push the test-data to the device in the expected destination, this is needed to get rid of the divergance in TestFilesInstaller. * Stop jarjaring tests Jni classes. Test: TH Bug: 304217500 Change-Id: I07fa7ed09f90bf286805479edc5238b6268d59f0
-