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 | 1301 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidAccept() local 1305 EXPECT_EQ(0, iptablesRuleLineLength(binary, perUidChain.c_str())); in expectStrictSetUidAccept() 1312 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidLog() local 1316 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog() 1323 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in expectStrictSetUidReject() local 1327 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), rejectRule)); in expectStrictSetUidReject()
|