Home
last modified time | relevance | path

Searched refs:Join (Results 1 – 25 of 35) sorted by relevance

12

/system/core/base/include/android-base/
Dstrings.h40 std::string Join(const ContainerT& things, SeparatorT separator) { in Join() function
54 extern template std::string Join(const std::vector<std::string>&, char);
55 extern template std::string Join(const std::vector<const char*>&, char);
56 extern template std::string Join(const std::vector<std::string>&, const std::string&);
57 extern template std::string Join(const std::vector<const char*>&, const std::string&);
/system/netd/server/
DStrictControllerTest.cpp100 std::string commandsCommon = android::base::Join(common, '\n'); in TEST_F()
101 std::string commands4 = android::base::Join(v4, '\n'); in TEST_F()
102 std::string commands6 = android::base::Join(v6, '\n'); in TEST_F()
DFirewallControllerTest.cpp79 { V4, android::base::Join(expectedRestore4, '\n') }, in TEST_F()
80 { V6, android::base::Join(expectedRestore6, '\n') }, in TEST_F()
97 { V4, android::base::Join(expectedRestore, '\n') }, in TEST_F()
98 { V6, android::base::Join(expectedRestore, '\n') }, in TEST_F()
DIptablesRestoreControllerTest.cpp38 using android::base::Join;
103 int ret = con.execute(V4V6, Join(createCommands, "\n"), nullptr); in createTestChain()
116 con.execute(V4V6, Join(deleteCommands, "\n"), nullptr); in deleteTestChain()
221 std::string expected = Join(expectedLines, "\n"); in TEST_F()
229 std::string commandString = Join(listCommands, "\n"); in TEST_F()
DStrictController.cpp132 res |= execIptablesRestore(V4, android::base::Join(v4, '\n')); in enableStrict()
133 res |= execIptablesRestore(V6, android::base::Join(v6, '\n')); in enableStrict()
154 const std::string commands = android::base::Join(commandList, '\n'); in disableStrict()
DBandwidthControllerTest.cpp208 std::string kIPv4TetherCounters = android::base::Join(std::vector<std::string> {
217 std::string kIPv6TetherCounters = android::base::Join(std::vector<std::string> {
324 std::string counters = android::base::Join(counterLines, "\n") + "\n"; in TEST_F()
336 counters = android::base::Join(counterLines, "\n") + "\n"; in TEST_F()
DNetwork.cpp83 repr << kSeparator << android::base::Join(mInterfaces, ","); in toString()
DBandwidthController.cpp265 std::string commands = android::base::Join(IPT_FLUSH_COMMANDS, '\n'); in flushCleanTables()
292 std::string commands = android::base::Join(IPT_BASIC_ACCOUNTING_COMMANDS, '\n'); in enableBandwidthControl()
1184 iptablesRestoreFunction(V4V6, android::base::Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()
DResolverController.cpp239 std::string domains_str = android::base::Join(domains, ", "); in dump()
DSockDiag.cpp382 android::base::Join(skipUidStrings, " ").c_str(), s.timeTaken()); in destroySockets()
/system/core/base/
Dstrings.cpp85 template std::string Join(const std::vector<std::string>&, char);
86 template std::string Join(const std::vector<const char*>&, char);
87 template std::string Join(const std::vector<std::string>&, const std::string&);
88 template std::string Join(const std::vector<const char*>&, const std::string&);
Dstrings_test.cpp108 ASSERT_EQ("", android::base::Join(list, ',')); in TEST()
113 ASSERT_EQ("foo", android::base::Join(list, ',')); in TEST()
118 ASSERT_EQ("foo,bar,baz", android::base::Join(list, ',')); in TEST()
123 ASSERT_EQ(",,,", android::base::Join(list, ',')); in TEST()
128 ASSERT_EQ("1,2,3", android::base::Join(list, ',')); in TEST()
133 ASSERT_TRUE("1,2" == android::base::Join(list, ',') || in TEST()
134 "2,1" == android::base::Join(list, ',')); in TEST()
/system/tools/aidl/
Dtype_namespace.h229 using android::base::Join; in Find()
240 name = Join(container_class, '.') + in Find()
241 "<" + Join(contained_type_names, ',') + ">"; in Find()
273 using android::base::Join; in MaybeAddContainerType()
287 const std::string canonical_name = Join(container_class, ".") + in MaybeAddContainerType()
288 "<" + Join(contained_type_names, ",") + ">"; in MaybeAddContainerType()
Dtype_cpp.cpp36 using android::base::Join;
216 return Join(name, '/') + ".h"; in GetCppHeader()
237 return "::std::unique_ptr<::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
263 return "::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
Daidl_language.cpp23 using android::base::Join;
176 return Join(package_, '.'); in GetPackage()
216 return Join(package_, '.'); in GetPackage()
Daidl.cpp52 using android::base::Join;
254 writer->Write(" %s", Join(aidl_sources, " \\\n ").c_str()); in write_common_dep_file()
333 writer->Write("%s : \\\n %s\n", Join(headers, " \\\n ").c_str(), in write_cpp_dep_file()
334 Join(source_aidl, " \\\n ").c_str()); in write_cpp_dep_file()
Daidl_language.h280 std::string GetDotName() const { return android::base::Join(terms_, '.'); } in GetDotName()
281 std::string GetColonName() const { return android::base::Join(terms_, "::"); } in GetColonName()
/system/core/libmemunreachable/
DPtracerThread.cpp87 Join(); in ~PtracerThread()
116 int PtracerThread::Join() { in Join() function in PtracerThread
DPtracerThread.h38 int Join();
/system/netd/netutils_wrappers/
DNetUtilsWrapper-1.0.cpp89 std::string fullCmd = android::base::Join(allArgs, ' '); in checkExpectedCommand()
/system/core/init/
Daction.cpp31 using android::base::Join;
54 return Join(args_, ' '); in BuildCommandString()
257 return Join(triggers, " && "); in BuildTriggersString()
Dinit_first_stage.cpp151 << android::base::Join(required_devices_partition_names_, ", "); in InitDevices()
/system/tools/aidl/tests/
Dtest_util.cpp27 using android::base::Join;
/system/core/libnativeloader/
Dnative_loader.cpp294 system_public_libraries_ = base::Join(sonames, ':'); in Initialize()
300 vendor_public_libraries_ = base::Join(sonames, ':'); in Initialize()
/system/extras/simpleperf/
Dcmd_dumprecord.cpp203 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str()); in DumpFeatureSection()

12