- Nov 13, 2023
-
-
KH Shi authored
ArraySet is designed to be more memory afficient than HashSet. It is suitable to store small numbers of items. Test: atest TetheringPrivilegedTests TetheringIntegrationTests \ TetheringTests Bug: 261923493 Change-Id: I2bd2eded801cc05ce53ef9f9486b13faf1772d22
-
- Nov 08, 2023
-
-
KH Shi authored
Avoid passing primitive data types into Objects.hash() which will convert them to their corresponding object wrapper types automatically. Test: atest TetheringTests Bug: 261923493 Change-Id: I2efe7f3e50923ad2e33cfd58ae7e1e1cf7fd34bd
-
- Nov 07, 2023
-
-
Treehugger Robot authored
-
Jean Chalard authored
-
- Nov 06, 2023
-
-
Treehugger Robot authored
-
Chalard Jean authored
Test: CSLocalAgentTests, new tests for this Change-Id: I8994af350a1799ab5f6ebb2872f2abfaf174bd61
-
Motomu Utsumi authored
-
Junyu Lai authored
* changes: [BR03.3] Add feature version constant for accessing bpf in Connectivity [BR03.1] Expose isUidNetworkingBlocked
-
Yuyang Huang authored
The OffloadServiceInfo is already became API. It is not necessary to keep it in jarjar exclusion anymore. Test: TH Change-Id: I81020553dfab4d7d8c88a67959058a99beb3b803
-
Junyu Lai authored
This is needed by the callers to determine if the Tethering module is new enough to support the API that get whether the network is blocked for the given uid and conditions. Test: adb shell cmd network_stack is-uid-networking-blocked <uid> <metered> Bug: 297836825 Change-Id: Ie79eacb1e63ff60291ad4f0ef6e8bba5ab0bdb07
-
Junyu Lai authored
Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideNetworkCallbackTests Bug: 297836825 Change-Id: I70b2351b9cd1c3c6fa34258397e0bf22cb8150b2
-
Chiachang Wang authored
-
Maciej Żenczykowski authored
-
Chiachang Wang authored
Address leftover comments in aosp/2354202. Bug: 265877161 Test: atest FrameworksNetTests NetworkStackTests Change-Id: I77f36b890265e9af6f5ab866d5e0071363bb3d0f
-
- Nov 05, 2023
-
-
Maciej Żenczykowski authored
-
- Nov 04, 2023
-
-
Ken Chen authored
In MTS, test infra installs only the DNS resolver module without installing tethering module. The test utils should not assume the BPF maps defined in tethering will be in the device. Bug: 309164580 Test: atest resolv_integration_test:ResolverTest#BlockDnsQueryWithUidRule Change-Id: I2c7349a11c9b413c129c93d236c8280588097cf7
-
- Nov 03, 2023
-
-
Henri Chataing authored
Test: m Change-Id: I15107355d2c26f69be5bb336e978eac55f65c437
-
Dario Freni authored
This CL is being created to improve the test attribution in android. It has been found that the tests owned by this OWNERS are not not being attributed to a buganiser component. This is part of a bigger effort to attribute all of the aosp code. If you think that the buganiser component is not correct please update this CL with correct component and drop a +2. We will use the updated component and merge the CL Bug: 309090038 Change-Id: Ie6839c3f6d07a554c60d544acea712d8de76b6b2 Test: N/A
-
Jean Chalard authored
-
- Nov 02, 2023
-
-
Ryan Zuklie authored
-
Ryan Zuklie authored
This reports the total bytes sent and received per interface using atrace. The totals are taken from the interface counters, rather than the ringbuffer, since the ring buffer can run out of space. Interfaces are only reported for interfaces which have packets sent on them as identified by Nettrace. This helps reduce the cost significantly for idle periods and on devices with a large number of interfaces accumulated in the iface stats maps. Test: TreeHugger Change-Id: I0e6a3b11de0d1e153b9f8ebb97c338f425381a9c
-
Chalard Jean authored
Test: RoutingCoordinatorServiceTest TetheringTest Change-Id: I2fa6250875d517c3452c85a3678d3feb0c0354d8
-
Chalard Jean authored
...following feedback Test: FrameworksNetTests Change-Id: I9c25f0b066a58980bf071d2b958223ed609f0d8e
-
Chalard Jean authored
Avoid network agents trying to do things that the stack does not support. Test: new test in this change Change-Id: I3ffa1c3ddbb0b648b06862dc0a44f8525d358acc
-
Jean Chalard authored
-
Motomu Utsumi authored
-
Junyu Lai authored
-
Chalard Jean authored
This can only run where the connectivity module is updated Bug: 308601625 Test: TH Change-Id: Icc5df3013e90070502a805abe89725591470b464
-
Motomu Utsumi authored
Test: m checkapi in udc-mainlnine branch Change-Id: I9baa1b1537b4ceb1ac9696da2026fffd71c58067
-
Ken Chen authored
-
- Nov 01, 2023
-
-
Junyu Lai authored
-
Junyu Lai authored
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest (with debug code that dump all threads at the end of tests) Fix: 308544001 Change-Id: I597054633bbb008ffd0edebe34dcf6935958aa5d
-
Hansen Kurli authored
* changes: Add Log.wtf when keepalive metrics are unexpected. Add dump of KeepaliveStatsTracker
-
Hansen Kurli authored
To debug unexpected keepalive metrics values, print the built metrics in a Log.wtf before writing it to statsd. Bug: 297292877 Test: atest FrameworksNetTests Change-Id: I5fffc13721e50e28f24b0da12a961364f3f77e21
-
Hansen Kurli authored
To debug unexpected metrics values, print the built metrics into the connectivity dump. Sample of the added log dump: KeepaliveStatsTracker enabled: true # android.net.connectivity.com.android.metrics.Dailykeepalive InfoReported@3293424e automatic_keepalive_requests: 2 distinct_user_count: 1 duration_per_num_of_keepalive { duration_for_num_of_keepalive { keepalive_active_durations_msec: 36 keepalive_registered_durations_msec: 36 num_of_keepalive: 0 } duration_for_num_of_keepalive { keepalive_active_durations_msec: 9 keepalive_registered_durations_msec: 6 num_of_keepalive: 1 } duration_for_num_of_keepalive { keepalive_active_durations_msec: 7 keepalive_registered_durations_msec: 10 num_of_keepalive: 2 } } keepalive_lifetime_per_carrier { keepalive_lifetime_for_carrier { active_lifetime_msec: 23 carrier_id: -1 intervals_msec: 10000 lifetime_msec: 26 transport_types: 1 } } keepalive_requests: 2 uid: 10097 Bug: 297292877 Test: adb shell dumpsys connectivity Test: New test testDumpDoesNotCrash() Change-Id: Ifc076a8dce734e9c175f1b1f28e1c448b9a792e5
-
Chiachang Wang authored
-
Paul Hu authored
-
Junyu Lai authored
-
Ken Chen authored
-
Ken Chen authored
-