Home
last modified time | relevance | path

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

/test/vts/drivers/resource/hidl_memory_driver/
DVtsHidlMemoryDriver.cpp79 bool VtsHidlMemoryDriver::Update(MemoryId mem_id) { in Update() argument
80 MemoryInfo* mem_info = FindMemory(mem_id); in Update()
86 bool VtsHidlMemoryDriver::UpdateRange(MemoryId mem_id, uint64_t start, in UpdateRange() argument
88 MemoryInfo* mem_info = FindMemory(mem_id); in UpdateRange()
94 bool VtsHidlMemoryDriver::Read(MemoryId mem_id) { in Read() argument
95 MemoryInfo* mem_info = FindMemory(mem_id); in Read()
101 bool VtsHidlMemoryDriver::ReadRange(MemoryId mem_id, uint64_t start, in ReadRange() argument
103 MemoryInfo* mem_info = FindMemory(mem_id); in ReadRange()
109 bool VtsHidlMemoryDriver::UpdateBytes(MemoryId mem_id, const char* write_data, in UpdateBytes() argument
111 MemoryInfo* mem_info = FindMemory(mem_id); in UpdateBytes()
[all …]
/test/vts/drivers/resource/include/hidl_memory_driver/
DVtsHidlMemoryDriver.h97 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);
164 bool GetSize(MemoryId mem_id, size_t* result);
172 bool GetHidlMemoryAddress(MemoryId mem_id, size_t* result);
182 MemoryInfo* FindMemory(MemoryId mem_id);
/test/vts/drivers/resource/resource_manager/
DVtsResourceManager.cpp181 int mem_id = hidl_memory_request.mem_id(); in ProcessHidlMemoryCommand() local
195 success = hidl_memory_driver_.Read(mem_id); in ProcessHidlMemoryCommand()
199 success = hidl_memory_driver_.ReadRange(mem_id, start, length); in ProcessHidlMemoryCommand()
203 success = hidl_memory_driver_.Update(mem_id); in ProcessHidlMemoryCommand()
207 success = hidl_memory_driver_.UpdateRange(mem_id, start, length); in ProcessHidlMemoryCommand()
211 success = hidl_memory_driver_.UpdateBytes(mem_id, write_data.c_str(), in ProcessHidlMemoryCommand()
217 success = hidl_memory_driver_.ReadBytes(mem_id, read_data, length, start); in ProcessHidlMemoryCommand()
222 success = hidl_memory_driver_.Commit(mem_id); in ProcessHidlMemoryCommand()
227 success = hidl_memory_driver_.GetSize(mem_id, &result_mem_size); in ProcessHidlMemoryCommand()
253 int mem_id = hidl_memory_msg.hidl_memory_value().mem_id(); in GetHidlMemoryAddress() local
[all …]
/test/vts/utils/python/mirror/
Dresource_mirror.py397 def __init__(self, client, mem_id=-1): argument
399 self._mem_id = mem_id
643 request_msg.mem_id = self._mem_id
Dnative_entity_mirror.py285 if result.hidl_memory_value.mem_id == -1:
290 self._client, result.hidl_memory_value.mem_id)
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp541 if (arg->hidl_memory_value().mem_id() != -1) { in PreprocessHidlHalFunctionCallArgs()
551 << arg->hidl_memory_value().mem_id(); in PreprocessHidlHalFunctionCallArgs()
/test/vts/proto/
DVtsResourceControllerMessage.proto154 optional int32 mem_id = 2 [default = -1]; field
DComponentSpecificationMessage.proto349 optional int32 mem_id = 3 [default = -1]; field