Lines Matching refs:StringAppendF
42 using android::base::StringAppendF;
168 StringAppendF(&command, "%s %s -j %s\n", (enable ? "-A" : "-D"), parent, name); in enableChildChains()
170 StringAppendF(&command, "COMMIT\n"); in enableChildChains()
267 StringAppendF(&command, "%s %s -m owner --uid-owner %d -j %s\n", in setUidRule()
270 StringAppendF(&command, "COMMIT\n"); in setUidRule()
286 StringAppendF(&commands, "-A %s -p icmpv6 --icmpv6-type %s -j RETURN\n", in makeCriticalCommands()
296 StringAppendF(&commands, "*filter\n:%s -\n", name); in makeUidRules()
301 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j RETURN\n", name, uid); in makeUidRules()
305 StringAppendF(&commands, in makeUidRules()
310 StringAppendF(&commands, in makeUidRules()
314 StringAppendF(&commands, "-A %s -p esp -j RETURN\n", name); in makeUidRules()
318 StringAppendF(&commands, "-A %s -i lo -j RETURN\n", name); in makeUidRules()
319 StringAppendF(&commands, "-A %s -o lo -j RETURN\n", name); in makeUidRules()
323 StringAppendF(&commands, "-A %s -p tcp --tcp-flags RST RST -j RETURN\n", name); in makeUidRules()
332 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j DROP\n", name, uid); in makeUidRules()
339 StringAppendF(&commands, "-A %s -j DROP\n", name); in makeUidRules()
342 StringAppendF(&commands, "COMMIT\n"); in makeUidRules()