android_packages_modules_Co.../tests/unit/java/com/android
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
..
internal/net Move platform VPN related test to FrameworksVpnTests 2024-03-01 07:03:14 +00:00
metrics Include NET_CAPABILITY_NOT_VCN_MANAGED for tethering local network agent 2025-08-06 11:24:33 +08:00
server Remove service-side TrafficStats rate limit cache 2025-08-21 16:47:27 +08:00