android_packages_modules_Co.../framework-t
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 25c6d60f8a Return sorted NetworkStatsHistory
NetworkStatsHistory internally assumes that bucketStart is
sorted at all times. However, in the fields, we've found there
are some buckets of NetworkStatsHistory do not preserve the
order of timestamp, which is caught by the IAE when addEntry
is called.

In order to provide backward compatibility, return sorted items
instead of throwing IAE when adding entry into
NetworkStatsHistory instance.

Ignore-AOSP-First: Base change not in AOSP, will cherry-pick
                   immediately after
Test: atest android.net.netstats.NetworkStatsHistoryTest#testBuilder
Bug: 233825704
Change-Id: If3187384bd1e90770ca5873b8ec73e852fff543d
2022-05-26 22:04:43 +08:00
..
api Make some NetworkStats APIs system-current 2022-04-11 18:45:36 +08:00
jni Move socket tagging implementation to mainline. 2022-01-30 15:59:44 +09:00
src/android Return sorted NetworkStatsHistory 2022-05-26 22:04:43 +08:00
Android.bp Use Sources.bp for building 2022-03-25 14:58:43 +00:00
Sources.bp Remove unused empty filegroups from connectivityT package. 2022-04-04 07:00:59 +00:00