Home
last modified time | relevance | path

Searched refs:StringAppendF (Results 1 – 20 of 20) sorted by relevance

/system/netd/server/
DFirewallController.cpp42 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()
[all …]
DUidRanges.cpp28 using android::base::StringAppendF;
134 StringAppendF(&s, "<BAD: %u-%u> ", range.start, range.stop); in toString()
136 StringAppendF(&s, "%u ", range.start); in toString()
138 StringAppendF(&s, "%u-%u ", range.start, range.stop); in toString()
141 StringAppendF(&s, "}"); in toString()
DControllers.cpp39 using android::base::StringAppendF;
176 StringAppendF(&command, ":%s -\n", parentChain); in createChildChains()
177 StringAppendF(&command, "-F %s\n", parentChain); in createChildChains()
184 StringAppendF(&command, ":%s -\n", childChain); in createChildChains()
187 StringAppendF(&command, CHILD_CHAIN_TEMPLATE, parentChain, childChain); in createChildChains()
DBandwidthController.cpp73 using android::base::StringAppendF;
340 StringAppendF(&cmd, in makeDataSaverCommand()
407 StringAppendF(&cmd, "%s %s -m owner --uid-owner %s%s\n", opToString(op), chain.c_str(), in manipulateSpecialApps()
410 StringAppendF(&cmd, "COMMIT\n"); in manipulateSpecialApps()
659 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, LOCAL_GLOBAL_ALERT, bytes, in runIptablesAlertCmd()
661 StringAppendF(&alertQuotaCmd, "COMMIT\n"); in runIptablesAlertCmd()
DTetherController.cpp67 using android::base::StringAppendF;
1222 StringAppendF(&str, "%02x", addr[0]); in l2ToString()
1224 StringAppendF(&str, ":%02x", addr[i]); in l2ToString()
/system/libbase/
Dstringprintf_test.cpp29 TEST(StringPrintfTest, StringAppendF) { in TEST() argument
31 android::base::StringAppendF(&s, "b"); in TEST()
Derrors_windows.cpp63 android::base::StringAppendF(&msg, " (%lu)", error_code); in SystemErrorCodeToString()
Dstringprintf.cpp77 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() function
/system/libbase/include/android-base/
Dstringprintf.h32 void StringAppendF(std::string* dst, const char* fmt, ...)
/system/tools/aidl/tests/
Dfake_io_delegate.cpp26 using android::base::StringAppendF;
133 StringAppendF(&contents, "parcelable %s.%s;\n", in AddCompoundParcelable()
/system/update_engine/common/
Dutils.cc734 base::StringAppendF(&str, "%ud", days); in FormatTimeDelta()
736 base::StringAppendF(&str, "%uh", hours); in FormatTimeDelta()
738 base::StringAppendF(&str, "%um", mins); in FormatTimeDelta()
739 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
746 base::StringAppendF(&str, ".%0*u", width, usecs); in FormatTimeDelta()
748 base::StringAppendF(&str, "s"); in FormatTimeDelta()
Dhttp_fetcher_unittest.cc1143 base::StringAppendF(&tmp_str, "%jd", it->second); in MultiTest()
1146 base::StringAppendF(&tmp_str, "?"); in MultiTest()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp214 android::base::StringAppendF(&logline, " %" PRIPTR, tagged_addr); in dump_memory()
220 android::base::StringAppendF(&logline, " %" PRIPTR, static_cast<uint64_t>(*data_ptr)); in dump_memory()
/system/core/adb/fdevent/
Dfdevent_poll.cpp98 android::base::StringAppendF(&result, " %d(%s)", pollfd.fd, op.c_str()); in dump_pollfds()
/system/core/adb/
Dadb_listeners.cpp136 android::base::StringAppendF( in format_listeners()
Dadb_utils.cpp173 android::base::StringAppendF(&line, "%02x", p[i]); in dump_hex()
Dtransport.cpp1323 android::base::StringAppendF(result, "%-22s %s", serial.c_str(), in append_transport()
/system/update_engine/
Dtest_http_server.cc138 base::StringAppendF( in ParseRequest()
141 base::StringAppendF(&tmp_str, "unspecified"); in ParseRequest()
/system/vold/
DVolumeManager.cpp74 using android::base::StringAppendF;
DUtils.cpp841 android::base::StringAppendF(&prefixWithSlash, "/"); in findMountPointsWithPrefix()