diff options
| author | Chenbo Feng <fengc@google.com> | 2018-03-19 11:51:54 -0700 |
|---|---|---|
| committer | Chenbo Feng <fengc@google.com> | 2018-03-19 16:48:44 -0700 |
| commit | a121e20ec1f3bd3ce05fb90da1eaba3bef5ed568 (patch) | |
| tree | dc9419346d8a0871d84266f9cc05aefa55f86b79 /server/TetherController.cpp | |
| parent | fd4ece7c67a6ab4149d4676b7694de71aca56b90 (diff) | |
Fixing the BandwidthController unit test
The BandwidthController unit test cannot directly use gCtrl->trafficCtrl
to check if the bpf stats feature is avaliable. Rewrite the
getBpfStatsStatus() function of BandwidthController so it is also
functioning when in BandwidthController unit tests.
Bug: 72111305
Test: ./netd_unit_test
Change-Id: Ie60ed384b7f8d42b8e1f3417949d46895bea6572
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions
