Searched refs:SourceInfo (Results 1 – 3 of 3) sorted by relevance
/bootable/deprecated-ota/tests/unit/ |
D | commands_test.cpp | 52 SourceInfo source; in TEST() 60 ASSERT_EQ(SourceInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST() 74 SourceInfo source; in TEST() 83 SourceInfo("1c25ba04d3278d6b65a1b9f17abac78425ec8b8d", {}, {}, in TEST() 100 SourceInfo source; in TEST() 108 ASSERT_EQ(SourceInfo( in TEST() 128 SourceInfo source; in TEST() 152 SourceInfo source; in TEST() 176 ASSERT_EQ(SourceInfo(), command.source()); in TEST() 206 ASSERT_EQ(SourceInfo("f201a4e04bd3860da6ad47b957ef424d58a58f8c", in TEST() [all …]
|
/bootable/deprecated-ota/updater/include/private/ |
D | commands.h | 102 class SourceInfo { 104 SourceInfo() = default; 106 SourceInfo(std::string hash, RangeSet ranges, RangeSet location, std::vector<StashInfo> stashes) in SourceInfo() function 142 bool operator==(const SourceInfo& other) const { 148 friend std::ostream& operator<<(std::ostream& os, const SourceInfo& source); 164 std::ostream& operator<<(std::ostream& os, const SourceInfo& source); 306 SourceInfo source, StashInfo stash) in Command() 345 const SourceInfo& source() const { in source() 381 const std::string& src_hash, SourceInfo* source, 398 SourceInfo source_;
|
/bootable/deprecated-ota/updater/ |
D | commands.cpp | 79 const std::string& src_hash, SourceInfo* source, in ParseTargetInfoAndSourceInfo() 129 SourceInfo result(src_hash, src_ranges, {}, {}); in ParseTargetInfoAndSourceInfo() 167 SourceInfo result(src_hash, src_ranges, src_ranges_location, stashes); in ParseTargetInfoAndSourceInfo() 190 SourceInfo source_info; in Parse() 311 bool SourceInfo::Overlaps(const TargetInfo& target) const { in Overlaps() 330 bool SourceInfo::ReadAll( in ReadAll() 359 void SourceInfo::DumpBuffer(const std::vector<uint8_t>& buffer, size_t block_size) const { in DumpBuffer() 390 std::ostream& operator<<(std::ostream& os, const SourceInfo& source) { in operator <<()
|