Home
last modified time | relevance | path

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

/bootable/recovery/fuse_sideload/
Dfuse_provider.cpp137 auto block_map = BlockMapData::ParseBlockMapFile(block_map_path); in CreateFromBlockMap() local
138 if (!block_map) { in CreateFromBlockMap()
142 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(block_map.path().c_str(), O_RDONLY))); in CreateFromBlockMap()
144 PLOG(ERROR) << "Failed to open " << block_map.path(); in CreateFromBlockMap()
149 new FuseBlockDataProvider(block_map.file_size(), fuse_block_size, std::move(fd), in CreateFromBlockMap()
150 block_map.block_size(), block_map.block_ranges())); in CreateFromBlockMap()
/bootable/recovery/tests/unit/
Dfuse_provider_test.cpp91 TemporaryFile block_map; in TEST() local
92 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(lines, '\n'), block_map.path)); in TEST()
94 auto block_map_data = FuseBlockDataProvider::CreateFromBlockMap(block_map.path, 16384); in TEST()