- Oct 21, 2023
-
-
Maciej Żenczykowski authored
This mostly reverts commit 1d2c93d5. Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I0d7fdaeae508c0250114f7af8700d0fc40b0f27a
-
- Oct 20, 2023
-
-
Jean Chalard authored
-
Junyu Lai authored
-
Xiao Ma authored
-
- Oct 19, 2023
-
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
-
Junyu Lai authored
-
Junyu Lai authored
-
Paul Hu authored
-
Junyu Lai authored
Follow-up from aosp/2788197, the CL does not work since SkipPresubmit annotation is not excluded from TEST_MAPPING for ConnectivityCoverageTests. Test: TH Bug: 302325928 Change-Id: Ibfa509aadc9e54da14738714be46abd25f46f3fb
-
- Oct 18, 2023
-
-
Paul Hu authored
The TTL check and removal of expired services is currently only performed when a mDNS query is sent. This can result in expired services remaining in the cache if no queries are sent. To address this, the remaining TTL will be checked when retrieving services from the MdnsServiceCache. Add a new flag to enable the expired services removal feature. This feature will be implemented in subsequent changes. Bug: 265787401 Bug: 304649384 Test: atest FrameworksNetTests CtsNetTestCases Change-Id: I30f0eea568ee45d363cc02821de0921d6040f981
-
Junyu Lai authored
Test: atest NetworkStatsIntegrationTest#testBpfProgramAttachStatus Bug: 292156770 Change-Id: I815be0f3f3592442939872f98e3ad9d224a6aeb6
-
Junyu Lai authored
Sample output: Bpf Program Status: CGROUP_INET_INGRESS: 21 CGROUP_INET_EGRESS: 22 CGROUP_INET_SOCK_CREATE: 28 CGROUP_INET4_BIND: 30 CGROUP_INET6_BIND: 31 Test: adb shell dumpsys connectivity Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.ConnectivityServiceTest#testDumpDoesNotCrash Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.ConnectivityServiceTest#testDumpDoesNotCrash Bug: 292156770 Change-Id: I312c90c524af12d093536156d6d5c6febd64305a
-
Chalard Jean authored
This reverts commit 6eea22b1. Change-Id: I0a2cef4ee992577674c92ecd384dc6f4361afa02
-
Junyu Lai authored
-
- Oct 17, 2023
-
-
Jean Chalard authored
-
Junyu Lai authored
-
Junyu Lai authored
Follow-up from aosp/2788197, the CL does not work since SkipPresubmit annotation is not excluded from TEST_MAPPING for ConnectivityCoverageTests. Test: TH Bug: 302325928 Change-Id: I2d953f19e5d5eb5f5d8fdf4faf335d603bae42a0
-
Junyu Lai authored
I0afdda023208c3f8620cb5b89add66448af596d7 added some assertions to ensure NetworkAgentInfo can only be accessed from the handler thread. This is good to eliminate any potential concurrent accessing problem. Howver, dumpsys runs on binder thread, this change breaks dumpsys functionality. Thus, this change: 1. Copy Handler#runWithScissors() and related class locally since they are @hide methods. 2. Run doDump on the handler thread and waits for return. Test: adb shell dumpsys connectivity Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.HandlerUtilsTest Fix: 303348620 Change-Id: Ic3a22f5d370bbf8c18b1972e86d695b6ad61bd0d
-
Chalard Jean authored
This reverts commit cc409153. Change-Id: Ied6bdb9b94e08e2bfe1092765d0f4591e603c3eb
-
Junyu Lai authored
This is catched by errorprone where global variables accessing is not protected by the declared lock, which could lead to a potiential race problem where these variables are changed but cannot be seen for the invocation. This is also safe since: 1. The method called inside mDefaultNetworks is already holding the same lock. 2. Multiple global variables are protected by this synchronized block. Test: TH Fix: 181642673 Change-Id: I58e7f124de1f0291e9323ab0b9cf8f52cec32818
-
Paul Hu authored
-
- Oct 16, 2023
-
-
Patrick Rohr authored
-
Maciej Żenczykowski authored
Afterwards: vsoc_x86:/ # ls -lZ /apex/com.android.tethering/bin/ethtool -rwxr-xr-x 1 root shell u:object_r:system_file:s0 96204 1969-12-31 16:00 /apex/com.android.tethering/bin/ethtool vsoc_x86:/ # ldd /apex/com.android.tethering/bin/ethtool linux-gate.so.1 => [vdso] (0xedc4d000) libc++.so => /apex/com.android.tethering/lib/libc++.so (0xed309000) libc.so => /apex/com.android.runtime/lib/bionic/libc.so (0xed3db000) libdl.so => /apex/com.android.runtime/lib/bionic/libdl.so (0xed2c3000) libm.so => /apex/com.android.runtime/lib/bionic/libm.so (0xed286000) Apex-Size-Increase: (verify ~100kB) Aosp-First: it is Previous-Platform-Support: been debug only for a while Test-Info: builds, boots, binary works Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I1f7d12f2df2cf26476634e7eb84ca8f7622905f4
-
Junyu Lai authored
Root cause not yet located, disable test to unblock TH. Test: atest ConnectivityCoverageTests:android.net.connectivity.android.net.NetworkStatsHistoryTest Bug: 302325928 Change-Id: I618090b67e428ab911ec88e7daab30c14cccbf64
-
Hansen Kurli authored
* changes: Mock Vpn.setUnderlyingNetworks() Mock Vpn.setLockdown()
-
Junyu Lai authored
* changes: Adds more data points for benchmarking tests Move test zip file to assets
-
Paul Hu authored
-
- Oct 14, 2023
-
-
Anton Kulakov authored
* changes: Revert "Tell netd about local networks" Revert "Add LocalNetworkConfig"
-
Anton Kulakov authored
-
- Oct 13, 2023
-
-
Patrick Rohr authored
-
Anton Hansson authored
EthernetManager is @SystemApi, so cannot be referenced from public API. Bug: 303184203 Test: m docs Change-Id: Ib5cc07c89b4ecfdeae704da131ebb307816e35fa
-
Anton Kulakov authored
Revert submission 2777667 Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/305187495 Reverted changes: /q/submissionid:2777667 Bug: 305187495 Change-Id: Icb46558d17b56f9f6fd402f1489de9ed2b8f7644
-
Anton Kulakov authored
Revert submission 2777667 Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/305187495 Reverted changes: /q/submissionid:2777667 Bug: 305187495 Change-Id: Iae4ef936a4c111ae5668e539ce4cdbbb14c811f4
-
Anton Kulakov authored
Revert submission 2777667 Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/305187495 Reverted changes: /q/submissionid:2777667 Bug: 305187495 Change-Id: I516d40b20d775e9c61b2f825bc094329d016d0c3
-
Treehugger Robot authored
-
Jean Chalard authored
* changes: Simplify addRoutesToLocalNetwork calls Add LocalNetworkConfig Tell netd about local networks
-
Paul Hu authored
This is a no-op change and refactors the design for subsequent TTL expiration check changes. - Add a ServiceExpiredCallback to notify expired services. - To simplify the design, pass the CacheKey to MdnsServiceCache methods instead. Bug: 265787401 Test: atest FrameworksNetTests CtsNetTestCases Change-Id: I930a4f7baf9b8d3d0037dc6aefd717dbdd486520
-
Hansen Kurli authored
Override Vpn.setUnderlyingNetworks() to do a direct call on the network agent instead of relying on the Vpn class. Bug: 230548427 Test: atest FrameworksNetTests Change-Id: Ib7883f8a81a22317616cae79ce57a30afdd2bed4
-
Hansen Kurli authored
Call setRequireVpnForUids directly to enable lockdown instead of calling the real Vpn method. Bug: 230548427 Test: atest FrameworksNetTests Change-Id: I91ec59f7542d145e9250a7e7a414593db3d99424
-