android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai e9eb8e2b8a Remove service-side TrafficStats rate limit cache
The service-side TrafficStats rate limit cache is no longer needed as
client-side caching is now solely responsible for rate-limiting traffic
stats queries.

This commit removes:
- The `clearTrafficStatsRateLimitCaches` AIDL method.
- The service-side cache implementation, including member variables and
  logic within `NetworkStatsService`.
- Related feature flags and constants used for the service-side cache.
- All unit tests specifically for the service-side cache.

This simplifies the overall traffic statistics caching architecture by
centralizing rate-limiting responsibility on the client side.

Flag: EXEMPT refactoring
Test: atest ConnectivityCoverageTests --test-filter '.*NetworkStats.*' --update-device
Test: atest ConnectivityCoverageTests --test-filter '.*TrafficStats.*' --update-device
Fix: 428098676
Fix: 428097311
Change-Id: I41cbb80a52f04dcf387c3352677a91cb692ffe73
2025-08-21 16:47:27 +08:00
..
connectivity replace CookieTagMapKey with S64 2025-08-07 15:52:35 -07:00
connectivityservice Merge "Use mainline beta flag for NetworkAgent event queueing" into main 2025-08-14 01:19:15 -07:00
ethernet Add EthernetPort#matches(interfaceName) 2025-06-18 14:49:41 -07:00
net Remove service-side TrafficStats rate limit cache 2025-08-21 16:47:27 +08:00
BpfNetMapsTest.java replace CookieTagMapKey with S64 2025-08-07 15:52:35 -07:00
CallbackQueueTest.kt Rename getShrinkedBackingArray to getMinimized* 2024-08-02 19:27:41 +09:00
ConnectivityServiceTest.java Merge "Use mainline beta flag for NetworkAgent event queueing" into main 2025-08-14 01:19:15 -07:00
IpSecServiceParameterizedTest.java packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
IpSecServiceRefcountedResourceTest.java packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
IpSecServiceTest.java packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
IpSecXfrmControllerTest.java [XFRM_MSG_NEWSA] Support polling SA state with netlink message 2023-12-11 18:43:34 +00:00
IpSecXfrmControllerTestHex.java [XFRM_MSG_NEWSA] Support polling SA state with netlink message 2023-12-11 18:43:34 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NsdServiceTest.java Merge "Notify offload engine with discovery service information" into main 2025-07-25 01:48:41 -07:00