Home
last modified time | relevance | path

Searched refs:JoinStrings (Results 1 – 7 of 7) sorted by relevance

/system/tools/hidl/test/host_utils_test/
Dmain.cpp119 TEST_F(LibHidlGenUtilsTest, JoinStrings) { in TEST_F() argument
120 EXPECT_EQ("", StringHelper::JoinStrings({}, "")); in TEST_F()
121 EXPECT_EQ("", StringHelper::JoinStrings({}, "a")); in TEST_F()
122 EXPECT_EQ("a", StringHelper::JoinStrings({"a"}, "")); in TEST_F()
123 EXPECT_EQ("a,b", StringHelper::JoinStrings({"a", "b"}, ",")); in TEST_F()
124 EXPECT_EQ("ab,", StringHelper::JoinStrings({"ab", ""}, ",")); in TEST_F()
125 EXPECT_EQ(",ab", StringHelper::JoinStrings({"", "ab"}, ",")); in TEST_F()
126 EXPECT_EQ("a.,b", StringHelper::JoinStrings({"a", "b"}, ".,")); in TEST_F()
127 EXPECT_EQ("a,b,c", StringHelper::JoinStrings({"a", "b", "c"}, ",")); in TEST_F()
128 EXPECT_EQ("abc.,def.,ghi", StringHelper::JoinStrings({"abc", "def", "ghi"}, ".,")); in TEST_F()
/system/tools/hidl/host_utils/
DStringHelper.cpp113 return JoinStrings(components, ""); in ToCamelCase()
122 return JoinStrings(components, ""); in ToPascalCase()
131 return JoinStrings(components, "_"); in ToUpperSnakeCase()
140 return JoinStrings(components, "_"); in ToLowerSnakeCase()
228 std::string StringHelper::JoinStrings( in JoinStrings() function in android::StringHelper
/system/tools/hidl/host_utils/include/hidl-util/
DStringHelper.h77 static std::string JoinStrings(
/system/tools/hidl/
DAnnotation.cpp168 out << StringHelper::JoinStrings(values, ", "); in dump()
DScope.cpp79 CHECK(FQName::parse(StringHelper::JoinStrings(names, "."), &innerName)); in lookupType()
DAST.cpp472 std::string path = StringHelper::JoinStrings(pathComponents, "."); in makeFullName()
DCoordinator.cpp438 *path = StringHelper::JoinStrings(components, "/") + "/"; in getPackagePath()