Home
last modified time | relevance | path

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

/system/core/adf/libadfhwc/
Dadfhwc.cpp243 adf_hwc_helper *dev_ret = new adf_hwc_helper; in adf_hwc_open() local
244 dev_ret->event_cb = event_cb; in adf_hwc_open()
245 dev_ret->event_cb_data = event_cb_data; in adf_hwc_open()
257 dev_ret->intf_fds.push_back(dup_intf_fd); in adf_hwc_open()
267 ret = pthread_create(&dev_ret->event_thread, NULL, adf_event_thread, in adf_hwc_open()
268 dev_ret); in adf_hwc_open()
274 *dev = dev_ret; in adf_hwc_open()
278 for (size_t i = 0; i < dev_ret->intf_fds.size(); i++) in adf_hwc_open()
279 close(dev_ret->intf_fds[i]); in adf_hwc_open()
281 delete dev_ret; in adf_hwc_open()