Home
last modified time | relevance | path

Searched refs:StringFormat (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/gd/common/
Dstrings_test.cc31 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()
Dstrings.h121 std::string StringFormat(const std::string& format, Args... args) { in StringFormat() function
152 os << std::put_time(&tm, format.c_str()) << StringFormat(".%03u", millis);
Daudit_log.cc44 …<< common::StringFormat("%s: %s", action, ErrorCodeText(status).c_str()).c_str() << LOG_ID_SECURIT… in LogConnectionAdminAuditEvent()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_stack_dumpsys_test.cc416 thread_ = new os::Thread(common::StringFormat("ClientThread%d", id_), in Start()
475 return common::StringFormat("%s%d", __func__, id_); in Name()
Dmain_shim_stack_lifecycle_test.cc379 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/
Dstack.cc61 using ::bluetooth::common::StringFormat;
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_android.cc33 return common::StringFormat( in GetTimerText()
/packages/modules/Bluetooth/system/stack/test/gatt/
Dstack_gatt_test.cc162 std::string name = bluetooth::common::StringFormat("name%02d", i); in TEST_F()