commit | 518f3b55f41418679242869999eb13a3bf081a96 | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Fri Apr 07 12:14:09 2023 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Jun 16 07:44:23 2023 +0000 |
tree | bf94f1201f0a3bcfeebb32164d470f62bc2b4c0f | |
parent | ec0add72a6bb470aeee059e36110d44744817cc7 [diff] |
Track and build KeepaliveLifetimePerCarrier. Create a nested class KeepaliveStats to store and track the carrier info and lifetime metrics for each keepalive where a keepalive is identified by its network and slot number. Then aggregate the metrics using (carrierId, transportTypes, intervalMs) as the key before writing the metrics into the KeepaliveLifetimePerCarrier proto. Also aggregates the metrics whenever a keepalive is stopped to free up the (network, slot). Bug: 273451360 Test: atest FrameworksNetTests (cherry picked from https://android-review.googlesource.com/q/commit:ad03b887e63e2ad0678fe7fc4394d23a690a14d5) Merged-In: I113ec68053710a7f41f64a9d6fa4dd83bd924225 Change-Id: I113ec68053710a7f41f64a9d6fa4dd83bd924225