/system/netd/server/ |
IptablesRestoreControllerTest.cpp | 28 #include <android-base/stringprintf.h> 42 using android::base::StringPrintf; 83 std::string statPath = StringPrintf("/proc/%d/stat", pid); 105 mChainName = StringPrintf("netd_unit_test_%u", arc4random_uniform(10000)).c_str(); 110 StringPrintf(":%s -", mChainName.c_str()), 111 StringPrintf("-A %s -j RETURN", mChainName.c_str()), 124 StringPrintf(":%s -", mChainName.c_str()), // Flush chain (otherwise we can't delete it). 125 StringPrintf("-X %s", mChainName.c_str()), // Delete it. 226 StringPrintf("Chain %s (0 references)", mChainName.c_str()), 229 StringPrintf("Chain %s (0 references)", mChainName.c_str()) [all...] |
RouteControllerTest.cpp | 26 #include <android-base/stringprintf.h> 28 using android::base::StringPrintf; 102 expectIptablesRestoreCommands({StringPrintf( 109 expectIptablesRestoreCommands({StringPrintf(
|
TetherControllerTest.cpp | 29 #include <android-base/stringprintf.h> 37 using android::base::StringPrintf; 98 std::string v4Cmd = StringPrintf( 124 std::string rpfilterCmd = StringPrintf( 131 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state" 133 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -m state --state INVALID -j DROP", 135 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", 145 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", intIf, extIf), 146 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", extIf, intIf), 192 std::string rpfilterCmd = StringPrintf( [all...] |
/system/nfc/src/nfa/dm/ |
nfa_dm_ndef.cc | 26 #include <android-base/stringprintf.h> 33 using android::base::StringPrintf; 144 LOG(WARNING) << StringPrintf("Default NDEF handler being changed."); 151 << StringPrintf("Default NDEF handler successfully registered."); 181 << StringPrintf("NDEF handler successfully registered. Handle=0x%08x", 192 LOG(ERROR) << StringPrintf("NDEF handler failed to register."); 221 LOG(ERROR) << StringPrintf("Invalid handle for NDEF type handler: 0x%08x", 375 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 402 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 417 LOG(ERROR) << StringPrintf( [all...] |
/system/nfc/src/nfc/llcp/ |
llcp_sdp.cc | 27 #include <android-base/stringprintf.h> 36 using android::base::StringPrintf; 134 << StringPrintf("tid=0x%x, ServiceName=%s", tid, p_name); 229 << StringPrintf("tid=0x%x, SAP=0x%x", tid, sap); 329 << StringPrintf("tid=0x%x, SAP=0x%x", tid, sap); 393 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 417 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 421 << StringPrintf("%s: Strings are not equal", __func__); 431 LOG(ERROR) << StringPrintf("%s: Calling llcp_sdp_send_sdres", 437 LOG(ERROR) << StringPrintf("bad length (%d) in LLCP_SDREQ_TYPE" [all...] |
llcp_main.cc | 27 #include <android-base/stringprintf.h> 36 using android::base::StringPrintf; 89 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 103 << StringPrintf("max_num_tx_buff = %d, max_num_ll_tx_buff = %d", 152 << StringPrintf("llcp_process_timeout: event=%d", p_tle->event);
|
/system/nfc/src/nfc/nfc/ |
nfc_vs.cc | 28 #include <android-base/stringprintf.h> 36 using android::base::StringPrintf; 96 LOG(ERROR) << StringPrintf("buffer offset must be >= %d", 142 LOG(ERROR) << StringPrintf("buffer offset must be >= %d",
|
/art/runtime/ |
elf_file.cc | 24 #include "android-base/stringprintf.h" 37 using android::base::StringPrintf; 110 *error_msg = StringPrintf("Failed to get length of file: '%s' fd=%d: %s", 116 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF header of " 140 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF program " 155 *error_msg = StringPrintf("Failed to map ELF program headers: %s", error_msg->c_str()); 170 *error_msg = StringPrintf("Failed to map ELF file: %s", error_msg->c_str()); 190 *error_msg = StringPrintf("Failed to find shstrtab section header in ELF file: '%s'", 198 *error_msg = StringPrintf("Failed to find PT_DYNAMIC program header in ELF file: '%s'", 212 *error_msg = StringPrintf("Failed to find section header for section %d in ELF file: '%s'" [all...] |
indirect_reference_table-inl.h | 22 #include "android-base/stringprintf.h" 42 AbortIfNoCheckJNI(android::base::StringPrintf("JNI ERROR (app bug): invalid %s %p", 50 std::string msg = android::base::StringPrintf( 60 AbortIfNoCheckJNI(android::base::StringPrintf("JNI ERROR (app bug): accessed deleted %s %p", 77 std::string msg = android::base::StringPrintf(
|
/bootable/recovery/ |
rotate_logs.cpp | 28 #include <android-base/stringprintf.h> 92 std::string old_log = android::base::StringPrintf("%s", last_log_file); 96 std::string new_log = android::base::StringPrintf("%s.%d", last_log_file, i + 1); 100 std::string old_kmsg = android::base::StringPrintf("%s", last_kmsg_file); 104 std::string new_kmsg = android::base::StringPrintf("%s.%d", last_kmsg_file, i + 1);
|
/build/kati/ |
stringprintf.cc | 17 #include "stringprintf.h" 22 string StringPrintf(const char* format, ...) {
|
/external/libchrome/base/trace_event/ |
memory_allocator_dump_guid.cc | 9 #include "base/strings/stringprintf.h" 34 return StringPrintf("%" PRIx64, guid_);
|
/external/libmojo/base/ |
unguessable_token.cc | 9 #include "base/strings/stringprintf.h" 17 return base::StringPrintf("(%08" PRIX64 "%08" PRIX64 ")", high_, low_);
|
/external/libmojo/ui/gfx/range/ |
range.cc | 12 #include "base/strings/stringprintf.h" 27 return base::StringPrintf("{%" PRIu32 ",%" PRIu32 "}", start(), end());
|
/external/protobuf/src/google/protobuf/stubs/ |
stringprintf.h | 31 // from google3/base/stringprintf.h 36 // string result = StringPrintf("%d %s\n", 10, "hello"); 53 LIBPROTOBUF_EXPORT extern string StringPrintf(const char* format, ...);
|
/frameworks/base/core/jni/ |
fd_utils.cpp | 31 #include <android-base/stringprintf.h> 175 *error_msg = android::base::StringPrintf("Unable to stat %d", fd); 189 *error_msg = android::base::StringPrintf("Socket name not whitelisted : %s (fd=%d)", 209 *error_msg = android::base::StringPrintf("Unsupported st_mode %u", f_stat.st_mode); 214 const std::string fd_path = android::base::StringPrintf("/proc/self/fd/%d", fd); 216 *error_msg = android::base::StringPrintf("Could not read fd link %s: %s", 232 *error_msg = android::base::StringPrintf("Failed fcntl(%d, F_GETFD) (%s): %s", 253 *error_msg = android::base::StringPrintf("Failed fcntl(%d, F_GETFL) (%s): %s", 293 *error_msg = android::base::StringPrintf("Failed open(%s, %i): %s", 302 *error_msg = android::base::StringPrintf("Failed fcntl(%d, F_SETFD, %d) (%s): %s" [all...] |
/frameworks/native/cmds/installd/ |
otapreopt_chroot.cpp | 26 #include <android-base/stringprintf.h> 35 using android::base::StringPrintf; 97 std::string trg = StringPrintf("/postinstall%s", kBindMounts[i]); 118 std::string vendor_partition = StringPrintf("/dev/block/by-name/vendor%s", 131 std::string product_partition = StringPrintf("/dev/block/by-name/product%s",
|
otapreopt.cpp | 33 #include <android-base/stringprintf.h> 63 using android::base::StringPrintf; 165 return StringPrintf("%s/%s", GetOtaDirectoryPrefix().c_str(), GetTargetSlot().c_str()); 301 environ_.push_back(StringPrintf("BOOTCLASSPATH=%s", boot_classpath_.c_str())); 302 environ_.push_back(StringPrintf("ANDROID_DATA=%s", GetOTADataDirectory().c_str())); 303 environ_.push_back(StringPrintf("ANDROID_ROOT=%s", android_root_.c_str())); 356 std::string preopted_boot_art_path = StringPrintf("/system/framework/%s/boot.art", isa); 409 std::string file = StringPrintf("%s/%s", dir.c_str(), name); 434 cmd.push_back(StringPrintf("--output-image-directory=%s", output_dir.c_str())); 436 cmd.push_back(StringPrintf("--instruction-set=%s", isa)) [all...] |
/system/core/adb/ |
adb_trace.h | 21 #include <android-base/stringprintf.h> 54 VLOG(TRACE_TAG) << android::base::StringPrintf(__VA_ARGS__)
|
/system/core/base/include/android-base/ |
stringprintf.h | 40 std::string StringPrintf(const char* fmt, ...)
|
/system/core/init/ |
sigchld_handler.cpp | 29 #include <android-base/stringprintf.h> 35 using android::base::StringPrintf; 75 name = StringPrintf("Service '%s' (pid %d)", service->name().c_str(), pid); 80 wait_string = StringPrintf(" waiting took %f seconds", exec_duration_ms / 1000.0f); 83 name = StringPrintf("Untracked pid %d", pid);
|
util_test.cpp | 23 #include <android-base/stringprintf.h> 100 std::string path = android::base::StringPrintf("%s/does-not-exist", test_dir.path); 149 std::string path = android::base::StringPrintf("%s/three/directories/deep", test_dir.path); 151 std::string path1 = android::base::StringPrintf("%s/three", test_dir.path); 153 std::string path2 = android::base::StringPrintf("%s/three/directories", test_dir.path); 155 std::string path3 = android::base::StringPrintf("%s/three/directories/deep", test_dir.path); 161 std::string path = android::base::StringPrintf("%s/three////directories/deep//", test_dir.path); 163 std::string path1 = android::base::StringPrintf("%s/three", test_dir.path); 165 std::string path2 = android::base::StringPrintf("%s/three/directories", test_dir.path); 167 std::string path3 = android::base::StringPrintf("%s/three/directories/deep", test_dir.path) [all...] |
/system/core/libunwindstack/ |
ArmExidx.cpp | 22 #include <android-base/stringprintf.h> 37 log_str += android::base::StringPrintf(" 0x%02x", data); 208 msg += android::base::StringPrintf("r%zu", i + 4); 277 msg += android::base::StringPrintf("-r%d", 4 + end_reg); 353 msg += android::base::StringPrintf("r%zu", i); 409 std::string msg = android::base::StringPrintf("pop {d%d", start_reg); 412 msg += android::base::StringPrintf("-d%d", end_reg); 440 msg += android::base::StringPrintf("-d%d", last_reg + 8); 494 std::string msg = android::base::StringPrintf("pop {wR%d", start_reg); 497 msg += android::base::StringPrintf("-wR%d", start_reg + end_reg) [all...] |
/system/update_engine/payload_consumer/ |
install_plan.cc | 22 #include <base/strings/stringprintf.h> 58 base::StringPrintf(", part: %s (source_size: %" PRIu64 67 payloads_str += base::StringPrintf( 77 string version_str = base::StringPrintf(", version: %s", version.c_str()); 80 base::StringPrintf(", system_version: %s", system_version.c_str());
|
/bootable/recovery/bootloader_message/ |
bootloader_message.cpp | 28 #include <android-base/stringprintf.h> 58 *err += android::base::StringPrintf("failed to stat %s try %d: %s\n", 65 *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str()); 77 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), 82 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), 87 *err = android::base::StringPrintf("failed to read %s: %s", misc_blk_device.c_str(), 98 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), 103 *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), 108 *err = android::base::StringPrintf("failed to write %s: %s", misc_blk_device.c_str(), 113 *err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str() [all...] |