Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Drangeset_test.cpp245 TEST(RangeSetTest, ToString) { in TEST() argument
246 ASSERT_EQ("", RangeSet::Parse("").ToString()); in TEST()
247 ASSERT_EQ("2,1,6", RangeSet::Parse("2,1,6").ToString()); in TEST()
248 ASSERT_EQ("4,1,5,8,10", RangeSet::Parse("4,1,5,8,10").ToString()); in TEST()
249 ASSERT_EQ("6,1,3,4,6,15,22", RangeSet::Parse("6,1,3,4,6,15,22").ToString()); in TEST()
/bootable/deprecated-ota/updater/
Dcommands.cpp134 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
170 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
381 os << target.blocks() << " blocks (" << target.hash_ << "): " << target.ranges_.ToString(); in operator <<()
386 os << stash.blocks() << " blocks (" << stash.id_ << "): " << stash.ranges_.ToString(); in operator <<()
393 os << source.ranges_.ToString(); in operator <<()
395 os << " (location: " << source.location_.ToString() << ")"; in operator <<()
Dblockimg.cpp1534 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
308 << " is missing between two ranges: " << ToString(); in GetOffsetInRangeSet()
313 << " exceeds the limit of current RangeSet: " << ToString(); in GetOffsetInRangeSet()
/bootable/deprecated-ota/tests/unit/
Dupdater_test.cpp270 expect(nullptr, "patch_partition_check(\"" + source.ToString() + "\")", kArgsParsingFailure); in TEST_F()
271 expect(nullptr, "patch_partition_check(\"" + target.ToString() + "\")", kArgsParsingFailure); in TEST_F()
275 "patch_partition_check(\"" + source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
280 cmd = "patch_partition_check(\"" + source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F()
285 cmd = "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
290 "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + bad_target.ToString() + "\")"; in TEST_F()
/bootable/deprecated-ota/applypatch/include/applypatch/
Dapplypatch.h58 std::string ToString() const;
/bootable/recovery/otautil/include/otautil/
Drangeset.h44 std::string ToString() const;
/bootable/deprecated-ota/applypatch/
Dapplypatch.cpp447 std::string Partition::ToString() const { in ToString() function in Partition
455 os << partition.ToString(); in operator <<()
Dimgdiff.cpp232 LOG(INFO) << "Removing block " << used_ranges.ToString() << " from " << *start << " - " in RemoveUsedBlocks()
1118 << "src range " << split_src_ranges[i].ToString() << " overlaps " in ValidateSplitImages()
1119 << used_src_ranges.ToString(); in ValidateSplitImages()
1224 "%zu %zu %s", total_patch_size, split_tgt_size, split_src_ranges[i].ToString().c_str()); in GeneratePatches()
/bootable/deprecated-ota/tests/unit/host/
Dimgdiff_test.cpp787 ASSERT_EQ("4,0,3,15,20", split_src_ranges[0].ToString()); in TEST()
791 ASSERT_EQ("2,3,13", split_src_ranges[1].ToString()); in TEST()
795 ASSERT_EQ("2,20,30", split_src_ranges[2].ToString()); in TEST()
799 ASSERT_EQ("2,30,34", split_src_ranges[3].ToString()); in TEST()