Home
last modified time | relevance | path

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

123456

/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/sepolicy/build/soong/
Dbuild_files.go62 path := filepath.Join(dir, file)
84 …return nil, fmt.Errorf("unknown tag %q. Supported tags are: %q", tag, strings.Join(android.SortedS…
132 …sepolicyDir{partition: system, scope: public, paths: []string{filepath.Join(ctx.ModuleDir(), "publ…
133 …sepolicyDir{partition: system, scope: private, paths: []string{filepath.Join(ctx.ModuleDir(), "pri…
180 reqdMaskDir := filepath.Join(ctx.ModuleDir(), "reqd_mask")
197 platVendorDir := filepath.Join(ctx.ModuleDir(), "vendor")
Dfilegroup.go121 path := filepath.Join(d, f)
138 fg.systemPublicSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "public"))
139 fg.systemPrivateSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "private"))
140 fg.systemVendorSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "vendor"))
141 fg.systemReqdMaskSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
/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()
DTetherControllerTest.cpp39 using android::base::Join;
188 { V4, Join(v4Cmds, '\n') }, in startNatCommands()
189 { V6, Join(v6Cmds, '\n') }, in startNatCommands()
246 { V4, Join(v4Cmds, '\n') }, in stopNatCommands()
331 std::string kTetherCounterHeaders = Join(std::vector<std::string> {
336 std::string kIPv4TetherCounters = Join(std::vector<std::string> {
345 std::string kIPv6TetherCounters = Join(std::vector<std::string> {
414 std::string counters = Join(counterLines, "\n") + "\n"; in TEST_F()
426 counters = Join(counterLines, "\n") + "\n"; in TEST_F()
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;
57 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()
DBandwidthController.cpp72 using android::base::Join;
276 std::string commands = Join(IPT_FLUSH_COMMANDS, '\n'); in flushCleanTables()
295 std::string commands = Join(getBasicAccountingCommands(), '\n'); in enableBandwidthControl()
386 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota()
436 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota()
498 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota()
554 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota()
715 res = iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr); in setCostlyAlert()
745 if (iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr) != 0) { in removeCostlyAlert()
795 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()
DIptablesRestoreControllerTest.cpp49 using android::base::Join;
121 << " still alive: " << Join(procStat, " "); in expectNoIptablesRestoreProcess()
154 int ret = con.execute(V4V6, Join(createCommands, "\n"), nullptr); in createTestChain()
167 con.execute(V4V6, Join(deleteCommands, "\n"), nullptr); in deleteTestChain()
272 std::string expected = Join(expectedLines, "\n"); in TEST_F()
280 std::string commandString = Join(listCommands, "\n"); in TEST_F()
/system/linkerconfig/generator/
Dlibrarylistloader.cc70 return android::base::Join(*library_list_result, ':'); in GetLibrariesString()
93 return android::base::Join(*library_list, ':'); in GetPublicLibrariesString()
105 return android::base::Join(public_library_list, ':'); in GetPublicLibrariesString()
135 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()
236 LOG(INFO) << android::base::Join(list, "\n"); in modprobe_main()
249 LOG(INFO) << android::base::Join(pre_deps, "\n"); in modprobe_main()
251 LOG(INFO) << android::base::Join(deps, "\n"); in modprobe_main()
253 LOG(INFO) << android::base::Join(post_deps, "\n"); in modprobe_main()
/system/extras/libjsonpb/verify/
Dverify.cpp55 *error << base::Join(*path, ".") << ": Not a JSON object\n"; in AllFieldsAreKnown()
73 *error << base::Join(*path, ".") << ": contains unknown keys: [" in AllFieldsAreKnown()
74 << base::Join(unknown_keys, ", ") << "]. Keys must be a known field name of " in AllFieldsAreKnown()
76 << base::Join(known_keys, ", ") << "]\n"; in AllFieldsAreKnown()
101 *error << base::Join(*path, ".") << ": not a JSON list. This should not happen.\n"; in AllFieldsAreKnown()
107 *error << base::Join(*path, ".") << ": JSON list has size " << json_value.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/tools/aidl/build/
Daidl_gen_rule.go114 g.importFlags = strings.Join(wrap("-I", imports, ""), " ")
191 "optionalFlags": strings.Join(optionalFlags, " "),
203 "optionalFlags": strings.Join(optionalFlags, " "),
223 headers = append(headers, g.genHeaderDir.Join(ctx, prefix, packagePath,
225 headers = append(headers, g.genHeaderDir.Join(ctx, prefix, packagePath,
227 headers = append(headers, g.genHeaderDir.Join(ctx, prefix, packagePath,
250 "optionalFlags": strings.Join(optionalFlags, " "),
Daidl_api.go81 return filepath.Join(aidlApiDir, m.properties.BaseName)
141 "optionalFlags": strings.Join(optionalFlags, " "),
142 "imports": strings.Join(wrap("-I", importPaths, ""), " "),
154 targetDir := filepath.Join(moduleDir, m.apiDir(), version)
241 …currentDir := filepath.Join(ctx.OtherModuleDir(dep), aidlApiDir, iface.BaseModuleName(), currentVe…
277 "optionalFlags": strings.Join(optionalFlags, " "),
355 files: ctx.Glob(filepath.Join(currentApiDir.Path().String(), "**/*.aidl"), nil),
379 apiDir := filepath.Join(ctx.ModuleDir(), m.apiDir(), ver)
384 files: ctx.Glob(filepath.Join(apiDirPath.String(), "**/*.aidl"), nil),
/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.cpp113 std::string base = android::base::Join(base_args_, " "); in GetParameterString()
117 std::string optional = android::base::Join(optional_args_, " "); in GetParameterString()
250 return android::base::Join(argv, " "); in GetParameterString()
282 return android::base::Join(argv, " "); in GetParameterString()
290 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/apex/apexd/
Dapexd_session_test.cpp40 using android::base::Join;
113 ASSERT_EQ(2u, sessions.size()) << Join(sessions, ','); in TEST()
/system/memory/libmemunreachable/
DPtracerThread.cpp87 Join(); in ~PtracerThread()
116 int PtracerThread::Join() { in Join() function in android::PtracerThread

123456