diff options
| author | Maciej Żenczykowski <maze@google.com> | 2021-01-21 01:39:41 -0800 |
|---|---|---|
| committer | Maciej Żenczykowski <maze@google.com> | 2021-01-21 02:58:45 -0800 |
| commit | e4734f195462b0b3697699de936028cbc6ffd5ba (patch) | |
| tree | 7f437f9da8b078eeea4a3db4fd77c10042d1f64a /server/TetherControllerTest.cpp | |
| parent | 288ec5b428d7dfd04c1f6d618618b57daaa48791 (diff) | |
use proper types for tether limit/stats bpf map keys/values
Test: atest, TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6161efa2a59fd27ddb84483482f21acf7fdd7f59
Diffstat (limited to 'server/TetherControllerTest.cpp')
| -rw-r--r-- | server/TetherControllerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/TetherControllerTest.cpp b/server/TetherControllerTest.cpp index 3132597b..4ae001c4 100644 --- a/server/TetherControllerTest.cpp +++ b/server/TetherControllerTest.cpp @@ -68,8 +68,8 @@ public: protected: TetherController mTetherCtrl; - BpfMap<uint32_t, TetherStatsValue> mFakeTetherStatsMap{BPF_MAP_TYPE_HASH, TEST_MAP_SIZE}; - BpfMap<uint32_t, uint64_t> mFakeTetherLimitMap{BPF_MAP_TYPE_HASH, TEST_MAP_SIZE}; + BpfMap<TetherStatsKey, TetherStatsValue> mFakeTetherStatsMap{BPF_MAP_TYPE_HASH, TEST_MAP_SIZE}; + BpfMap<TetherLimitKey, TetherLimitValue> mFakeTetherLimitMap{BPF_MAP_TYPE_HASH, TEST_MAP_SIZE}; void SetUp() { ASSERT_TRUE(mFakeTetherStatsMap.isValid()); |
