Home
last modified time | relevance | path

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

/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_endpoint.h29 USBEndpoint(uint32_t address, uint32_t attributes, uint32_t interval, uint32_t maxPacketSize) in USBEndpoint() argument
34 this->maxPacketSize_ = static_cast<int32_t>(maxPacketSize); in USBEndpoint()
/base/usb/usb_manager/interfaces/kits/js/
D@ohos.usbManager.d.ts317 maxPacketSize: number;
/base/usb/usb_manager/test/native/js_unittest/
DUsbDevicePipeJsunit.test.js69 testParam.maxOutSize = endpoint.maxPacketSize;
72 testParam.maxInSize = endpoint.maxPacketSize;
DUsbDevicePipeJsunitEx.test.js71 testParam.maxOutSize = endpoint.maxPacketSize;
74 testParam.maxInSize = endpoint.maxPacketSize;
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dusb_info.cpp187 int32_t maxPacketSize = 0; in ParseEndpointObj() local
188 NapiUtil::JsObjectToInt(env, endpointObj, "maxPacketSize", maxPacketSize); in ParseEndpointObj()
191 ep = USBEndpoint(address, attributes, interval, maxPacketSize); in ParseEndpointObj()