Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 10 of 10) sorted by relevance

/bootable/recovery/tests/unit/
Drangeset_test.cpp244 TEST(RangeSetTest, ToString) { in TEST() argument
245 ASSERT_EQ("", RangeSet::Parse("").ToString()); in TEST()
246 ASSERT_EQ("2,1,6", RangeSet::Parse("2,1,6").ToString()); in TEST()
247 ASSERT_EQ("4,1,5,8,10", RangeSet::Parse("4,1,5,8,10").ToString()); in TEST()
248 ASSERT_EQ("6,1,3,4,6,15,22", RangeSet::Parse("6,1,3,4,6,15,22").ToString()); in TEST()
/bootable/recovery/updater/
Dcommands.cpp135 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
171 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
382 os << target.blocks() << " blocks (" << target.hash_ << "): " << target.ranges_.ToString(); in operator <<()
387 os << stash.blocks() << " blocks (" << stash.id_ << "): " << stash.ranges_.ToString(); in operator <<()
394 os << source.ranges_.ToString(); in operator <<()
396 os << " (location: " << source.location_.ToString() << ")"; in operator <<()
Dblockimg.cpp1529 LOG(ERROR) << "Failed to initialize hash tree computation, source " << source_ranges.ToString() in PerformCommandComputeHashTree()
/bootable/recovery/otautil/
Drangeset.cpp146 std::string RangeSet::ToString() const { in ToString() function in RangeSet
256 << " is missing between two ranges: " << ToString(); in GetOffsetInRangeSet()
261 << " exceeds the limit of current RangeSet: " << ToString(); in GetOffsetInRangeSet()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h58 std::string ToString() const;
/bootable/recovery/tests/component/
Dupdater_test.cpp237 expect(nullptr, "patch_partition_check(\"" + source.ToString() + "\")", kArgsParsingFailure); in TEST_F()
238 expect(nullptr, "patch_partition_check(\"" + target.ToString() + "\")", kArgsParsingFailure); in TEST_F()
242 "patch_partition_check(\"" + source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
247 cmd = "patch_partition_check(\"" + source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F()
252 cmd = "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
257 "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F()
Dimgdiff_test.cpp788 ASSERT_EQ("4,0,3,15,20", split_src_ranges[0].ToString()); in TEST()
792 ASSERT_EQ("2,3,13", split_src_ranges[1].ToString()); in TEST()
796 ASSERT_EQ("2,20,30", split_src_ranges[2].ToString()); in TEST()
800 ASSERT_EQ("2,30,34", split_src_ranges[3].ToString()); in TEST()
/bootable/recovery/otautil/include/otautil/
Drangeset.h43 std::string ToString() const;
/bootable/recovery/applypatch/
Dapplypatch.cpp445 std::string Partition::ToString() const { in ToString() function in Partition
453 os << partition.ToString(); in operator <<()
Dimgdiff.cpp232 LOG(INFO) << "Removing block " << used_ranges.ToString() << " from " << *start << " - " in RemoveUsedBlocks()
1092 << "src range " << split_src_ranges[i].ToString() << " overlaps " in ValidateSplitImages()
1093 << used_src_ranges.ToString(); in ValidateSplitImages()
1198 "%zu %zu %s", total_patch_size, split_tgt_size, split_src_ranges[i].ToString().c_str()); in GeneratePatches()