/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_v1_0/cpp_target/usb/v1_0/ |
H A D | usb_interface_proxy.h.txt | 25 namespace Usb { 98 …int32_t BulkTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbP… 101 …int32_t BulkTransferWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::Usb… 116 …int32_t IsoTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPi… 119 …int32_t IsoTransferWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbP… 122 …int32_t RequestQueue(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPipe&… 142 …int32_t RegBulkCallback(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPi… 148 …int32_t BulkRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPipe& pip… 151 …int32_t BulkWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPipe& pi… 249 …static int32_t BulkRead_(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbP… [all …]
|
H A D | usb_interface_service.h.txt | 23 namespace Usb { 58 …int32_t BulkTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbP… 61 …int32_t BulkTransferWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::Usb… 70 …int32_t InterruptTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0:… 76 …int32_t IsoTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPi… 79 …int32_t IsoTransferWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbP… 82 …int32_t RequestQueue(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPipe&… 102 …int32_t RegBulkCallback(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPi… 108 …int32_t BulkRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPipe& pip… 111 …int32_t BulkWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbPipe& pi… [all …]
|
H A D | usb_types.cpp.txt | 23 namespace Usb { 38 …OS::HDI::Usb::V1_0::PortInfo *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::V1_0::PortInfo… 43 …if (memcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::V1_0::PortInfo), dataBlockPtr, sizeof(OHOS::HDI::U… 59 …OHOS::HDI::Usb::V1_0::UsbDev *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::V1_0::UsbDev*>… 64 …if (memcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::V1_0::UsbDev), dataBlockPtr, sizeof(OHOS::HDI::Usb… 80 …HOS::HDI::Usb::V1_0::UsbPipe *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::V1_0::UsbPipe*… 85 …if (memcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::V1_0::UsbPipe), dataBlockPtr, sizeof(OHOS::HDI::Us… 101 …::Usb::V1_0::UsbCtrlTransfer *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::V1_0::UsbCtrlT… 122 …DI::Usb::V1_0::USBDeviceInfo *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::V1_0::USBDevic… 127 …if (memcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::V1_0::USBDeviceInfo), dataBlockPtr, sizeof(OHOS::H… [all …]
|
H A D | usb_interface_service.cpp.txt | 23 namespace Usb { 30 int32_t UsbInterfaceService::OpenDevice(const OHOS::HDI::Usb::V1_0::UsbDev& dev) 35 int32_t UsbInterfaceService::CloseDevice(const OHOS::HDI::Usb::V1_0::UsbDev& dev) 160 const OHOS::HDI::Usb::V1_0::UsbPipe& pipe) 196 …const OHOS::HDI::Usb::V1_0::UsbPipe& pipe, const sptr<OHOS::HDI::Usb::V1_0::IUsbdBulkCallback>& cb) 202 const OHOS::HDI::Usb::V1_0::UsbPipe& pipe) 207 int32_t UsbInterfaceService::BulkRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, 208 const OHOS::HDI::Usb::V1_0::UsbPipe& pipe, const sptr<Ashmem>& ashmem) 214 const OHOS::HDI::Usb::V1_0::UsbPipe& pipe, const sptr<Ashmem>& ashmem) 220 const OHOS::HDI::Usb::V1_0::UsbPipe& pipe) [all …]
|
H A D | usb_interface_proxy.cpp.txt | 30 namespace Usb { 38 sptr<OHOS::HDI::Usb::V1_0::IUsbInterface> OHOS::HDI::Usb::V1_0::IUsbInterface::Get(bool isStub) 164 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::OpenDevice(const OHOS::HDI::Usb::V1_0::UsbDev& dev) 169 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::CloseDevice(const OHOS::HDI::Usb::V1_0::UsbDev& de… 208 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::GetConfig(const OHOS::HDI::Usb::V1_0::UsbDev& dev, 232 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::SetInterface(const OHOS::HDI::Usb::V1_0::UsbDev& d… 292 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::RequestWait(const OHOS::HDI::Usb::V1_0::UsbDev& de… 347 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::BulkRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, 353 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::BulkWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, 359 int32_t OHOS::HDI::Usb::V1_0::UsbInterfaceProxy::BulkCancel(const OHOS::HDI::Usb::V1_0::UsbDev& dev, [all …]
|
H A D | iusb_interface.h.txt | 51 namespace Usb { 132 …virtual int32_t BulkTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1… 150 …virtual int32_t IsoTransferRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_… 153 …virtual int32_t IsoTransferWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1… 156 …virtual int32_t RequestQueue(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::… 163 const OHOS::HDI::Usb::V1_0::UsbPipe& pipe) = 0; 177 …virtual int32_t RegBulkCallback(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_… 183 …virtual int32_t BulkRead(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::UsbP… 186 …virtual int32_t BulkWrite(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::Usb… 189 …virtual int32_t BulkCancel(const OHOS::HDI::Usb::V1_0::UsbDev& dev, const OHOS::HDI::Usb::V1_0::Us… [all …]
|
H A D | usb_interface_stub.cpp.txt | 30 namespace Usb { 77 sptr<OHOS::HDI::Usb::V1_0::IUsbInterface> OHOS::HDI::Usb::V1_0::IUsbInterface::Get(bool isStub) 97 OHOS::HDI::Usb::V1_0::UsbInterfaceStub::UsbInterfaceStub(const sptr<OHOS::HDI::Usb::V1_0::IUsbInter… 376 OHOS::HDI::Usb::V1_0::UsbDev dev; 403 OHOS::HDI::Usb::V1_0::UsbDev dev; 435 OHOS::HDI::Usb::V1_0::UsbDev dev; 483 OHOS::HDI::Usb::V1_0::UsbDev dev; 537 OHOS::HDI::Usb::V1_0::UsbDev dev; 591 OHOS::HDI::Usb::V1_0::UsbDev dev; 634 OHOS::HDI::Usb::V1_0::UsbDev dev; [all …]
|
H A D | usb_interface_stub.h.txt | 28 namespace Usb { 39 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 41 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 53 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 55 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 93 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 103 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 105 …cel& usbInterfaceReply, MessageOption& usbInterfaceOption, sptr<OHOS::HDI::Usb::V1_0::IUsbInterfac… 185 …static inline ObjectDelegator<OHOS::HDI::Usb::V1_0::UsbInterfaceStub, OHOS::HDI::Usb::V1_0::IUsbIn… 186 sptr<OHOS::HDI::Usb::V1_0::IUsbInterface> impl_; [all …]
|
H A D | usbd_subscriber_stub.cpp.txt | 24 namespace Usb { 29 OHOS::HDI::Usb::V1_0::UsbdSubscriberStub::UsbdSubscriberStub(const sptr<OHOS::HDI::Usb::V1_0::IUsbd… 30 : IPCObjectStub(OHOS::HDI::Usb::V1_0::IUsbdSubscriber::GetDescriptor()), impl_(impl) 34 OHOS::HDI::Usb::V1_0::UsbdSubscriberStub::~UsbdSubscriberStub() 70 …Usb::V1_0::UsbdSubscriberStub::UsbdSubscriberStubDeviceEvent_(MessageParcel& usbdSubscriberData, M… 72 …if (usbdSubscriberData.ReadInterfaceToken() != OHOS::HDI::Usb::V1_0::IUsbdSubscriber::GetDescripto… 77 OHOS::HDI::Usb::V1_0::USBDeviceInfo info; 97 …Usb::V1_0::UsbdSubscriberStub::UsbdSubscriberStubPortChangedEvent_(MessageParcel& usbdSubscriberDa… 104 OHOS::HDI::Usb::V1_0::PortInfo info; 124 …Usb::V1_0::UsbdSubscriberStub::UsbdSubscriberStubGetVersion_(MessageParcel& usbdSubscriberData, Me… [all …]
|
H A D | usbd_bulk_callback_stub.cpp.txt | 24 namespace Usb { 29 OHOS::HDI::Usb::V1_0::UsbdBulkCallbackStub::UsbdBulkCallbackStub(const sptr<OHOS::HDI::Usb::V1_0::I… 30 : IPCObjectStub(OHOS::HDI::Usb::V1_0::IUsbdBulkCallback::GetDescriptor()), impl_(impl) 34 OHOS::HDI::Usb::V1_0::UsbdBulkCallbackStub::~UsbdBulkCallbackStub() 70 …Usb::V1_0::UsbdBulkCallbackStub::UsbdBulkCallbackStubOnBulkWriteCallback_(MessageParcel& usbdBulkC… 72 …if (usbdBulkCallbackData.ReadInterfaceToken() != OHOS::HDI::Usb::V1_0::IUsbdBulkCallback::GetDescr… 103 …Usb::V1_0::UsbdBulkCallbackStub::UsbdBulkCallbackStubOnBulkReadCallback_(MessageParcel& usbdBulkCa… 105 …if (usbdBulkCallbackData.ReadInterfaceToken() != OHOS::HDI::Usb::V1_0::IUsbdBulkCallback::GetDescr… 136 …Usb::V1_0::UsbdBulkCallbackStub::UsbdBulkCallbackStubGetVersion_(MessageParcel& usbdBulkCallbackDa… 138 …if (usbdBulkCallbackData.ReadInterfaceToken() != OHOS::HDI::Usb::V1_0::IUsbdBulkCallback::GetDescr… [all …]
|
H A D | usbd_subscriber_proxy.cpp.txt | 28 namespace Usb { 32 int32_t OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::DeviceEvent(const OHOS::HDI::Usb::V1_0::USBDevic… 34 return OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::DeviceEvent_(info, Remote()); 37 int32_t OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::PortChangedEvent(const OHOS::HDI::Usb::V1_0::Por… 39 return OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::PortChangedEvent_(info, Remote()); 44 return OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::GetVersion_(majorVer, minorVer, Remote()); 47 int32_t OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::DeviceEvent_(const OHOS::HDI::Usb::V1_0::USBDevi… 59 if (!OHOS::HDI::Usb::V1_0::USBDeviceInfoBlockMarshalling(usbdSubscriberData, info)) { 78 int32_t OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy::PortChangedEvent_(const OHOS::HDI::Usb::V1_0::Po… 90 if (!OHOS::HDI::Usb::V1_0::PortInfoBlockMarshalling(usbdSubscriberData, info)) { [all …]
|
H A D | usb_types.h.txt | 49 namespace Usb { 85 bool PortInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Usb::V1_0::PortInfo& data… 87 bool PortInfoBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Usb::V1_0::PortInfo& dataBloc… 89 bool UsbDevBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Usb::V1_0::UsbDev& dataBloc… 91 bool UsbDevBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Usb::V1_0::UsbDev& dataBlock); 93 bool UsbPipeBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Usb::V1_0::UsbPipe& dataBl… 95 bool UsbPipeBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Usb::V1_0::UsbPipe& dataBlock); 99 bool UsbCtrlTransferBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Usb::V1_0::UsbCtrlTran… 101 bool USBDeviceInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Usb::V1_0::USBDevice… 103 bool USBDeviceInfoBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Usb::V1_0::USBDeviceInfo… [all …]
|
H A D | usbd_subscriber_proxy.h.txt | 24 namespace Usb { 27 class UsbdSubscriberProxy : public IProxyBroker<OHOS::HDI::Usb::V1_0::IUsbdSubscriber> { 29 …explicit UsbdSubscriberProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Usb::V1_… 38 int32_t DeviceEvent(const OHOS::HDI::Usb::V1_0::USBDeviceInfo& info) override; 40 int32_t PortChangedEvent(const OHOS::HDI::Usb::V1_0::PortInfo& info) override; 44 …static int32_t DeviceEvent_(const OHOS::HDI::Usb::V1_0::USBDeviceInfo& info, const sptr<IRemoteObj… 46 …static int32_t PortChangedEvent_(const OHOS::HDI::Usb::V1_0::PortInfo& info, const sptr<IRemoteObj… 51 static inline BrokerDelegator<OHOS::HDI::Usb::V1_0::UsbdSubscriberProxy> delegator_; 55 } // Usb
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_ddk_v1_0/cpp_target/usb/ddk/v1_0/ |
H A D | usb_ddk_types.cpp.txt | 23 namespace Usb { 31 …if (!data.WriteUnpadBuffer((const void*)&dataBlock, sizeof(OHOS::HDI::Usb::Ddk::V1_0::UsbControlRe… 39 …Usb::Ddk::V1_0::UsbControlRequestSetup *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::Ddk:… 44 …emcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::Ddk::V1_0::UsbControlRequestSetup), dataBlockPtr, sizeo… 52 …if (!data.WriteUnpadBuffer((const void*)&dataBlock, sizeof(OHOS::HDI::Usb::Ddk::V1_0::UsbDeviceDes… 60 …Usb::Ddk::V1_0::UsbDeviceDescriptor *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::Ddk::V1… 65 …(memcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::Ddk::V1_0::UsbDeviceDescriptor), dataBlockPtr, sizeof… 73 …if (!data.WriteUnpadBuffer((const void*)&dataBlock, sizeof(OHOS::HDI::Usb::Ddk::V1_0::UsbRequestPi… 81 …Usb::Ddk::V1_0::UsbRequestPipe *dataBlockPtr = reinterpret_cast<const OHOS::HDI::Usb::Ddk::V1_0::U… 86 …f (memcpy_s(&dataBlock, sizeof(OHOS::HDI::Usb::Ddk::V1_0::UsbRequestPipe), dataBlockPtr, sizeof(OH… [all …]
|
H A D | usb_ddk_stub.cpp.txt | 27 namespace Usb { 92 sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk::Get(bool isStub) 97 sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk::Get(const std::string&… 108 return reinterpret_cast<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk *>(impl); 112 OHOS::HDI::Usb::Ddk::V1_0::UsbDdkStub::UsbDdkStub(const sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> &i… 117 OHOS::HDI::Usb::Ddk::V1_0::UsbDdkStub::~UsbDdkStub() 278 OHOS::HDI::Usb::Ddk::V1_0::UsbDeviceDescriptor desc; 505 OHOS::HDI::Usb::Ddk::V1_0::UsbControlRequestSetup setup; 560 OHOS::HDI::Usb::Ddk::V1_0::UsbControlRequestSetup setup; 599 OHOS::HDI::Usb::Ddk::V1_0::UsbRequestPipe pipe; [all …]
|
H A D | usb_ddk_proxy.cpp.txt | 29 namespace Usb { 39 sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk::Get(bool isStub) 44 sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk::Get(const std::string&… 69 …sptr<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy> proxy = new OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy(re… 96 int32_t OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::Reconnect( 97 sptr<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy> proxy) 184 int32_t OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::Init() 189 int32_t OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::Release() 240 int32_t OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::SendPipeRequest(const OHOS::HDI::Usb::Ddk::V1_0::Us… 629 int32_t OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::SendPipeRequest_(const OHOS::HDI::Usb::Ddk::V1_0::U… [all …]
|
H A D | usb_ddk_stub.h.txt | 28 namespace Usb { 40 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 42 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 44 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 48 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 50 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 60 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 64 …, MessageParcel& usbDdkReply, MessageOption& usbDdkOption, sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk… 94 …static inline ObjectDelegator<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkStub, OHOS::HDI::Usb::Ddk::V1_0::IU… 95 sptr<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> impl_; [all …]
|
H A D | usb_ddk_proxy.h.txt | 25 namespace Usb { 29 class UsbDdkProxy : public IProxyBroker<OHOS::HDI::Usb::Ddk::V1_0::IUsbDdk> { 33 …IServiceManagerDeathRecipient(wptr<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy> proxy) : proxy_(proxy) … 45 result = OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::Reconnect(proxy); 51 wptr<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy> proxy_; 104 …static int32_t GetDeviceDescriptor_(uint64_t deviceId, OHOS::HDI::Usb::Ddk::V1_0::UsbDeviceDescrip… 127 …static int32_t SendPipeRequest_(const OHOS::HDI::Usb::Ddk::V1_0::UsbRequestPipe& pipe, uint32_t si… 134 static int32_t Reconnect(sptr<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy> proxy); 143 sptr<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy::IServiceManagerDeathRecipient> deathRecipient_; 146 static inline BrokerDelegator<OHOS::HDI::Usb::Ddk::V1_0::UsbDdkProxy> delegator_; [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_gadget_mtp_v1_0/cpp_target/usb/gadget/mtp/v1_0/ |
H A D | usbfn_mtp_interface_stub.cpp.txt | 27 namespace Usb { 76 sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface> OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsb… 81 sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface> OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsb… 86 …std::string desc = Str16ToStr8(OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface::GetDescripto… 92 return reinterpret_cast<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface *>(impl); 96 OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceStub::UsbfnMtpInterfaceStub(const sptr<OHOS::HD… 97 …: IPCObjectStub(OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface::GetDescriptor()), impl_(imp… 101 OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceStub::~UsbfnMtpInterfaceStub() 304 OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbFnMtpFileSlice mfs; 331 OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbFnMtpFileSlice mfs; [all …]
|
H A D | usbfn_mtp_interface_proxy.cpp.txt | 29 namespace Usb { 39 sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface> OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsb… 44 sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface> OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsb… 69 …sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy> proxy = new OHOS::HDI::Usb::Gadget… 97 sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy> proxy) 165 int32_t OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy::Start() 170 int32_t OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy::Stop() 185 int32_t OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy::ReceiveFile(const OHOS::HDI::Usb… 190 int32_t OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy::SendFile(const OHOS::HDI::Usb::G… 200 int32_t OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy::Init() [all …]
|
H A D | usbfn_mtp_interface_stub.h.txt | 28 namespace Usb { 41 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 43 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 45 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 47 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 51 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 55 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 57 …MtpInterfaceReply, MessageOption& usbfnMtpInterfaceOption, sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0:… 83 …static inline ObjectDelegator<OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceStub, OHOS::HDI:… 84 sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInterface> impl_; [all …]
|
H A D | usbfn_mtp_interface_proxy.h.txt | 25 namespace Usb { 30 class UsbfnMtpInterfaceProxy : public IProxyBroker<OHOS::HDI::Usb::Gadget::Mtp::V1_0::IUsbfnMtpInte… 46 … result = OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy::Reconnect(proxy); 52 wptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy> proxy_; 80 int32_t ReceiveFile(const OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbFnMtpFileSlice& mfs) override; 82 int32_t SendFile(const OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbFnMtpFileSlice& mfs) override; 100 static int32_t ReceiveFile_(const OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbFnMtpFileSlice& mfs, 103 static int32_t SendFile_(const OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbFnMtpFileSlice& mfs, 114 static int32_t Reconnect(sptr<OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy> proxy); 126 …static inline BrokerDelegator<OHOS::HDI::Usb::Gadget::Mtp::V1_0::UsbfnMtpInterfaceProxy> delegator… [all …]
|
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | iusb_srv.h | 45 …virtual int32_t BulkTransferRead(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe … 47 …virtual int32_t BulkTransferWrite(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe… 49 …virtual int32_t BulkTransferReadwithLength(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0… 51 …virtual int32_t ControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbCtrlTr… 53 virtual int32_t UsbControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, 60 …virtual int32_t RequestQueue(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pip… 67 …virtual int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPi… 69 …virtual int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::Usb… 70 …virtual int32_t BulkRead(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pip… 72 …virtual int32_t BulkWrite(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pi… [all …]
|
/ohos5.0/base/usb/usb_manager/services/zidl/include/ |
H A D | usb_server_proxy.h | 51 int32_t BulkTransferRead(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 53 …int32_t BulkTransferReadwithLength(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPip… 55 … int32_t BulkTransferWrite(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 58 …int32_t ControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbCtrlTransfer &… 60 int32_t UsbControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, 67 int32_t RequestQueue(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 74 int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 76 …int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe) … 77 int32_t BulkRead(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 79 int32_t BulkWrite(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, [all …]
|
/ohos5.0/base/usb/usb_manager/services/native/include/ |
H A D | usb_service.h | 85 int32_t BulkTransferRead(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 87 …int32_t BulkTransferReadwithLength(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPip… 89 … int32_t BulkTransferWrite(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 91 …int32_t ControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbCtrlTransfer &… 100 int32_t RequestQueue(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 115 …int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, 117 …int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pi… 119 …const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) … 121 …const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) … 122 …int32_t BulkCancel(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe) ove… [all …]
|