Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c299b2aa authored by Ivo Kay's avatar Ivo Kay
Browse files

Accumulate NetworkStats since boot in StatsPullAtomService

BytesTransfer atoms need to return stats since boot, whilst
NetworkStats persists data only for a limited amount of time.

It is necessary to accumulate stats internally to return
correct data after time since boot exceeds persistence window.

Bug: 352537247
Test: atest FrameworksServicesTests:NetworkStatsAccumulatorTest
Flag: com.android.server.stats.accumulate_network_stats_since_boot
Change-Id: Icdd641dba8d359ae5e054287af042a23082a896f
parent 1f22de8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment