/system/core/base/include/android-base/ |
D | strings.h | 40 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/ |
D | StrictControllerTest.cpp | 100 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()
|
D | FirewallControllerTest.cpp | 79 { 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()
|
D | IptablesRestoreControllerTest.cpp | 38 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()
|
D | StrictController.cpp | 132 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()
|
D | BandwidthControllerTest.cpp | 208 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()
|
D | Network.cpp | 83 repr << kSeparator << android::base::Join(mInterfaces, ","); in toString()
|
D | BandwidthController.cpp | 265 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()
|
D | ResolverController.cpp | 239 std::string domains_str = android::base::Join(domains, ", "); in dump()
|
D | SockDiag.cpp | 382 android::base::Join(skipUidStrings, " ").c_str(), s.timeTaken()); in destroySockets()
|
/system/core/base/ |
D | strings.cpp | 85 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&);
|
D | strings_test.cpp | 108 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/ |
D | type_namespace.h | 229 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()
|
D | type_cpp.cpp | 36 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()
|
D | aidl_language.cpp | 23 using android::base::Join; 176 return Join(package_, '.'); in GetPackage() 216 return Join(package_, '.'); in GetPackage()
|
D | aidl.cpp | 52 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()
|
D | aidl_language.h | 280 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/ |
D | PtracerThread.cpp | 87 Join(); in ~PtracerThread() 116 int PtracerThread::Join() { in Join() function in PtracerThread
|
D | PtracerThread.h | 38 int Join();
|
/system/netd/netutils_wrappers/ |
D | NetUtilsWrapper-1.0.cpp | 89 std::string fullCmd = android::base::Join(allArgs, ' '); in checkExpectedCommand()
|
/system/core/init/ |
D | action.cpp | 31 using android::base::Join; 54 return Join(args_, ' '); in BuildCommandString() 257 return Join(triggers, " && "); in BuildTriggersString()
|
D | init_first_stage.cpp | 151 << android::base::Join(required_devices_partition_names_, ", "); in InitDevices()
|
/system/tools/aidl/tests/ |
D | test_util.cpp | 27 using android::base::Join;
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 294 system_public_libraries_ = base::Join(sonames, ':'); in Initialize() 300 vendor_public_libraries_ = base::Join(sonames, ':'); in Initialize()
|
/system/extras/simpleperf/ |
D | cmd_dumprecord.cpp | 203 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str()); in DumpFeatureSection()
|