Lines Matching refs:INetd
41 using INetd = aidl::android::net::INetd; variable
44 ScopeBlockedUIDRule(INetd* netSrv, uid_t testUid) in ScopeBlockedUIDRule()
57 mNetSrv->firewallEnableChildChain(INetd::FIREWALL_CHAIN_STANDBY, true).isOk()); in ScopeBlockedUIDRule()
58 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ScopeBlockedUIDRule()
59 INetd::FIREWALL_RULE_DENY) in ScopeBlockedUIDRule()
72 EXPECT_TRUE(mNetSrv->firewallSetUidRule(INetd::FIREWALL_CHAIN_STANDBY, mTestUid, in ~ScopeBlockedUIDRule()
73 INetd::FIREWALL_RULE_ALLOW) in ~ScopeBlockedUIDRule()
76 mNetSrv->firewallEnableChildChain(INetd::FIREWALL_CHAIN_STANDBY, false).isOk()); in ~ScopeBlockedUIDRule()
81 INetd* mNetSrv;
140 using INetd = aidl::android::net::INetd; variable
143 ScopedDefaultNetwork(INetd* netSrv, uid_t testDefaultNetwork) : mNetSrv(netSrv) { in ScopedDefaultNetwork()
152 INetd* mNetSrv;