Home
last modified time | relevance | path

Searched refs:JoinStrings (Results 1 – 8 of 8) 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.cpp150 return JoinStrings(components, ""); in ToCamelCase()
159 return JoinStrings(components, ""); in ToPascalCase()
168 return JoinStrings(components, "_"); in ToUpperSnakeCase()
177 return JoinStrings(components, "_"); in ToLowerSnakeCase()
265 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.cpp116 out << StringHelper::JoinStrings(values, ", "); in dump()
DScope.cpp81 CHECK(FQName::parse(StringHelper::JoinStrings(names, "."), &innerName)); in lookupType()
DAST.cpp513 std::string path = StringHelper::JoinStrings(pathComponents, "."); in makeFullName()
DCoordinator.cpp435 *path = StringHelper::JoinStrings(components, "/") + "/"; in getPackagePath()
/system/tools/hidl/hidl2aidl/
DAidlHelper.cpp54 return StringHelper::JoinStrings(names, ""); in getAidlName()