Searched refs:TargetInfo (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/unit/ |
D | commands_test.cpp | 51 TargetInfo target; in TEST() 57 ASSERT_EQ(TargetInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST() 73 TargetInfo target; in TEST() 80 TargetInfo("6ebcf8cf1f6be0bc49e7d4a864214251925d1d15", RangeSet({ { 350729, 350731 } })), in TEST() 99 TargetInfo target; in TEST() 105 ASSERT_EQ(TargetInfo("4734d1b241eb3d0f993714aaf7d665fae43772b6", in TEST() 127 TargetInfo target; in TEST() 151 TargetInfo target; in TEST() 175 ASSERT_EQ(TargetInfo(), command.target()); in TEST() 203 ASSERT_EQ(TargetInfo("9d5d223b4bc5c45dbd25a799c4f1a98466731599", in TEST() [all …]
|
/bootable/recovery/updater/include/private/ |
D | commands.h | 32 class TargetInfo { 34 TargetInfo() = default; 36 TargetInfo(std::string hash, RangeSet ranges) in TargetInfo() function 51 bool operator==(const TargetInfo& other) const { 56 friend std::ostream& operator<<(std::ostream& os, const TargetInfo& source); 64 std::ostream& operator<<(std::ostream& os, const TargetInfo& source); 128 bool Overlaps(const TargetInfo& target) const; 305 Command(Type type, size_t index, std::string cmdline, PatchInfo patch, TargetInfo target, in Command() 341 const TargetInfo& target() const { in target() 380 const std::string& tgt_hash, TargetInfo* target, [all …]
|
/bootable/recovery/updater/ |
D | commands.cpp | 78 const std::string& tgt_hash, TargetInfo* target, in ParseTargetInfoAndSourceInfo() 104 *target = TargetInfo(tgt_hash, tgt_ranges); in ParseTargetInfoAndSourceInfo() 189 TargetInfo target_info; in Parse() 205 target_info = TargetInfo(kUnknownHash, tgt_ranges); in Parse() 311 bool SourceInfo::Overlaps(const TargetInfo& target) const { in Overlaps() 380 std::ostream& operator<<(std::ostream& os, const TargetInfo& target) { in operator <<()
|