Address comments at ag/18372083

This includes:
1. Fix synchronization error
2. Disallow 0 as maximum counter value
3. Fix comments

Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.PerUidCounterTest
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.net.module.util.PerUidCounterTest
Bug: 229103088
Change-Id: I54c6017ffc62341d1a5da6591e5a045d687601d4
2 files changed
tree: 5e261354d48b233a52dcb00115389c3f4ac2fbe7
  1. client-libs/
  2. common/
  3. .gitignore
  4. OWNERS
  5. PREUPLOAD.cfg
  6. TEST_MAPPING