Searched refs:PatchInfo (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/updater/include/private/ |
D | commands.h | 166 class PatchInfo { 168 PatchInfo() = default; 170 PatchInfo(size_t offset, size_t length) : offset_(offset), length_(length) {} in PatchInfo() function 180 bool operator==(const PatchInfo& other) const { 305 Command(Type type, size_t index, std::string cmdline, PatchInfo patch, TargetInfo target, in Command() 337 const PatchInfo& patch() const { in patch() 394 PatchInfo patch_;
|
/bootable/recovery/tests/unit/ |
D | commands_test.cpp | 178 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 210 ASSERT_EQ(PatchInfo(0, 148), command.patch()); in TEST() 226 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 242 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 266 ASSERT_EQ(PatchInfo(29629269, 185), command.patch()); in TEST() 289 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 305 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 321 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 337 ASSERT_EQ(PatchInfo(), command.patch()); in TEST() 356 ASSERT_EQ(PatchInfo(), command.patch()); in TEST()
|
/bootable/recovery/updater/ |
D | commands.cpp | 188 PatchInfo patch_info; in Parse() 254 patch_info = PatchInfo(offset, length); in Parse()
|