Home
last modified time | relevance | path

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

/system/core/fs_mgr/libvbmeta/
Dsuper_vbmeta_test.cpp31 #define FAKE_DATA_SIZE 40960 macro
32 #define FAKE_PARTITION_SIZE FAKE_DATA_SIZE * 25
41 std::unique_ptr<uint8_t[]> buffer = std::make_unique<uint8_t[]>(FAKE_DATA_SIZE); in GeneratePartitionImage()
42 for (size_t c = 0; c < FAKE_DATA_SIZE; c++) { in GeneratePartitionImage()
46 SparsePtr file(sparse_file_new(512 /* block size */, FAKE_DATA_SIZE), sparse_file_destroy); in GeneratePartitionImage()
48 EXPECT_EQ(0, sparse_file_add_data(file.get(), buffer.get(), FAKE_DATA_SIZE, in GeneratePartitionImage()