[FUI17] Migrate NetworkStatsService to use NetworkStateSnapshot

This change migrates NetworkStatsService and related code to use
NetworkStateSnapshot which is used for replacing the NetworkState.

This patch also changes some formating which is suggested by
the linter.

Test: FrameworksNetTests NetworkPolicyManagerServiceTest
Bug: 174123988
Change-Id: I547da8f411cb45bdadc376ac3cadf3f3c55bb282
4 files changed
tree: d118cec8fa0f2817288f4f751162d10f207ea471
  1. core/
  2. framework/
  3. service/
  4. services/
  5. tests/
  6. OWNERS