Home
last modified time | relevance | path

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

12345

/system/libbase/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/tools/hidl/build/
DfqName.go69 return strings.Join(f.packageComponents, ".")
85 return filepath.Join(filepath.Join(f.packageComponents...), f.version()) + "/"
88 return filepath.Join(filepath.Join(f.packageComponents...), f.sanitizedVersion()) + "/"
/system/netd/server/
DStrictController.cpp44 using android::base::Join;
132 res |= execIptablesRestore(V4, Join(v4, '\n')); in setupIptablesHooks()
133 res |= execIptablesRestore(V6, Join(v6, '\n')); in setupIptablesHooks()
154 const std::string commands = Join(commandList, '\n'); in resetChains()
197 return (execIptablesRestore(V4V6, Join(commands, "\n")) == 0) ? 0 : -EREMOTEIO; in setUidCleartextPenalty()
DStrictControllerTest.cpp99 std::string commandsCommon = android::base::Join(common, '\n'); in TEST_F()
100 std::string commands4 = android::base::Join(v4, '\n'); in TEST_F()
101 std::string commands6 = android::base::Join(v6, '\n'); in TEST_F()
DIdletimerControllerTest.cpp27 using android::base::Join;
55 return { Join(cmds, '\n') }; in makeAddRemoveCommands()
DIdletimerController.cpp122 using android::base::Join;
160 return (execIptablesRestore(V4V6, Join(cmds, '\n')) == 0) ? 0 : -EREMOTEIO; in modifyInterfaceIdletimer()
DFirewallControllerTest.cpp32 using android::base::Join;
89 {V4, Join(expectedRestore4, '\n')}, in TEST_F()
90 {V6, Join(expectedRestore6, '\n')}, in TEST_F()
106 {V4, Join(expectedRestore, '\n')}, in TEST_F()
107 {V6, Join(expectedRestore, '\n')}, in TEST_F()
DTetherControllerTest.cpp39 using android::base::Join;
235 { V4, Join(v4Cmds, '\n') }, in startNatCommands()
236 { V6, Join(v6Cmds, '\n') }, in startNatCommands()
293 { V4, Join(v4Cmds, '\n') }, in stopNatCommands()
378 std::string kTetherCounterHeaders = Join(std::vector<std::string> {
383 std::string kIPv4TetherCounters = Join(std::vector<std::string> {
392 std::string kIPv6TetherCounters = Join(std::vector<std::string> {
461 std::string counters = Join(counterLines, "\n") + "\n"; in TEST_F()
473 counters = Join(counterLines, "\n") + "\n"; in TEST_F()
DBandwidthController.cpp72 using android::base::Join;
305 std::string commands = Join(IPT_FLUSH_COMMANDS, '\n'); in flushCleanTables()
324 std::string commands = Join(getBasicAccountingCommands(mBpfSupported), '\n'); in enableBandwidthControl()
449 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota()
499 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota()
561 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota()
617 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota()
778 res = iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr); in setCostlyAlert()
808 if (iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr) != 0) { in removeCostlyAlert()
858 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()
DIptablesRestoreControllerTest.cpp43 using android::base::Join;
114 int ret = con.execute(V4V6, Join(createCommands, "\n"), nullptr); in createTestChain()
127 con.execute(V4V6, Join(deleteCommands, "\n"), nullptr); in deleteTestChain()
232 std::string expected = Join(expectedLines, "\n"); in TEST_F()
240 std::string commandString = Join(listCommands, "\n"); in TEST_F()
/system/linkerconfig/generator/
Dlibrarylistloader.cc70 return android::base::Join(*library_list_result, ':'); in GetLibrariesString()
92 return android::base::Join(*library_list, ':'); in GetPublicLibrariesString()
104 return android::base::Join(public_library_list, ':'); in GetPublicLibrariesString()
133 return android::base::Join(private_only_library_list, ':'); in GetPrivateLibrariesString()
/system/core/toolbox/
Dmodprobe.cpp193 LOG(DEBUG) << "mod_dirs is: " << android::base::Join(mod_dirs, " "); in modprobe_main()
194 LOG(DEBUG) << "modules is: " << android::base::Join(modules, " "); in modprobe_main()
195 LOG(DEBUG) << "module parameters is: " << android::base::Join(module_parameters, " "); in modprobe_main()
239 LOG(INFO) << android::base::Join(list, "\n"); in modprobe_main()
252 LOG(INFO) << android::base::Join(pre_deps, "\n"); in modprobe_main()
254 LOG(INFO) << android::base::Join(deps, "\n"); in modprobe_main()
256 LOG(INFO) << android::base::Join(post_deps, "\n"); in modprobe_main()
/system/sepolicy/build/soong/
Dfilegroup.go116 path := filepath.Join(d, f)
133 fg.systemPublicSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "public"))
134 fg.systemPrivateSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "private"))
135 fg.systemVendorSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "vendor"))
136 fg.systemReqdMaskSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
/system/extras/libjsonpb/verify/
Dverify.cpp58 *error << base::Join(*path, ".") << ": Not a JSON object\n"; in AllFieldsAreKnown()
77 *error << base::Join(*path, ".") << ": contains unknown keys: [" in AllFieldsAreKnown()
78 << base::Join(unknown_keys, ", ") in AllFieldsAreKnown()
81 << base::Join(known_keys, ", ") << "]\n"; in AllFieldsAreKnown()
108 *error << base::Join(*path, ".") in AllFieldsAreKnown()
115 *error << base::Join(*path, ".") << ": JSON list has size " in AllFieldsAreKnown()
/system/netd/libnetdutils/
DLog.cpp29 using ::android::base::Join;
60 text.push_back(StringPrintf("%s(%s)", mFunc.c_str(), Join(mArgs, ", ").c_str())); in toString()
64 text.push_back(StringPrintf("(%s)", Join(mReturns, ", ").c_str())); in toString()
69 return Join(text, " "); in toString()
128 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg()
138 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg()
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp23 using android::base::Join;
96 *error = "Type '" + Join(type_strings, " ") + "' is not valid"; in ParsePropertyInfoLine()
100 *out = {property, context, Join(type_strings, " "), exact_match}; in ParsePropertyInfoLine()
/system/libbase/
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.cpp116 ASSERT_EQ("", android::base::Join(list, ',')); in TEST()
121 ASSERT_EQ("foo", android::base::Join(list, ',')); in TEST()
126 ASSERT_EQ("foo,bar,baz", android::base::Join(list, ',')); in TEST()
131 ASSERT_EQ(",,,", android::base::Join(list, ',')); in TEST()
136 ASSERT_EQ("1,2,3", android::base::Join(list, ',')); in TEST()
141 ASSERT_TRUE("1,2" == android::base::Join(list, ',') || in TEST()
142 "2,1" == android::base::Join(list, ',')); in TEST()
/system/core/fs_mgr/libdm/
Ddm_target.cpp111 std::string base = android::base::Join(base_args_, " "); in GetParameterString()
115 std::string optional = android::base::Join(optional_args_, " "); in GetParameterString()
248 return android::base::Join(argv, " "); in GetParameterString()
280 return android::base::Join(argv, " "); in GetParameterString()
287 return android::base::Join(argv, " "); in GetParameterString()
/system/ca-certificates/soong/
Dca_certificates.go28 srcs, err := ctx.GlobWithDeps(path.Join(ctx.ModuleDir(), *c.Src_dir, "*"), nil)
46 etcProps.Src = proptools.StringPtr(path.Join(*c.Src_dir, filename))
/system/tools/xsdc/build/
Dxsdc.go214 currentApiFileName := filepath.Join(api_dir, "current.txt")
215 removedApiFileName := filepath.Join(api_dir, "removed.txt")
223 filepath.Join(api_dir, "last_current.txt"))
225 filepath.Join(api_dir, "last_removed.txt"))
/system/memory/libmemunreachable/
DPtracerThread.cpp87 Join(); in ~PtracerThread()
116 int PtracerThread::Join() { in Join() function in android::PtracerThread
DPtracerThread.h40 int Join();
/system/core/init/
Dsubcontext_test.cpp34 using android::base::Join;
112 EXPECT_EQ(Join(expected_words, " "), result.error().message()); in TEST()
200 return Error() << Join(*words, " "); in BuildTestFunctionMap()
/system/tools/aidl/build/
Daidl_interface.go347 g.importFlags = strings.Join(wrap("-I", importPaths, ""), " ")
430 "optionalFlags": strings.Join(optionalFlags, " "),
450 headers = append(headers, g.genHeaderDir.Join(ctx, prefix, packagePath,
452 headers = append(headers, g.genHeaderDir.Join(ctx, prefix, packagePath,
454 headers = append(headers, g.genHeaderDir.Join(ctx, prefix, packagePath,
477 "optionalFlags": strings.Join(optionalFlags, " "),
545 return filepath.Join(aidlApiDir, m.properties.BaseName)
613 "optionalFlags": strings.Join(optionalFlags, " "),
614 "imports": strings.Join(wrap("-I", importPaths, ""), " "),
628 targetDir := filepath.Join(modulePath, m.apiDir(), version)
[all …]

12345