/system/core/base/include/android-base/ |
D | strings.h | 39 std::string Join(const ContainerT& things, SeparatorT separator) { in Join() function 53 extern template std::string Join(const std::vector<std::string>&, char); 54 extern template std::string Join(const std::vector<const char*>&, char); 55 extern template std::string Join(const std::vector<std::string>&, const std::string&); 56 extern template std::string Join(const std::vector<const char*>&, const std::string&);
|
/system/tools/hidl/build/ |
D | fqName.go | 69 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/ |
D | filegroup.go | 103 path := filepath.Join(d, f) 120 fg.systemPublicSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "public")) 121 fg.systemPrivateSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "private")) 122 fg.systemVendorSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "vendor")) 123 fg.systemReqdMaskSrcs = fg.findSrcsInDir(ctx, filepath.Join(ctx.ModuleDir(), "reqd_mask"))
|
/system/netd/server/ |
D | TetherControllerTest.cpp | 36 using android::base::Join; 185 { V4, Join(v4Cmds, '\n') }, in startNatCommands() 186 { V6, Join(v6Cmds, '\n') }, in startNatCommands() 243 { V4, Join(v4Cmds, '\n') }, in stopNatCommands() 328 std::string kTetherCounterHeaders = Join(std::vector<std::string> { 333 std::string kIPv4TetherCounters = Join(std::vector<std::string> { 342 std::string kIPv6TetherCounters = Join(std::vector<std::string> { 411 std::string counters = Join(counterLines, "\n") + "\n"; in TEST_F() 423 counters = Join(counterLines, "\n") + "\n"; in TEST_F()
|
D | StrictController.cpp | 44 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()
|
D | StrictControllerTest.cpp | 99 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()
|
D | IdletimerControllerTest.cpp | 27 using android::base::Join; 55 return { Join(cmds, '\n') }; in makeAddRemoveCommands()
|
D | IdletimerController.cpp | 123 using android::base::Join; 161 return (execIptablesRestore(V4V6, Join(cmds, '\n')) == 0) ? 0 : -EREMOTEIO; in modifyInterfaceIdletimer()
|
D | FirewallControllerTest.cpp | 32 using android::base::Join; 91 {V4, Join(expectedRestore4, '\n')}, in TEST_F() 92 {V6, Join(expectedRestore6, '\n')}, in TEST_F() 109 {V4, Join(expectedRestore, '\n')}, in TEST_F() 110 {V6, Join(expectedRestore, '\n')}, in TEST_F()
|
D | BandwidthController.cpp | 73 using android::base::Join; 285 std::string commands = Join(IPT_FLUSH_COMMANDS, '\n'); in flushCleanTables() 304 std::string commands = Join(getBasicAccountingCommands(mBpfSupported), '\n'); in enableBandwidthControl() 430 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota() 481 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota() 544 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota() 600 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota() 761 res = iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr); in setCostlyAlert() 791 if (iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr) != 0) { in removeCostlyAlert() 841 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()
|
D | IptablesRestoreControllerTest.cpp | 41 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()
|
D | BandwidthControllerTest.cpp | 47 using android::base::Join; 329 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands() 346 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands() 386 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands() 406 return {Join(cmds, "\n")}; in removeInterfaceSharedQuotaCommands()
|
/system/extras/libjsonpb/verify/ |
D | verify.cpp | 58 *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/core/property_service/libpropertyinfoserializer/ |
D | property_info_file.cpp | 23 using android::base::Join; 86 *error = "Type '" + Join(type_strings, " ") + "' is not valid"; in ParsePropertyInfoLine() 90 *out = {property, context, Join(type_strings, " "), exact_match == "exact"}; in ParsePropertyInfoLine()
|
/system/netd/libnetdutils/ |
D | Log.cpp | 29 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/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 | 116 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/tools/xsdc/build/ |
D | xsdc.go | 176 currentApiFileName := filepath.Join(api_dir, "current.txt") 177 removedApiFileName := filepath.Join(api_dir, "removed.txt") 185 filepath.Join(api_dir, "last_current.txt")) 187 filepath.Join(api_dir, "last_removed.txt"))
|
/system/ca-certificates/soong/ |
D | ca_certificates.go | 27 srcs, err := ctx.GlobWithDeps(path.Join(ctx.ModuleDir(), *c.Src_dir, "*"), nil) 45 etcProps.Src = proptools.StringPtr(path.Join(*c.Src_dir, filename))
|
/system/tools/aidl/ |
D | type_namespace.h | 222 using android::base::Join; in Find() 233 name = Join(container_class, '.') + in Find() 234 "<" + Join(contained_type_names, ',') + ">"; in Find() 265 using android::base::Join; in MaybeAddContainerType() 279 const std::string canonical_name = Join(container_class, ".") + in MaybeAddContainerType() 280 "<" + Join(contained_type_names, ",") + ">"; in MaybeAddContainerType()
|
/system/core/libmemunreachable/ |
D | PtracerThread.cpp | 87 Join(); in ~PtracerThread() 116 int PtracerThread::Join() { in Join() function in android::PtracerThread
|
D | PtracerThread.h | 40 int Join();
|
/system/core/init/ |
D | action.cpp | 26 using android::base::Join; 71 return Join(args_, ' '); in BuildCommandString() 200 return Join(triggers, " && "); in BuildTriggersString()
|
D | subcontext_test.cpp | 34 using android::base::Join; 119 EXPECT_EQ(Join(expected_words, " "), result.error_string()); in TEST() 197 return Error() << Join(*words, " "); in BuildTestFunctionMap()
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 106 std::string base = android::base::Join(base_args_, " "); in GetParameterString() 110 std::string optional = android::base::Join(optional_args_, " "); in GetParameterString()
|