Lines Matching refs:StringPrintf
48 using android::base::StringPrintf;
98 StringPrintf("-I bw_penalty_box -m bpf --object-pinned %s -j REJECT\n",
103 StringPrintf("-I bw_happy_box -m bpf --object-pinned %s -j RETURN\n",
109 StringPrintf("-A bw_raw_PREROUTING -m bpf --object-pinned %s\n", XT_BPF_INGRESS_PROG_PATH) +
116 StringPrintf("-A bw_mangle_POSTROUTING -m bpf --object-pinned %s\n",
320 StringPrintf(":%s -", c_chain), in makeInterfaceQuotaCommands()
321 StringPrintf("-A %s -j bw_penalty_box", c_chain), in makeInterfaceQuotaCommands()
322 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceQuotaCommands()
323 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceQuotaCommands()
324 StringPrintf("-A bw_FORWARD -i %s -j %s", c_iface, c_chain), in makeInterfaceQuotaCommands()
325 StringPrintf("-A bw_FORWARD -o %s -j %s", c_iface, c_chain), in makeInterfaceQuotaCommands()
326 StringPrintf("-A %s -m quota2 ! --quota %" PRIu64 " --name %s -j REJECT", c_chain, in makeInterfaceQuotaCommands()
339 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
340 StringPrintf("-D bw_OUTPUT -o %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
341 StringPrintf("-D bw_FORWARD -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
342 StringPrintf("-D bw_FORWARD -o %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
343 StringPrintf("-F %s", c_chain), in removeInterfaceQuotaCommands()
344 StringPrintf("-X %s", c_chain), in removeInterfaceQuotaCommands()
377 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
378 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
379 StringPrintf("-A bw_FORWARD -i %s -j %s", c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
380 StringPrintf("-A bw_FORWARD -o %s -j %s", c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
383 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands()
397 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
398 StringPrintf("-D bw_OUTPUT -o %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
399 StringPrintf("-D bw_FORWARD -i %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
400 StringPrintf("-D bw_FORWARD -o %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
403 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands()