Home
last modified time | relevance | path

Searched refs:Firewall (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/tests/native/utilities/
Dfirewall.cpp23 Firewall::Firewall() { in Firewall() function in Firewall
38 Firewall* Firewall::getInstance() { in getInstance()
39 static Firewall instance; in getInstance()
43 Result<void> Firewall::toggleStandbyMatch(bool enable) { in toggleStandbyMatch()
59 Result<void> Firewall::addRule(uint32_t uid, UidOwnerMatchType match, uint32_t iif) { in addRule()
89 Result<void> Firewall::removeRule(uint32_t uid, UidOwnerMatchType match) { in removeRule()
108 Result<void> Firewall::addUidInterfaceRules(const std::string& ifName, in addUidInterfaceRules()
120 Result<void> Firewall::removeUidInterfaceRules(const std::vector<int32_t>& uids) { in removeUidInterfaceRules()
128 Result<bool> Firewall::getDataSaverSetting() { in getDataSaverSetting()
141 Result<void> Firewall::setDataSaver(bool enabled) { in setDataSaver()
Dfirewall.h28 class Firewall {
30 Firewall() EXCLUDES(mMutex);
31 static Firewall* getInstance();
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h52 mFw = Firewall::getInstance(); in ScopeBlockedUIDRule()
82 Firewall* mFw;
92 mFw = Firewall::getInstance(); in ScopedSetDataSaverByBPF()
110 Firewall* mFw;
Dresolv_test_utils.cpp237 Firewall* firewall = Firewall::getInstance(); in AllowNetworkInBackground()
Dresolv_integration_test.cpp7154 mFw = Firewall::getInstance(); in ScopedVirtualNetwork()
7209 Firewall* mFw;