Searched refs:StringFormat (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Bluetooth/system/gd/common/ |
D | strings_test.cc | 31 using bluetooth::common::StringFormat; 228 ASSERT_THAT(StringFormat("%s", "hello"), StrEq("hello")); in TEST() 229 ASSERT_THAT(StringFormat("%d", 42), StrEq("42")); in TEST() 230 ASSERT_THAT(StringFormat("%s world", "hello"), StrEq("hello world")); in TEST() 231 ASSERT_THAT(StringFormat("%d %.1f 0x%02x", 42, 43.123, 0x8), StrEq("42 43.1 0x08")); in TEST()
|
D | strings.h | 121 std::string StringFormat(const std::string& format, Args... args) { in StringFormat() function 152 os << std::put_time(&tm, format.c_str()) << StringFormat(".%03u", millis);
|
D | audit_log.cc | 44 …<< common::StringFormat("%s: %s", action, ErrorCodeText(status).c_str()).c_str() << LOG_ID_SECURIT… in LogConnectionAdminAuditEvent()
|
/packages/modules/Bluetooth/system/main/test/ |
D | main_shim_stack_dumpsys_test.cc | 416 thread_ = new os::Thread(common::StringFormat("ClientThread%d", id_), in Start() 475 return common::StringFormat("%s%d", __func__, id_); in Name()
|
D | main_shim_stack_lifecycle_test.cc | 379 thread_ = new os::Thread(common::StringFormat("ClientThread%d", id_), in Start() 437 return common::StringFormat("%s%d", __func__, id_); in Name()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | stack.cc | 61 using ::bluetooth::common::StringFormat;
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_android.cc | 33 return common::StringFormat( in GetTimerText()
|
/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | stack_gatt_test.cc | 162 std::string name = bluetooth::common::StringFormat("name%02d", i); in TEST_F()
|