commit | a121e20ec1f3bd3ce05fb90da1eaba3bef5ed568 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Mon Mar 19 11:51:54 2018 -0700 |
committer | Chenbo Feng <fengc@google.com> | Mon Mar 19 16:48:44 2018 -0700 |
tree | dc9419346d8a0871d84266f9cc05aefa55f86b79 | |
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