Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Drangeset_test.cpp126 TEST(RangeSetTest, Split) { in TEST() argument
129 ASSERT_EQ((std::vector<RangeSet>{ RangeSet::Parse("2,1,2") }), rs1.Split(1)); in TEST()
134 rs2.Split(2)); in TEST()
139 rs3.Split(2)); in TEST()
145 rs4.Split(3)); in TEST()
151 rs5.Split(4)); in TEST()
158 auto splits = rs6.Split(4); in TEST()
176 ASSERT_EQ((std::vector<RangeSet>{}), rs1.Split(2)); in TEST()
182 ASSERT_EQ((std::vector<RangeSet>{}), rs2.Split(0)); in TEST()
189 rs3.Split(4)); in TEST()
[all …]
/bootable/recovery/otautil/include/otautil/
Drangeset.h58 std::vector<RangeSet> Split(size_t groups) const;
/bootable/recovery/minadbd/
Dminadbd_services.cpp101 auto pieces = android::base::Split(args, ":"); in RunAdbFuseSideload()
212 auto pieces = android::base::Split(args, ":"); in WipeDeviceService()
/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
Dparse_install_logs.cpp104 std::vector<std::string> lines = android::base::Split(content, "\n"); in ParseLastInstall()
Dsysutil.cpp45 std::vector<std::string> lines = android::base::Split(android::base::Trim(content), "\n"); in ParseBlockMapFile()
/bootable/recovery/updater/
Dcommands.cpp155 std::vector<std::string> pairs = android::base::Split(tokens[pos++], ":"); in ParseTargetInfoAndSourceInfo()
180 std::vector<std::string> tokens = android::base::Split(line, " "); in Parse()
408 std::vector<std::string> lines = android::base::Split(transfer_list_str, "\n"); in Parse()
Dupdater.cpp178 const std::vector<std::string> lines = android::base::Split(state.errmsg, "\n"); in main()
Ddynamic_partitions.cpp390 std::vector<std::string> lines = android::base::Split(op_list_value->data, "\n"); in UpdateDynamicPartitionsFn()
397 auto tokens = android::base::Split(op_and_args, " "); in UpdateDynamicPartitionsFn()
Dinstall.cpp73 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in uiPrint()
602 std::vector<std::string> lines = android::base::Split(buffer, "\n"); in FileGetPropFn()
Dblockimg.cpp108 std::vector<std::string> lines = android::base::Split(android::base::Trim(content), "\n"); in ParseLastCommandFile()
1029 std::vector<std::string> tokens = android::base::Split(params.tokens[params.cpos++], ":"); in LoadSourceBlocks()
1733 std::vector<std::string> lines = android::base::Split(transfer_list_value->data, "\n"); in PerformBlockImageUpdate()
1826 params.tokens = android::base::Split(line, " "); in PerformBlockImageUpdate()
/bootable/recovery/install/
Dinstall.cpp92 for (const std::string& line : android::base::Split(metadata_string, "\n")) { in ReadMetadataFromPackage()
214 for (const auto& number : android::base::Split(pkg_serial_no, "|")) { in CheckPackageMetadata()
437 std::vector<std::string> tokens = android::base::Split(args, " "); in try_update_binary()
447 std::vector<std::string> tokens = android::base::Split(args, " "); in try_update_binary()
/bootable/recovery/tests/component/
Dapplypatch_modes_test.cpp86 std::vector<std::string> pieces = android::base::Split(target, ":"); in VerifyPatchedTarget()
Dupdater_test.cpp575 ASSERT_EQ(2U, android::base::Split(cmd, " ").size()); in TEST_F()
600 ASSERT_EQ(3U, android::base::Split(cmd, " ").size()); in TEST_F()
1058 std::vector<std::string> pieces = android::base::Split(range_text, "-"); in GenerateTransferList()
Dimgdiff_test.cpp906 android::base::Split(android::base::Trim(split_info_string), "\n"); in TEST()
/bootable/recovery/
Drecovery_main.cpp121 std::vector<std::string> tokens = android::base::Split(boot_recovery, "\n"); in get_args()
138 std::vector<std::string> tokens = android::base::Split(content, "\n"); in get_args()
Drecovery.cpp341 std::vector<std::string> lines = android::base::Split(partition_list_content, "\n"); in GetWipePartitionList()
836 android::base::Split(android::base::GetProperty("ro.bootimage.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.cpp430 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()