Lines Matching refs:StringPrintf
45 using android::base::StringPrintf;
69 #define CMD_V4(...) { auto cmd = StringPrintf(__VA_ARGS__); v4.push_back(cmd); } in setupIptablesHooks()
70 #define CMD_V6(...) { auto cmd = StringPrintf(__VA_ARGS__); v6.push_back(cmd); } in setupIptablesHooks()
144 #define CLEAR_CHAIN(x) StringPrintf(":%s -", (x)) in resetChains()
165 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); in setUidCleartextPenalty()
172 StringPrintf("-D %s -m owner --uid-owner %d -j %s", in setUidCleartextPenalty()
174 StringPrintf("-D %s -m owner --uid-owner %d -j %s", 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()
183 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s", in setUidCleartextPenalty()
185 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s", 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()