Home
last modified time | relevance | path

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

/test/vts/drivers/resource/include/hidl_memory_driver/
DVtsHidlMemoryDriver.h32 using MemoryId = int; variable
82 MemoryId Allocate(size_t mem_size);
90 MemoryId RegisterHidlMemory(size_t hidl_mem_address);
97 bool Update(MemoryId mem_id);
108 bool UpdateRange(MemoryId mem_id, uint64_t start, uint64_t length);
115 bool Read(MemoryId mem_id);
125 bool ReadRange(MemoryId mem_id, uint64_t start, uint64_t length);
136 bool UpdateBytes(MemoryId mem_id, const char* write_data, uint64_t length,
149 bool ReadBytes(MemoryId mem_id, char* read_data, uint64_t length,
157 bool Commit(MemoryId mem_id);
[all …]
/test/vts/drivers/resource/hidl_memory_driver/
DVtsHidlMemoryDriver.cpp41 MemoryId VtsHidlMemoryDriver::Allocate(size_t mem_size) { in Allocate()
62 MemoryId VtsHidlMemoryDriver::RegisterHidlMemory(size_t hidl_mem_address) { in RegisterHidlMemory()
79 bool VtsHidlMemoryDriver::Update(MemoryId mem_id) { in Update()
86 bool VtsHidlMemoryDriver::UpdateRange(MemoryId mem_id, uint64_t start, in UpdateRange()
94 bool VtsHidlMemoryDriver::Read(MemoryId mem_id) { in Read()
101 bool VtsHidlMemoryDriver::ReadRange(MemoryId mem_id, uint64_t start, in ReadRange()
109 bool VtsHidlMemoryDriver::UpdateBytes(MemoryId mem_id, const char* write_data, in UpdateBytes()
119 bool VtsHidlMemoryDriver::ReadBytes(MemoryId mem_id, char* read_data, in ReadBytes()
129 bool VtsHidlMemoryDriver::Commit(MemoryId mem_id) { in Commit()
136 bool VtsHidlMemoryDriver::GetSize(MemoryId mem_id, size_t* result) { in GetSize()
[all …]