Home
last modified time | relevance | path

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

/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriver.cpp86 hidl_handle* handle_obj = FindHandle(handle_id, true); in UnregisterHidlHandle() local
87 if (handle_obj == nullptr) return false; // unable to find handle object. in UnregisterHidlHandle()
88 delete handle_obj; // This closes open file descriptors in the handle object. in UnregisterHidlHandle()
94 hidl_handle* handle_obj = FindHandle(handle_id); in ReadFile() local
95 if (handle_obj == nullptr) return -1; in ReadFile()
97 const native_handle_t* native_handle = handle_obj->getNativeHandle(); in ReadFile()
116 hidl_handle* handle_obj = FindHandle(handle_id); in WriteFile() local
117 if (handle_obj == nullptr) return -1; in WriteFile()
119 const native_handle_t* native_handle = handle_obj->getNativeHandle(); in WriteFile()