Searched refs:mFw (Results 1 – 2 of 2) sorted by relevance
52 mFw = Firewall::getInstance(); in ScopeBlockedUIDRule()53 EXPECT_RESULT_OK(mFw->toggleStandbyMatch(true)); in ScopeBlockedUIDRule()54 EXPECT_RESULT_OK(mFw->addRule(mTestUid, STANDBY_MATCH)); in ScopeBlockedUIDRule()69 EXPECT_RESULT_OK(mFw->removeRule(mTestUid, STANDBY_MATCH)); in ~ScopeBlockedUIDRule()70 EXPECT_RESULT_OK(mFw->toggleStandbyMatch(false)); in ~ScopeBlockedUIDRule()82 Firewall* mFw; variable92 mFw = Firewall::getInstance(); in ScopedSetDataSaverByBPF()94 const Result<bool> current = mFw->getDataSaverSetting(); in ScopedSetDataSaverByBPF()98 EXPECT_RESULT_OK(mFw->setDataSaver(wanted)); in ScopedSetDataSaverByBPF()105 EXPECT_RESULT_OK(mFw->setDataSaver(mSavedDataSaverSetting.value())); in ~ScopedSetDataSaverByBPF()[all …]
7154 mFw = Firewall::getInstance(); in ScopedVirtualNetwork()7166 if (auto r = mFw->addUidInterfaceRules(mIfname, {uid}); !r.ok()) { in enableVpnIsolation()7177 if (auto r = mFw->removeUidInterfaceRules({uid}); !r.ok()) { in disableVpnIsolation()7209 Firewall* mFw; member in ResolverMultinetworkTest::ScopedVirtualNetwork