Lines Matching refs:StringPrintf
40 using android::base::StringPrintf;
114 std::string v4Cmd = StringPrintf( in firstIPv4UpstreamCommands()
140 std::string rpfilterCmd = StringPrintf( in startNatCommands()
147 StringPrintf( in startNatCommands()
150 StringPrintf("-A tetherctrl_raw_PREROUTING -p tcp --dport 1723 -i %s -j CT " in startNatCommands()
155 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state" in startNatCommands()
158 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state INVALID -j DROP", in startNatCommands()
160 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in startNatCommands()
170 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", intIf, extIf), in startNatCommands()
171 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", extIf, intIf), in startNatCommands()
219 std::string rpfilterCmd = StringPrintf( in stopNatCommands()
226 StringPrintf( in stopNatCommands()
229 StringPrintf("-D tetherctrl_raw_PREROUTING -p tcp --dport 1723 -i %s -j CT " in stopNatCommands()
234 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -m state --state" in stopNatCommands()
237 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -m state --state INVALID -j DROP", in stopNatCommands()
239 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in stopNatCommands()