Home
last modified time | relevance | path

Searched refs:Join (Results 1 – 25 of 28) 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/core/base/
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()
Dstrings.cpp84 template std::string Join(const std::vector<std::string>&, char);
85 template std::string Join(const std::vector<const char*>&, char);
86 template std::string Join(const std::vector<std::string>&, const std::string&);
87 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()
100 { V4, android::base::Join(expectedRestore, '\n') }, in TEST_F()
101 { V6, android::base::Join(expectedRestore, '\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()
DNetwork.cpp80 repr << kSeparator << android::base::Join(mInterfaces, ","); in toString()
DResolverController.cpp236 std::string domains_str = android::base::Join(domains, ", "); in dump()
DSockDiag.cpp373 android::base::Join(skipUidStrings, " ").c_str(), s.timeTaken()); in destroySockets()
DBandwidthController.cpp272 std::string commands = android::base::Join(IPT_FLUSH_COMMANDS, '\n'); in flushCleanTables()
299 std::string commands = android::base::Join(IPT_BASIC_ACCOUNTING_COMMANDS, '\n'); in enableBandwidthControl()
/system/tools/aidl/
Dtype_namespace.h224 using android::base::Join; in Find()
235 name = Join(container_class, '.') + in Find()
236 "<" + Join(contained_type_names, ',') + ">"; in Find()
268 using android::base::Join; in MaybeAddContainerType()
282 const std::string canonical_name = Join(container_class, ".") + in MaybeAddContainerType()
283 "<" + Join(contained_type_names, ",") + ">"; in MaybeAddContainerType()
Dtype_cpp.cpp36 using android::base::Join;
206 return Join(name, '/') + ".h"; in GetCppHeader()
227 Join(parcelable.GetSplitPackage(), "::") + "::" + in GetCppName()
247 return "::std::vector<" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
267 return "::std::unique_ptr<::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
288 return "::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
Daidl_language.cpp22 using android::base::Join;
138 return Join(package_, '.'); in GetPackage()
175 return Join(package_, '.'); in GetPackage()
Daidl.cpp52 using android::base::Join;
247 writer->Write(" %s", Join(aidl_sources, " \\\n ").c_str()); in write_common_dep_file()
319 writer->Write("%s : \\\n %s\n", Join(headers, " \\\n ").c_str(), in write_cpp_dep_file()
320 Join(source_aidl, " \\\n ").c_str()); in write_cpp_dep_file()
Daidl_language.h243 std::string GetDotName() const { return android::base::Join(terms_, '.'); } in GetDotName()
/system/core/libmemunreachable/
DPtracerThread.cpp87 Join(); in ~PtracerThread()
116 int PtracerThread::Join() { in Join() function in PtracerThread
DPtracerThread.h38 int Join();
DMemUnreachable.cpp378 int ret = thread.Join(); in GetUnreachableMemory()
/system/tools/aidl/tests/
Dtest_util.cpp27 using android::base::Join;
/system/core/init/
Daction.cpp31 using android::base::Join;
54 return Join(args_, ' '); in BuildCommandString()
/system/extras/simpleperf/
Dcmd_dumprecord.cpp208 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str()); in DumpFeatureSection()
Dcmd_report.cpp648 record_cmdline_ = android::base::Join(cmdline, ' '); in ReadFeaturesFromRecordFile()
/system/connectivity/apmanager/
Ddevice.cc275 brillo::string_utils::Join(" ", ht_capability).c_str()); in GetHTCapability()
/system/core/libnativeloader/
Dnative_loader.cpp161 public_libraries_ = base::Join(sonames, ':'); in Initialize()
/system/core/adb/
Dcommandline.cpp629 android::base::Join(args, ',').c_str(), in ShellServiceString()
810 command = android::base::Join(std::vector<const char*>(argv, argv + argc), ' '); in adb_shell()
1079 std::string cmd = format_host_command(android::base::Join(components, "-").c_str(), t, serial); in wait_for_device()

12