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
Junyu Lai e971f15288 Fix get summary does not include the latest bucket
In internalGetSummaryForNetwork, the history object will not
include the latest bucket because of the logic in
NetworkStatsHistory#recordHistory would only include buckets
that atomically occur in the inclusive time range.

This makes querySummaryForDevice callers who are also sensitive
to the latest bucket fails.

This CL revert the behavior back to S, in T this is temporarily
changed after aosp/1937268.

Also, for test purpose, this CL change System.currentTimeMillis to
use mClock when querying.

Ignore-AOSP-First: Urgent fix
Test: NetworkStatsServiceTest#testGetLatestSummary
Bug: 233733267
Change-Id: I55e2a5d953622b68da36a9b8d3e57c88d57543b0
2022-06-01 09:34:30 +08:00
bpf_progs add proper minimum bpfloader version annotations for block/clatd/dscp_policy/netd 2022-05-19 11:46:51 +00:00
framework Merge "Revert "Autogenerate connectivity jarjar rules"" into tm-dev 2022-05-18 19:50:52 +00:00
framework-t Revert "Autogenerate connectivity jarjar rules" 2022-05-18 11:43:11 -07:00
nearby Explicitly enabled Proguard compat for NearbyMultiDevicesClientsSnippets 2022-05-17 16:00:50 +00:00
netd BpfHandler: only allow to tag INET/INET6 socket 2022-03-07 16:04:32 +08:00
service Workaround prebuilt name conflict for service-connectivity 2022-05-20 15:06:27 +00:00
service-t Fix get summary does not include the latest bucket 2022-06-01 09:34:30 +08:00
tests Fix get summary does not include the latest bucket 2022-06-01 09:34:30 +08:00
Tethering fix BpfMapTest 2022-05-20 22:45:19 +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-17 03:40:22 +00:00