Searched refs:native_handle (Results 1 – 1 of 1) sorted by relevance
47 native_handle_t* native_handle = native_handle_create(num_fds, num_ints); in CreateFileHandle() local48 if (native_handle == nullptr) { in CreateFileHandle()61 close(native_handle->data[j]); in CreateFileHandle()63 native_handle_delete(native_handle); in CreateFileHandle()66 native_handle->data[i] = curr_fd; in CreateFileHandle()68 native_handle->data[i] = data[i - num_fds]; in CreateFileHandle()75 hidl_handle_ptr->setTo(native_handle, true); in CreateFileHandle()97 const native_handle_t* native_handle = handle_obj->getNativeHandle(); in ReadFile() local99 if (native_handle->numFds == 0) { in ReadFile()104 int fd = native_handle->data[0]; in ReadFile()[all …]