No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti ec2fbb7159 Don't clobber existing history entries.
Currently, adding a history to a NetworkStatsCollection.Builder
will overwrite any history that was previously passed in with the
same key. This breaks the importer (which is the primary/only
caller of this code), because the importer re-uses the same
NetworkStatsCollection object to import multiple files.

Instead, simply add any passed-in entries after the ones that
were already there. Require the caller to pass in entries in
order, because NetworkStatsHistory internally assumes that
entris are always sorted.

Bug: 230289468
Test: manually verified this unbreaks the importer
Change-Id: Ic8647ff28fca78d579d5f759f96a864877f8158b
Merged-In: Ic8647ff28fca78d579d5f759f96a864877f8158b
  (pure cherry-picked from ag/18453213)
2022-05-24 11:37:42 +08:00
bpf_progs Merge changes If52ece61,Iedf344f6 2022-05-17 01:42:00 +00:00
framework Merge changes If52ece61,Iedf344f6 2022-05-17 01:42:00 +00:00
framework-t Don't clobber existing history entries. 2022-05-24 11:37:42 +08:00
nearby Rename "service-nearby" to "service-nearby-pre-jarjar" 2022-03-10 04:32:19 +00:00
netd drop support for pre-4.14 kernels 2022-05-16 11:04:22 -07:00
service Merge changes If52ece61,Iedf344f6 2022-05-17 01:42:00 +00:00
service-t Ensure NetworkStats migrated snapshot is identical 2022-05-24 11:37:12 +08:00
tests Don't clobber existing history entries. 2022-05-24 11:37:42 +08:00
Tethering Merge "Prepare for refactoring wifi ipserver start/stop" 2022-05-17 02:56:33 +00:00
tools Clarify comment in gen_jarjar.py 2022-05-16 09:10:37 +00:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking add prohr to OWNERS_core_networking 2022-01-11 18:54:31 +00:00
OWNERS_core_networking_xts Add an OWNERS_core_networking_xts for CTS/GTS/... and use it. 2022-01-18 01:42:39 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Add CtsNetTestCasesLatestSdk to presubmit 2022-05-16 15:51:46 +08:00