Home
last modified time | relevance | path

Searched refs:perUidChain (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DStrictController.cpp165 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/
Dbinder_test.cpp1174 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidAccept() local
1178 EXPECT_EQ(0, iptablesRuleLineLength(binary, perUidChain.c_str())); in expectStrictSetUidAccept()
1185 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidLog() local
1189 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog()
1196 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidReject() local
1200 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), rejectRule)); in expectStrictSetUidReject()