Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dprint_interface_proto.cc76 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
81 base::StringAppendF(&output, "%s", GetProtoDebugStringWithIndent( in GetProtoDebugStringWithIndent()
88 base::StringAppendF(&output, "%s", GetProtoDebugStringWithIndent( in GetProtoDebugStringWithIndent()
95 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
103 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
108 base::StringAppendF(&output, "%s", value.origin().c_str()); in GetProtoDebugStringWithIndent()
128 base::StringAppendF( in GetProtoDebugStringWithIndent()
135 base::StringAppendF(&output, "%s", value.server_error().c_str()); in GetProtoDebugStringWithIndent()
140 base::StringAppendF(&output, "%s", value.certificate_chain().c_str()); in GetProtoDebugStringWithIndent()
159 base::StringAppendF(&output, "%s", value.key_label().c_str()); in GetProtoDebugStringWithIndent()
[all …]
Dprint_common_proto.cc94 base::StringAppendF( in GetProtoDebugStringWithIndent()
101 base::StringAppendF( in GetProtoDebugStringWithIndent()
109 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
117 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
139 base::StringAppendF( in GetProtoDebugStringWithIndent()
147 base::StringAppendF( in GetProtoDebugStringWithIndent()
154 base::StringAppendF( in GetProtoDebugStringWithIndent()
161 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
169 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
191 base::StringAppendF( in GetProtoDebugStringWithIndent()
[all …]
/system/tpm/tpm_manager/common/
Dprint_tpm_manager_proto.cc135 base::StringAppendF(&output, "%u (0x%08X)", value.index(), value.index()); in GetProtoDebugStringWithIndent()
140 base::StringAppendF( in GetProtoDebugStringWithIndent()
147 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
153 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
160 base::StringAppendF(&output, ", "); in GetProtoDebugStringWithIndent()
162 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
184 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
193 base::StringAppendF(&output, ", "); in GetProtoDebugStringWithIndent()
195 base::StringAppendF(&output, "%s", value.owner_dependency(i).c_str()); in GetProtoDebugStringWithIndent()
200 base::StringAppendF(&output, "%s", in GetProtoDebugStringWithIndent()
[all …]
/system/netd/server/
DFirewallController.cpp31 using android::base::StringAppendF;
123 StringAppendF(&command, "%s %s -j %s\n", (enable ? "-A" : "-D"), parent, name); in enableChildChains()
125 StringAppendF(&command, "COMMIT\n"); in enableChildChains()
266 StringAppendF(&command, "%s %s -m owner --uid-owner %d -j %s\n", in setUidRule()
269 StringAppendF(&command, "COMMIT\n"); in setUidRule()
282 StringAppendF(&commands, "*filter\n:%s -\n", name); in makeUidRules()
287 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j RETURN\n", name, uid); in makeUidRules()
291 StringAppendF(&commands, in makeUidRules()
296 StringAppendF(&commands, "-A %s -i lo -j RETURN\n", name); in makeUidRules()
297 StringAppendF(&commands, "-A %s -o lo -j RETURN\n", name); in makeUidRules()
[all …]
DUidRanges.cpp28 using android::base::StringAppendF;
110 StringAppendF(&s, "<BAD: %u-%u> ", range.getStart(), range.getStop()); in toString()
112 StringAppendF(&s, "%u ", range.getStart()); in toString()
114 StringAppendF(&s, "%u-%u ", range.getStart(), range.getStop()); in toString()
117 StringAppendF(&s, "}"); in toString()
DBandwidthController.cpp71 using android::base::StringAppendF;
355 StringAppendF(&cmd, "%s %s -m owner --uid-owner %s%s\n", opToString(op), chain, in manipulateSpecialApps()
358 StringAppendF(&cmd, "COMMIT\n"); in manipulateSpecialApps()
745 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_INPUT", bytes, alertName); in runIptablesAlertCmd()
746 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_OUTPUT", bytes, alertName); in runIptablesAlertCmd()
747 StringAppendF(&alertQuotaCmd, "COMMIT\n"); in runIptablesAlertCmd()
755 StringAppendF(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_FORWARD", bytes, alertName); in runIptablesAlertFwdCmd()
756 StringAppendF(&alertQuotaCmd, "COMMIT\n"); in runIptablesAlertFwdCmd()
/system/core/base/
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/core/base/include/android-base/
Dstringprintf.h44 void StringAppendF(std::string* dst, const char* fmt, ...)
/system/tools/aidl/tests/
Dfake_io_delegate.cpp25 using android::base::StringAppendF;
128 StringAppendF(&contents, "parcelable %s.%s;\n", in AddCompoundParcelable()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp179 android::base::StringAppendF(&logline, " %" PRIPTR, addr);
185 android::base::StringAppendF(&logline, " %" PRIPTR, *data_ptr);
/system/update_engine/common/
Dutils.cc846 base::StringAppendF(&str, "%ud", days); in FormatTimeDelta()
848 base::StringAppendF(&str, "%uh", hours); in FormatTimeDelta()
850 base::StringAppendF(&str, "%um", mins); in FormatTimeDelta()
851 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
858 base::StringAppendF(&str, ".%0*u", width, usecs); in FormatTimeDelta()
860 base::StringAppendF(&str, "s"); in FormatTimeDelta()
Dhttp_fetcher_unittest.cc1119 base::StringAppendF(&tmp_str, "%jd", it->second); in MultiTest()
1122 base::StringAppendF(&tmp_str, "?"); in MultiTest()
/system/core/adb/
Dadb_listeners.cpp131 android::base::StringAppendF(&result, "%s %s %s\n", in format_listeners()
Dadb_utils.cpp166 android::base::StringAppendF(&line, "%02x", p[i]); in dump_hex()
Dfdevent.cpp230 android::base::StringAppendF(&result, " %d(%s)", pollfd.fd, op.c_str()); in dump_pollfds()
Dtransport.cpp860 … android::base::StringAppendF(result, "%-22s %s", serial, t->connection_state_name().c_str()); in append_transport()
/system/update_engine/
Dtest_http_server.cc135 base::StringAppendF(&tmp_str, "%jd (non-inclusive)", in ParseRequest()
138 base::StringAppendF(&tmp_str, "unspecified"); in ParseRequest()
/system/core/init/
Dutil.cpp322 android::base::StringAppendF(&hex, "%02x", bytes[i]); in bytes_to_hex()
/system/netd/tests/
Dnetd_test.cpp57 using android::base::StringAppendF;