Home
last modified time | relevance | path

Searched refs:expect_size (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp88 bool WriteRandomData(const std::string& path, std::optional<size_t> expect_size, in WriteRandomData() argument
100 while (!expect_size || total_written < *expect_size) { in WriteRandomData()
116 if (expect_size && total_written != *expect_size) { in WriteRandomData()
117 PLOG(ERROR) << "Written " << total_written << " bytes, expected " << *expect_size; in WriteRandomData()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h145 bool WriteRandomData(const std::string& path, std::optional<size_t> expect_size = std::nullopt,