Lines Matching refs:mTetherCtrl

70     TetherController mTetherCtrl;  member in android::net::TetherControllerTest
80 mTetherCtrl.mBpfStatsMap = mFakeTetherStatsMap; in SetUp()
81 ASSERT_TRUE(mTetherCtrl.mBpfStatsMap.isValid()); in SetUp()
82 mTetherCtrl.mBpfLimitMap = mFakeTetherLimitMap; in SetUp()
83 ASSERT_TRUE(mTetherCtrl.mBpfLimitMap.isValid()); in SetUp()
105 return mTetherCtrl.setDefaults(); in setDefaults()
300 mTetherCtrl.setupIptablesHooks(); in TEST_F()
313 mTetherCtrl.enableNat("wlan0", "rmnet0"); in TEST_F()
319 mTetherCtrl.enableNat("usb0", "rmnet0"); in TEST_F()
324 mTetherCtrl.disableNat("wlan0", "rmnet0"); in TEST_F()
331 mTetherCtrl.disableNat("usb0", "rmnet0"); in TEST_F()
336 mTetherCtrl.enableNat("wlan0", "rmnet0"); in TEST_F()
342 mTetherCtrl.disableNat("wlan0", "rmnet0"); in TEST_F()
350 mTetherCtrl.enableNat("wlan0", "rmnet0"); in TEST_F()
357 mTetherCtrl.enableNat("wlan0", "v4-rmnet0"); in TEST_F()
363 mTetherCtrl.enableNat("wlan0", "v4-rmnet0"); in TEST_F()
368 mTetherCtrl.disableNat("wlan0", "v4-rmnet0"); in TEST_F()
374 mTetherCtrl.disableNat("wlan0", "rmnet0"); in TEST_F()
411 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F()
416 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F()
420 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F()
425 StatusOr<TetherStatsList> result = mTetherCtrl.getTetherStats(); in TEST_F()
433 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F()
440 result = mTetherCtrl.getTetherStats(); in TEST_F()
450 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F()
454 ASSERT_FALSE(isOk(mTetherCtrl.getTetherStats())); in TEST_F()
464 result = mTetherCtrl.getTetherStats(); in TEST_F()
475 result = mTetherCtrl.getTetherStats(); in TEST_F()
496 const StatusOr<TetherOffloadStatsList> result = mTetherCtrl.getTetherOffloadStats(); in TEST_F()
514 ASSERT_EQ(0, mTetherCtrl.setTetherOffloadInterfaceQuota(ifindex, minQuota)); in TEST_F()
515 const StatusOr<TetherOffloadStatsList> result = mTetherCtrl.getTetherOffloadStats(); in TEST_F()
527 ASSERT_EQ(0, mTetherCtrl.setTetherOffloadInterfaceQuota(ifindex, quota)); in TEST_F()
538 int ret = mTetherCtrl.setTetherOffloadInterfaceQuota(invalidIfindex /*bad*/, infinityQuota); in TEST_F()
543 ret = mTetherCtrl.setTetherOffloadInterfaceQuota(ifindex, invalidQuota /*bad*/); in TEST_F()