Home
last modified time | relevance | path

Searched refs:pieces (Results 1 – 19 of 19) sorted by relevance

/system/netd/netutils_wrappers/
DNetUtilsWrapperTest-1.0.cpp62 std::vector<std::string> pieces = android::base::Split(cmd.cmdString, " "); in TEST() local
63 ASSERT_LE(pieces.size(), ARRAY_SIZE(argv)); in TEST()
64 for (size_t i = 0; i < pieces.size(); i++) { in TEST()
65 argv[i] = const_cast<char*>(pieces[i].c_str()); in TEST()
67 EXPECT_EQ(cmd.valid, checkExpectedCommand(pieces.size(), argv)) << in TEST()
/system/libbase/
Dparsenetaddress.cpp51 std::vector<std::string> pieces = Split(address, ":"); in ParseNetAddress() local
52 *host = pieces[0]; in ParseNetAddress()
53 if (pieces.size() > 1) { in ParseNetAddress()
54 port_str = pieces[1]; in ParseNetAddress()
/system/core/adb/
Dservices.cpp99 std::vector<std::string> pieces = android::base::Split(port_spec, ","); in connect_emulator() local
100 if (pieces.size() != 2) { in connect_emulator()
106 int console_port = strtol(pieces[0].c_str(), nullptr, 0); in connect_emulator()
107 int adb_port = strtol(pieces[1].c_str(), nullptr, 0); in connect_emulator()
Dadb.cpp263 std::vector<std::string> pieces = android::base::Split(banner, ":"); in parse_banner() local
269 if (pieces.size() > 2) { in parse_banner()
270 const std::string& props = pieces[2]; in parse_banner()
292 const std::string& type = pieces[0]; in parse_banner()
1004 std::vector<std::string> pieces = android::base::Split(service, ";"); in handle_forward_request() local
1008 if (pieces.size() != 1 || pieces[0].empty()) { in handle_forward_request()
1014 … if (pieces.size() != 2 || pieces[0].empty() || pieces[1].empty() || pieces[1][0] == '*') { in handle_forward_request()
1023 r = remove_listener(pieces[0].c_str(), transport); in handle_forward_request()
1029 r = install_listener(pieces[0], pieces[1].c_str(), transport, flags, &resolved_tcp_port, in handle_forward_request()
/system/core/fs_mgr/libdm/
Ddm_target.cpp220 auto pieces = android::base::Split(params, " "); in GetDevicesFromParams() local
221 if (pieces.size() < 2) { in GetDevicesFromParams()
225 *base_device = pieces[0]; in GetDevicesFromParams()
226 *cow_device = pieces[1]; in GetDevicesFromParams()
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp589 auto pieces = android::base::Split(line, ":"); in UnmapImageDevice() local
590 if (pieces.size() != 2) { in UnmapImageDevice()
594 if (pieces[0] == "dm") { in UnmapImageDevice()
597 const auto& name = pieces[1]; in UnmapImageDevice()
601 } else if (pieces[0] == "loop") { in UnmapImageDevice()
604 loop.Detach(pieces[1]); in UnmapImageDevice()
606 LOG(ERROR) << "Unknown status: " << pieces[0]; in UnmapImageDevice()
Dfiemap_writer.cpp78 auto pieces = android::base::Split(target.data, " "); in ValidateDmTarget() local
79 if (pieces[1] != "0") { in ValidateDmTarget()
81 << pieces[1]; in ValidateDmTarget()
/system/tools/aidl/
Daidl_to_ndk.cpp386 std::vector<std::string> pieces = {"::aidl"}; in NdkFullClassName() local
388 pieces.insert(pieces.end(), package.begin(), package.end()); in NdkFullClassName()
389 pieces.push_back(cpp::ClassName(type, name)); in NdkFullClassName()
391 return Join(pieces, "::"); in NdkFullClassName()
Daidl_typenames.cpp88 vector<string> pieces = Split(defined.GetCanonicalName(), "."); in HasValidNameComponents() local
89 for (const string& piece : pieces) { in HasValidNameComponents()
Daidl.cpp317 vector<string> pieces = Split(line.substr(0, end + 1), " \t"); in ParsePreprocessedLine() local
318 for (const string& piece : pieces) { in ParsePreprocessedLine()
/system/core/init/
Dutil.cpp244 std::vector<std::string> pieces = android::base::Split(entry, "="); in ImportKernelCmdline() local
245 if (pieces.size() == 2) { in ImportKernelCmdline()
246 fn(pieces[0], pieces[1]); in ImportKernelCmdline()
/system/nvram/
DREADME.md3 This repository contains various pieces related to the Access-controlled NVRAM
/system/security/keystore/
Dkeystore_cli_v2.cpp521 std::vector<std::string> pieces = in Confirmation() local
524 for (auto& p : pieces) { in Confirmation()
/system/core/fastboot/
Dfastboot.cpp1981 std::vector<std::string> pieces = android::base::Split(command, ":"); in Main() local
1983 if (pieces.size() > 1) type_override = pieces[1].c_str(); in Main()
1985 if (pieces.size() > 2) size_override = pieces[2].c_str(); in Main()
/system/media/audio_utils/
DDoxyfile.orig1442 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
DDoxyfile.bak1442 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
DDoxyfile1576 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
/system/chre/chre_api/doc/
DDoxyfile1487 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
/system/chre/pal/doc/
DDoxyfile1487 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces