Home
last modified time | relevance | path

Searched refs:StringSplit (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/common/
Dstrings_test.cc35 using bluetooth::common::StringSplit;
104 ASSERT_THAT(StringSplit("", ","), ElementsAre("")); in TEST()
105 ASSERT_THAT(StringSplit("1,2,3", ","), ElementsAre("1", "2", "3")); in TEST()
106 ASSERT_THAT(StringSplit("1,2,3", "!"), ElementsAre("1,2,3")); in TEST()
107 ASSERT_THAT(StringSplit("1,2,3", ",", 2), ElementsAre("1", "2,3")); in TEST()
108 ASSERT_THAT(StringSplit("a,b,", ","), ElementsAre("a", "b", "")); in TEST()
109 ASSERT_THAT(StringSplit("ab,", ",", 2), ElementsAre("ab", "")); in TEST()
110 ASSERT_THAT(StringSplit("ab,,", ",", 2), ElementsAre("ab", ",")); in TEST()
111 ASSERT_THAT(StringSplit("ab,,", ",", 1), ElementsAre("ab,,")); in TEST()
112 ASSERT_THAT(StringSplit("1,,2,,3", ",,"), ElementsAre("1", "2", "3")); in TEST()
[all …]
Dstrings.h104 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t…
Dstrings.cc86 std::vector<std::string> StringSplit(const std::string& str, const std::string& delim, size_t max_t… in StringSplit() function
/packages/modules/Bluetooth/system/gd/storage/
Dlegacy_config_file.cc66 auto tokens = common::StringSplit(line, "=", 2); in Read()
Dconfig_cache_helper.h126 auto values = common::StringSplit(*value, " "); in Get()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_swb_aptx.cc155 bluetooth::common::StringSplit(std::string(p_s), ",", SWB_CODECS_NUMBER); in bta_ag_parse_qac()