Home
last modified time | relevance | path

Searched refs:stash_reader (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/tests/unit/
Dcommands_test.cpp446 auto stash_reader = [](const std::string&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local
448 ASSERT_TRUE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST()
465 auto stash_reader = [](const std::string&, std::vector<uint8_t>* stash_buffer) -> int { in TEST() local
470 ASSERT_TRUE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST()
482 auto stash_reader = [](const std::string&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local
484 ASSERT_FALSE(source.ReadAll(&buffer, kBlockSize, block_reader, stash_reader)); in TEST()
493 auto stash_reader = [](const std::string&, std::vector<uint8_t>*) -> int { return 0; }; in TEST() local
494 ASSERT_FALSE(source.ReadAll(&buffer, kBlockSize, failing_block_reader, stash_reader)); in TEST()
/bootable/recovery/updater/
Dcommands.cpp333 const std::function<int(const std::string&, std::vector<uint8_t>*)>& stash_reader) const { in ReadAll()
351 if (stash_reader(stash.id(), &stash_buffer) != 0) { in ReadAll()
/bootable/recovery/updater/include/private/
Dcommands.h125 const std::function<int(const std::string&, std::vector<uint8_t>*)>& stash_reader) const;