commit | aec798b6391d520f424c26d03437ca59de365e62 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Tue Apr 28 22:15:56 2020 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Apr 29 15:07:45 2020 +0800 |
tree | f626ac0f99e9fe0ee06bd16b18cc2eb84f1f07b9 | |
parent | 5c8e3be44928d39193c5db7a3a8f5a796f31c7a5 [diff] |
Filter debug entries for each vpn NetworkStats calculation needs to filter out debug entries to prevent over counting. While NetworkStatsFactory migrates data usage over a VPN to the TUN network, NetworkStatsFactory does not filter out debug entries per vpn which will cause debug entries left and cause exception. Bug: 152678151 Test: atest com.android.server.net.NetworkStatsFactoryTest and verify no exception Change-Id: I3525edc385b07858b48c7add2d331c4b5a2e84ad