commit | ada6a4228d0b2793afb6cfeb9666fc94a8b8f287 | [log] [tgz] |
---|---|---|
author | Jimi Chen <jimictw@google.com> | Fri Jun 28 07:24:57 2024 +0000 |
committer | Jimi Chen <jimictw@google.com> | Fri Jun 28 07:58:07 2024 +0000 |
tree | 17a357cbc75b6f6dea3807f7ca869d5fe5c46f5f | |
parent | 55747eeed0eac27e37dc6a857c36392d54c965f2 [diff] |
Refactor mapping from APF counters to metrics counters Use EnumMap for APF counters to metrics counters. It is easier to tell the missing metrics counter if they keep the same declaration sequence Test: atest NetworkStackTests:com.android.networkstack.metrics.ApfSessionInfoMetricsTest Change-Id: I5dc0b5c4f8e35ab94cd01324306e314be526bd02