Searched refs:StringFormat (Results 1 – 4 of 4) sorted by relevance
/system/bt/gd/common/ |
D | strings_test.cc | 30 using bluetooth::common::StringFormat; 214 ASSERT_THAT(StringFormat("%s", "hello"), StrEq("hello")); in TEST() 215 ASSERT_THAT(StringFormat("%d", 42), StrEq("42")); in TEST() 216 ASSERT_THAT(StringFormat("%s world", "hello"), StrEq("hello world")); in TEST() 217 ASSERT_THAT(StringFormat("%d %.1f 0x%02x", 42, 43.123, 0x8), StrEq("42 43.1 0x08")); in TEST()
|
D | strings.h | 102 std::string StringFormat(const std::string& format, Args... args) { in StringFormat() function 133 os << std::put_time(&tm, format.c_str()) << StringFormat(".%03u", millis);
|
/system/bt/stack/test/gatt/ |
D | stack_gatt_test.cc | 131 std::string name = bluetooth::common::StringFormat("name%02d", i); in TEST_F()
|
/system/bt/gd/hal/ |
D | hci_hal_android_hidl.cc | 58 return common::StringFormat( in GetTimerText()
|