Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Drangeset_test.cpp127 TEST(RangeSetTest, Split) { in TEST() argument
130 ASSERT_EQ((std::vector<RangeSet>{ RangeSet::Parse("2,1,2") }), rs1.Split(1)); in TEST()
135 rs2.Split(2)); in TEST()
140 rs3.Split(2)); in TEST()
146 rs4.Split(3)); in TEST()
152 rs5.Split(4)); in TEST()
159 auto splits = rs6.Split(4); in TEST()
177 ASSERT_EQ((std::vector<RangeSet>{}), rs1.Split(2)); in TEST()
183 ASSERT_EQ((std::vector<RangeSet>{}), rs2.Split(0)); in TEST()
190 rs3.Split(4)); in TEST()
[all …]
Dapplypatch_modes_test.cpp86 std::vector<std::string> pieces = android::base::Split(target, ":"); in VerifyPatchedTarget()
Dupdater_test.cpp187 auto lines = android::base::Split(pipe_content, "\n"); in RunBlockImageUpdate()
604 ASSERT_EQ(2U, android::base::Split(cmd, " ").size()); in TEST_F()
627 ASSERT_EQ(3U, android::base::Split(cmd, " ").size()); in TEST_F()
1060 std::vector<std::string> pieces = android::base::Split(range_text, "-"); in GenerateTransferList()
/bootable/recovery/updater/
Dsimulator_runtime.cpp122 std::vector<std::string> lines = android::base::Split(std::string(op_list_value), "\n"); in UpdateDynamicPartitions()
125 auto tokens = android::base::Split(line, " "); in UpdateDynamicPartitions()
Dupdater.cpp108 std::vector<std::string> lines = android::base::Split(std::string(message), "\n"); in UiPrint()
132 const std::vector<std::string> lines = android::base::Split(state->errmsg, "\n"); in ParseAndReportErrorCode()
Dtarget_files.cpp58 std::vector<std::string> lines = android::base::Split(std::string(prop_content), "\n"); in ParsePropertyFile()
74 std::vector<std::string> lines = android::base::Split(std::string(fstab), "\n"); in ParseFstab()
79 std::vector<std::string> tokens = android::base::Split(line, " "); in ParseFstab()
Dupdate_simulator_main.cpp121 auto lines = android::base::Split(content, "\n"); in main()
Dupdater_runtime_dynamic_partitions.cpp322 std::vector<std::string> lines = android::base::Split(std::string(op_list_value), "\n"); in UpdateDynamicPartitions()
329 auto tokens = android::base::Split(op_and_args, " "); in UpdateDynamicPartitions()
Dcommands.cpp154 std::vector<std::string> pairs = android::base::Split(tokens[pos++], ":"); in ParseTargetInfoAndSourceInfo()
179 std::vector<std::string> tokens = android::base::Split(line, " "); in Parse()
407 std::vector<std::string> lines = android::base::Split(transfer_list_str, "\n"); in Parse()
Dupdater_runtime.cpp79 for (const auto& flag : android::base::Split(flags, ",")) { in parseMountFlags()
Dblockimg.cpp113 std::vector<std::string> lines = android::base::Split(android::base::Trim(content), "\n"); in ParseLastCommandFile()
1034 std::vector<std::string> tokens = android::base::Split(params.tokens[params.cpos++], ":"); in LoadSourceBlocks()
1738 std::vector<std::string> lines = android::base::Split(transfer_list_value->data, "\n"); in PerformBlockImageUpdate()
1831 params.tokens = android::base::Split(line, " "); in PerformBlockImageUpdate()
Dinstall.cpp577 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in FileGetPropFn()
/bootable/recovery/install/
Dinstall.cpp96 for (const std::string& line : android::base::Split(metadata_string, "\n")) { in ReadMetadataFromPackage()
220 for (const auto& number : android::base::Split(pkg_serial_no, "|")) { in CheckPackageMetadata()
468 std::vector<std::string> tokens = android::base::Split(args, " "); in TryUpdateBinary()
478 std::vector<std::string> tokens = android::base::Split(args, " "); in TryUpdateBinary()
732 auto&& list = android::base::Split(str_list, deliminator); in isInStringList()
Dwipe_device.cpp80 auto lines = android::base::Split(partition_list_content, "\n"); in GetWipePartitionList()
/bootable/recovery/otautil/include/otautil/
Drangeset.h65 std::vector<RangeSet> Split(size_t groups) const;
/bootable/recovery/recovery_utils/
Dparse_install_logs.cpp104 std::vector<std::string> lines = android::base::Split(content, "\n"); in ParseLastInstall()
/bootable/recovery/otautil/
Drangeset.cpp48 std::vector<std::string> pieces = android::base::Split(range_text, ","); in Parse()
106 std::vector<RangeSet> RangeSet::Split(size_t groups) const { in Split() function in RangeSet
Dsysutil.cpp45 std::vector<std::string> lines = android::base::Split(android::base::Trim(content), "\n"); in ParseBlockMapFile()
/bootable/recovery/minadbd/
Dminadbd_services.cpp102 auto pieces = android::base::Split(args, ":"); in RunAdbFuseSideload()
281 auto pieces = android::base::Split(args, ":"); in WipeDeviceService()
/bootable/recovery/
Drecovery_main.cpp127 std::vector<std::string> tokens = android::base::Split(boot_recovery, "\n"); in get_args()
144 std::vector<std::string> tokens = android::base::Split(content, "\n"); in get_args()
Drecovery.cpp705 android::base::Split(android::base::GetProperty("ro.build.fingerprint", ""), ":"); in start_recovery()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp143 std::vector<RangeSet> groups = ranges.Split(thread_num); in ReadBlocks()
/bootable/recovery/applypatch/
Dapplypatch.cpp432 std::vector<std::string> pieces = android::base::Split(input_str, ":"); in Parse()
/bootable/recovery/uncrypt/
Duncrypt.cpp584 std::vector<std::string> options = android::base::Split(content, "\n"); in setup_bcb()
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp905 android::base::Split(android::base::Trim(split_info_string), "\n"); in TEST()