Searched refs:handle_ (Results 1 – 7 of 7) sorted by relevance
/device/generic/goldfish/keymaster/trusty/ |
D | trusty_keymaster_ipc.cpp | 35 static int handle_ = 0; variable 39 handle_ = qemu_pipe_open(KEYMASTER_SERVICE_NAME); in trusty_keymaster_connect() 40 if (handle_ < 0) { in trusty_keymaster_connect() 41 handle_ = 0; in trusty_keymaster_connect() 61 ssize_t rc = WriteFully(handle_, &pipe_command_length, sizeof(pipe_command_length)); in trusty_keymaster_call() 68 rc = WriteFully(handle_, msg, pipe_command_length); in trusty_keymaster_call() 82 rc = ReadFully(handle_, &pipe_command_length, sizeof(pipe_command_length)); in trusty_keymaster_call() 89 rc = ReadFully(handle_, out, pipe_command_length); in trusty_keymaster_call() 101 if (handle_ != 0) { in trusty_keymaster_disconnect() 102 close(handle_); in trusty_keymaster_disconnect() [all …]
|
/device/google/cuttlefish_common/guest/commands/usbforward/ |
D | transport_request.cpp | 26 : handle_{std::move(handle)}, in TransportRequest() 41 libusb_fill_control_transfer(transfer_.get(), handle_.get(), buffer_.get(), 48 : handle_{std::move(handle)}, in TransportRequest() 54 transfer_.get(), handle_.get(), 70 if (handle_) { in Submit()
|
D | usb_server.cpp | 62 if (!handle_) return false; in GetDeviceInfo() 66 libusb_device* dev = libusb_get_device(handle_.get()); in GetDeviceInfo() 148 ResponseHeader rsp{handle_ ? StatusSuccess : StatusFailure, tag}; in HandleAttach() 154 ResponseHeader rsp{handle_ ? StatusSuccess : StatusFailure, tag}; in HandleHeartbeat() 169 handle_, in HandleControlTransfer() 212 handle_, in HandleDataTransfer() 317 handle_ = GetDevice(); in InitLibUSB() 327 handle_.reset(); in ExitLibUSB() 336 if (!handle_) { in Serve() 350 handle_.reset(); in Serve() [all …]
|
D | transport_request.h | 60 std::shared_ptr<libusb_device_handle> handle_;
|
D | usb_server.h | 82 std::shared_ptr<libusb_device_handle> handle_; variable
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | Context.h | 42 Context(uint32_t handle_, const char* name_, uint32_t nlen_, PFNSUBMITCMD pfnProcessCmd_, in Context() 44 : render_control(this, dpy_), worker(), name(std::string(name_, nlen_)), handle(handle_), in Context()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | VirtioGpuStream.cpp | 55 uint32_t CrosGralloc::getHostHandle(native_handle_t const* handle_) in getHostHandle() argument 61 reinterpret_cast<cros_gralloc_handle const*>(handle_); in getHostHandle()
|