/system/netd/server/ |
D | FirewallController.cpp | 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() [all …]
|
D | UidRanges.cpp | 28 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()
|
D | Controllers.cpp | 39 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()
|
D | BandwidthController.cpp | 73 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()
|
D | TetherController.cpp | 67 using android::base::StringAppendF; 1222 StringAppendF(&str, "%02x", addr[0]); in l2ToString() 1224 StringAppendF(&str, ":%02x", addr[i]); in l2ToString()
|
/system/libbase/ |
D | stringprintf_test.cpp | 29 TEST(StringPrintfTest, StringAppendF) { in TEST() argument 31 android::base::StringAppendF(&s, "b"); in TEST()
|
D | errors_windows.cpp | 63 android::base::StringAppendF(&msg, " (%lu)", error_code); in SystemErrorCodeToString()
|
D | stringprintf.cpp | 77 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() function
|
/system/libbase/include/android-base/ |
D | stringprintf.h | 32 void StringAppendF(std::string* dst, const char* fmt, ...)
|
/system/tools/aidl/tests/ |
D | fake_io_delegate.cpp | 26 using android::base::StringAppendF; 133 StringAppendF(&contents, "parcelable %s.%s;\n", in AddCompoundParcelable()
|
/system/update_engine/common/ |
D | utils.cc | 734 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()
|
D | http_fetcher_unittest.cc | 1143 base::StringAppendF(&tmp_str, "%jd", it->second); in MultiTest() 1146 base::StringAppendF(&tmp_str, "?"); in MultiTest()
|
/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 214 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/ |
D | fdevent_poll.cpp | 98 android::base::StringAppendF(&result, " %d(%s)", pollfd.fd, op.c_str()); in dump_pollfds()
|
/system/core/adb/ |
D | adb_listeners.cpp | 136 android::base::StringAppendF( in format_listeners()
|
D | adb_utils.cpp | 173 android::base::StringAppendF(&line, "%02x", p[i]); in dump_hex()
|
D | transport.cpp | 1323 android::base::StringAppendF(result, "%-22s %s", serial.c_str(), in append_transport()
|
/system/update_engine/ |
D | test_http_server.cc | 138 base::StringAppendF( in ParseRequest() 141 base::StringAppendF(&tmp_str, "unspecified"); in ParseRequest()
|
/system/vold/ |
D | VolumeManager.cpp | 74 using android::base::StringAppendF;
|
D | Utils.cpp | 841 android::base::StringAppendF(&prefixWithSlash, "/"); in findMountPointsWithPrefix()
|