Searched refs:perUidChain (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | StrictController.cpp | 165 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in setUidCleartextPenalty() local 175 LOCAL_CLEAR_CAUGHT, uid, perUidChain.c_str()), in setUidCleartextPenalty() 176 StringPrintf("-F %s", perUidChain.c_str()), in setUidCleartextPenalty() 177 StringPrintf("-X %s", perUidChain.c_str()), in setUidCleartextPenalty() 182 commands.push_back(StringPrintf(":%s -", perUidChain.c_str())); in setUidCleartextPenalty() 186 LOCAL_CLEAR_CAUGHT, uid, perUidChain.c_str())); in setUidCleartextPenalty() 189 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(), LOCAL_PENALTY_LOG)); in setUidCleartextPenalty() 191 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(), in setUidCleartextPenalty()
|
/system/netd/tests/ |
D | binder_test.cpp | 1651 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidAccept() local 1655 EXPECT_EQ(0, iptablesRuleLineLength(binary, perUidChain.c_str())); in expectStrictSetUidAccept() 1662 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidLog() local 1666 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog() 1673 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidReject() local 1677 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), rejectRule)); in expectStrictSetUidReject()
|