Lines Matching refs:uidRule
1147 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectStrictSetUidAccept() local
1150 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidAccept()
1151 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidAccept()
1158 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectStrictSetUidLog() local
1161 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidLog()
1162 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidLog()
1169 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectStrictSetUidReject() local
1172 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidReject()
1173 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidReject()
1534 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectBandwidthManipulateSpecialAppRuleExists() local
1537 EXPECT_TRUE(iptablesTargetsExists(binary, 1, FILTER_TABLE, chain, target, uidRule)); in expectBandwidthManipulateSpecialAppRuleExists()
1542 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectBandwidthManipulateSpecialAppRuleDoesNotExist() local
1545 EXPECT_FALSE(iptablesRuleExists(binary, chain, uidRule)); in expectBandwidthManipulateSpecialAppRuleDoesNotExist()
2389 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectFirewallUidFirstRuleExists() local
2391 EXPECT_TRUE(iptablesFirewallUidFirstRuleExists(binary, chainName, targetReturn, uidRule)); in expectFirewallUidFirstRuleExists()
2395 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectFirewallUidFirstRuleDoesNotExist() local
2397 EXPECT_FALSE(iptablesFirewallUidFirstRuleExists(binary, chainName, targetReturn, uidRule)); in expectFirewallUidFirstRuleDoesNotExist()
2401 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectFirewallUidLastRuleExists() local
2403 EXPECT_TRUE(iptablesFirewallUidLastRuleExists(binary, chainName, targetDrop, uidRule)); in expectFirewallUidLastRuleExists()
2407 std::string uidRule = StringPrintf("owner UID match %u", uid); in expectFirewallUidLastRuleDoesNotExist() local
2409 EXPECT_FALSE(iptablesFirewallUidLastRuleExists(binary, chainName, targetDrop, uidRule)); in expectFirewallUidLastRuleDoesNotExist()