Junyu Lai
9fb574d0c3
Address review comments at aosp/3249945
...
This change includes:
1. Rename binder interfaces.
2. Use a dedicated class to pass the result of
get{Total|Iface|Uid}Stats, as it is 25% faster than passing
a NetworkStats object through the binder interface.
3. Remove the binder interface only used by the test.
4. Remove NetworkStatsBinderTest on R and S, since the binder
interface is removed, the mainlined service does not run on
those versions and the chance of breaking these tests on
R and S is low.
5. Remove useless TODO comments.
Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest \
CtsNetTestCases:android.net.cts.NetworkStatsBinderTest \
FrameworksNetIntegrationTests:com.android.server.net.integrationtests.NetworkStatsIntegrationTest
Bug: 372851500
Bug: 343260158
Change-Id: Ibd79a17218f54f0117d8ef5d7b9ec6073356f923
2024-10-28 10:59:35 +08:00
..
ipmemorystore
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
netstats
Don't clobber existing history entries.
2022-05-24 11:37:42 +08:00
nsd
[mdns] add hidden API for public key
2024-04-24 07:02:42 +00:00
util
add TRANSPORT_SATELLITE to NetworkCapabilities
2024-02-07 16:07:39 +00:00
ConnectivityManagerTest.java
Only send callbacks when overridden
2024-06-26 12:39:47 +09:00
EthernetNetworkUpdateRequestTest.java
Add test for nullable IpConfiguration
2022-03-16 20:29:10 +01:00
IpMemoryStoreTest.java
Add unit test to verify retrieving and storing the network events.
2024-09-03 15:56:59 +00:00
IpSecAlgorithmTest.java
ipsec - use ro.vendor.api_level instead of ro.product.first_api_level
2022-11-09 00:47:13 +00:00
IpSecConfigTest.java
Add some non-connectivity-module-test back to ConnectivityCoverageTests
2022-05-27 07:16:46 +00:00
IpSecManagerTest.java
Add some non-connectivity-module-test back to ConnectivityCoverageTests
2022-05-27 07:16:46 +00:00
IpSecTransformTest.java
Expose APIs to migrate IpSecTransform
2023-01-10 19:09:05 +00:00
KeepalivePacketDataUtilTest.java
Remove toString test.
2023-06-01 21:34:50 +00:00
MacAddressTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00
MulticastRoutingConfigTest.kt
Add equals, hashCode to MulticastRoutingConfig
2023-11-10 13:06:22 +08:00
NetworkCallbackFlagsTest.kt
Only send callbacks when overridden
2024-06-26 12:39:47 +09:00
NetworkIdentitySetTest.kt
Fix NullPointerException happens in dumpCheckin
2022-04-19 17:49:30 +08:00
NetworkIdentityTest.kt
Revert consider TEMPORARILY_NOT_METERED as unmetered in data usage
2022-12-02 16:04:55 +08:00
NetworkStackBpfNetMapsTest.kt
Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX
2024-04-23 15:04:28 +09:00
NetworkStatsAccessTest.java
Check MAINLINE_NETWORK_STACK as well to make GTS can access proper stats
2023-04-11 14:56:15 +08:00
NetworkStatsCollectionTest.java
[AF02.1] Support read by FastDataInput in the NetworkStatsRecorder
2023-12-21 15:14:59 +08:00
NetworkStatsHistoryTest.java
Disable flaky NetworkStatsHistoryTest#testFuzzing in presubmit
2023-10-16 17:21:06 +08:00
NetworkStatsRecorderTest.java
[AF08] Fill useFastDataInput metrics
2023-12-26 03:38:48 +00:00
NetworkStatsTest.java
Address review followup comments for NetworkStats
2023-09-04 18:01:14 +08:00
NetworkTemplateTest.kt
Add some tests back which were removed for fixing kotlin nullable errors
2023-08-24 11:25:21 +09:00
NetworkUtilsTest.java
NetworkUtilsTest.testSetSockOptBytes
2024-01-29 13:30:53 +08:00
QosSocketFilterTest.java
Support QosCallback with UDP socket. UnitTest
2022-05-05 08:45:00 +00:00
QosSocketInfoTest.java
Support QosCallback with UDP socket. UnitTest
2022-05-05 08:45:00 +00:00
TelephonyNetworkSpecifierTest.java
Re-skip connectivity unit tests before S
2021-06-30 12:00:28 +09:00