Lines Matching refs:StringPrintf
37 using android::base::StringPrintf;
111 std::string v4Cmd = StringPrintf( in firstIPv4UpstreamCommands()
137 std::string rpfilterCmd = StringPrintf( in startNatCommands()
144 StringPrintf( in startNatCommands()
147 StringPrintf("-A tetherctrl_raw_PREROUTING -p tcp --dport 1723 -i %s -j CT " in startNatCommands()
152 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state" in startNatCommands()
155 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state INVALID -j DROP", in startNatCommands()
157 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in startNatCommands()
167 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", intIf, extIf), in startNatCommands()
168 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", extIf, intIf), in startNatCommands()
216 std::string rpfilterCmd = StringPrintf( in stopNatCommands()
223 StringPrintf( in stopNatCommands()
226 StringPrintf("-D tetherctrl_raw_PREROUTING -p tcp --dport 1723 -i %s -j CT " in stopNatCommands()
231 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -m state --state" in stopNatCommands()
234 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -m state --state INVALID -j DROP", in stopNatCommands()
236 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in stopNatCommands()