Searched refs:handle_id (Results 1 – 9 of 9) sorted by relevance
/test/vts/drivers/resource/hidl_handle_driver/ |
D | VtsHidlHandleDriver.cpp | 84 bool VtsHidlHandleDriver::UnregisterHidlHandle(HandleId handle_id) { in UnregisterHidlHandle() argument 86 hidl_handle* handle_obj = FindHandle(handle_id, true); in UnregisterHidlHandle() 92 ssize_t VtsHidlHandleDriver::ReadFile(HandleId handle_id, void* read_data, in ReadFile() argument 94 hidl_handle* handle_obj = FindHandle(handle_id); in ReadFile() 100 LOG(ERROR) << "Read from file failure: handle object with id " << handle_id in ReadFile() 113 ssize_t VtsHidlHandleDriver::WriteFile(HandleId handle_id, in WriteFile() argument 116 hidl_handle* handle_obj = FindHandle(handle_id); in WriteFile() 122 LOG(ERROR) << "Write to file failure: handle object with id " << handle_id in WriteFile() 146 bool VtsHidlHandleDriver::GetHidlHandleAddress(HandleId handle_id, in GetHidlHandleAddress() argument 148 hidl_handle* handle = FindHandle(handle_id); in GetHidlHandleAddress() [all …]
|
/test/vts/drivers/resource/include/hidl_handle_driver/ |
D | VtsHidlHandleDriver.h | 80 bool UnregisterHidlHandle(HandleId handle_id); 93 ssize_t ReadFile(HandleId handle_id, void* read_data, size_t num_bytes); 106 ssize_t WriteFile(HandleId handle_id, const void* write_data, 124 bool GetHidlHandleAddress(HandleId handle_id, size_t* result); 135 hidl_handle* FindHandle(HandleId handle_id, bool release = false);
|
/test/vts/drivers/resource/resource_manager/ |
D | VtsResourceManager.cpp | 44 HandleId handle_id = hidl_handle_request.handle_id(); in ProcessHidlHandleCommand() local 131 handle_id, static_cast<void*>(read_data), read_data_size); in ProcessHidlHandleCommand() 140 hidl_handle_driver_.WriteFile(handle_id, write_data, write_data_size); in ProcessHidlHandleCommand() 147 success = hidl_handle_driver_.UnregisterHidlHandle(handle_id); in ProcessHidlHandleCommand() 172 int handle_id = hidl_handle_msg.handle_value().handle_id(); in GetHidlHandleAddress() local 173 bool success = hidl_handle_driver_.GetHidlHandleAddress(handle_id, result); in GetHidlHandleAddress()
|
/test/vts/utils/python/mirror/ |
D | resource_mirror.py | 657 def __init__(self, client, handle_id=-1): argument 659 self._handle_id = handle_id 785 request_msg.handle_id = self._handle_id
|
D | native_entity_mirror.py | 293 if result.handle_value.handle_id == -1: 298 self._client, result.handle_value.handle_id)
|
/test/vts/testcases/codelab/hidl_handle_test/ |
D | VtsCodelabHidlHandleTest.py | 231 var_msg.handle_value.handle_id = self._writer.handleId
|
/test/vts/drivers/hal/common/driver_manager/ |
D | VtsHalDriverManager.cpp | 560 if (arg->handle_value().handle_id() != -1) { in PreprocessHidlHalFunctionCallArgs() 570 << arg->handle_value().handle_id(); in PreprocessHidlHalFunctionCallArgs()
|
/test/vts/proto/ |
D | VtsResourceControllerMessage.proto | 182 optional int32 handle_id = 2 [default = -1]; field
|
D | ComponentSpecificationMessage.proto | 397 optional int32 handle_id = 6 [default = -1]; field
|