Home
last modified time | relevance | path

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

/test/vts/drivers/resource/include/hidl_handle_driver/
DVtsHidlHandleDriver.h30 using HandleId = int; variable
72 HandleId CreateFileHandle(string filepath, int flag, int mode,
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,
116 HandleId RegisterHidlHandle(size_t hidl_handle_address);
124 bool GetHidlHandleAddress(HandleId handle_id, size_t* result);
135 hidl_handle* FindHandle(HandleId handle_id, bool release = false);
139 unordered_map<HandleId, unique_ptr<hidl_handle>> hidl_handle_map_;
/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriver.cpp43 HandleId VtsHidlHandleDriver::CreateFileHandle(string filepath, int flag, in CreateFileHandle()
84 bool VtsHidlHandleDriver::UnregisterHidlHandle(HandleId handle_id) { in UnregisterHidlHandle()
92 ssize_t VtsHidlHandleDriver::ReadFile(HandleId handle_id, void* read_data, in ReadFile()
113 ssize_t VtsHidlHandleDriver::WriteFile(HandleId handle_id, in WriteFile()
135 HandleId VtsHidlHandleDriver::RegisterHidlHandle(size_t hidl_handle_address) { in RegisterHidlHandle()
146 bool VtsHidlHandleDriver::GetHidlHandleAddress(HandleId handle_id, in GetHidlHandleAddress()
154 hidl_handle* VtsHidlHandleDriver::FindHandle(HandleId handle_id, bool release) { in FindHandle()
/test/vts/drivers/resource/resource_manager/
DVtsResourceManager.cpp44 HandleId handle_id = hidl_handle_request.handle_id(); in ProcessHidlHandleCommand()