HomeSort by relevance Sort by last modified time
    Searched refs:STASH (Results 1 - 4 of 4) sorted by null

  /bootable/recovery/tests/unit/
commands_test.cpp 35 ASSERT_EQ(Command::Type::STASH, Command::ParseType("stash"));
177 ASSERT_EQ(StashInfo(), command.stash());
209 ASSERT_EQ(StashInfo(), command.stash());
225 ASSERT_EQ(StashInfo(), command.stash());
241 ASSERT_EQ(StashInfo("hash1", RangeSet()), command.stash());
265 ASSERT_EQ(StashInfo(), command.stash());
288 ASSERT_EQ(StashInfo(), command.stash());
304 ASSERT_EQ(StashInfo(), command.stash());
309 const std::string input{ "stash hash1 2,5,10" }
    [all...]
  /bootable/recovery/updater/
commands.cpp 69 } else if (type_str == "stash") {
70 return Type::STASH;
153 // Each word is a an index into the stash table, a colon, and then a RangeSet describing where
157 *err = "invalid stash info";
162 *err = "invalid stash location";
207 } else if (op == Type::STASH) {
208 // stash <stash_id> <src_ranges>
350 for (const StashInfo& stash : stashes_) {
351 std::vector<uint8_t> stash_buffer(stash.blocks() * block_size);
352 if (stash_reader(stash.id(), &stash_buffer) != 0)
    [all...]
blockimg.cpp 574 // Source blocks in stash only, no work to do.
612 // If the calculated hash for the whole stash doesn't match the stash id, print the SHA-1
630 // If the stash file doesn't exist, read the source blocks this stash contains and print the
634 LOG(ERROR) << "No stash saved for id: " << id;
638 LOG(INFO) << "print hash in hex for source blocks in missing stash: " << id;
642 LOG(ERROR) << "failed to read source blocks for stash: " << id;
680 // Does a best effort enumeration of stash files. Ignores possible non-file items in the stash
1035 std::vector<uint8_t> stash; local
    [all...]
  /bootable/recovery/updater/include/private/
commands.h 66 // Represents the stash info used in a Command.
90 friend std::ostream& operator<<(std::ostream& os, const StashInfo& stash);
92 // The id (i.e. hash) of the stash.
94 // The matching location of the stash.
98 std::ostream& operator<<(std::ostream& os, const StashInfo& stash);
112 for (const auto& stash : stashes_) {
113 blocks_ += stash.ranges().blocks();
153 // blocks represented by the object, or empty if all the data should be loaded from stash.
156 // (i.e. nothing needs to be loaded from stash).
272 // stash <stash_id> <src_ranges
349 const StashInfo& stash() const { function in class:Command
    [all...]

Completed in 771 milliseconds