Home
last modified time | relevance | path

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

/test/vts/drivers/resource/hidl_memory_driver/
DVtsHidlMemoryDriver.cpp43 unique_ptr<MemoryInfo> mem_info = nullptr; in Allocate() local
51 mem_info.reset(new MemoryInfo{move(hidl_mem_ptr), mem_ptr}); in Allocate()
54 if (mem_info == nullptr) return -1; in Allocate()
57 hidl_memory_map_.emplace(new_mem_id, move(mem_info)); in Allocate()
71 unique_ptr<MemoryInfo> mem_info(new MemoryInfo{move(hidl_mem_ptr), mem_ptr}); in RegisterHidlMemory() local
74 hidl_memory_map_.emplace(new_mem_id, move(mem_info)); in RegisterHidlMemory()
80 MemoryInfo* mem_info = FindMemory(mem_id); in Update() local
81 if (mem_info == nullptr) return false; in Update()
82 (mem_info->memory)->update(); in Update()
88 MemoryInfo* mem_info = FindMemory(mem_id); in UpdateRange() local
[all …]