Lines Matching refs:StringPrintf
47 using android::base::StringPrintf;
269 StringPrintf(":%s -", c_chain), in makeInterfaceQuotaCommands()
270 StringPrintf("-A %s -j bw_penalty_box", c_chain), in makeInterfaceQuotaCommands()
271 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceQuotaCommands()
272 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceQuotaCommands()
273 StringPrintf("-A bw_FORWARD -i %s -j %s", c_iface, c_chain), in makeInterfaceQuotaCommands()
274 StringPrintf("-A bw_FORWARD -o %s -j %s", c_iface, c_chain), in makeInterfaceQuotaCommands()
275 StringPrintf("-A %s -m quota2 ! --quota %" PRIu64 " --name %s -j REJECT", c_chain, in makeInterfaceQuotaCommands()
288 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
289 StringPrintf("-D bw_OUTPUT -o %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
290 StringPrintf("-D bw_FORWARD -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
291 StringPrintf("-D bw_FORWARD -o %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
292 StringPrintf("-F %s", c_chain), in removeInterfaceQuotaCommands()
293 StringPrintf("-X %s", c_chain), in removeInterfaceQuotaCommands()
326 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
327 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
328 StringPrintf("-A bw_FORWARD -i %s -j %s", c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
329 StringPrintf("-A bw_FORWARD -o %s -j %s", c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
332 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands()
346 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
347 StringPrintf("-D bw_OUTPUT -o %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
348 StringPrintf("-D bw_FORWARD -i %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
349 StringPrintf("-D bw_FORWARD -o %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
352 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands()