Home
last modified time | relevance | path

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

/drivers/peripheral/usb/test/unittest/hal/src/
Dusbd_interface_test.cpp41 static UsbDev dev_; member in __anon6e87ebb10111::UsbdInterfaceTest
44 UsbDev UsbdInterfaceTest::dev_ = {0, 0}; member in __anon6e87ebb10111::UsbdInterfaceTest
78 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in SetUpTestCase()
80 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
83 ret = g_usbInterface->ClaimInterface(dev_, 1, 1); in SetUpTestCase()
90 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in TearDownTestCase()
91 auto ret = g_usbInterface->CloseDevice(dev_); in TearDownTestCase()
107 struct UsbDev dev = dev_;
124 struct UsbDev dev = dev_;
143 struct UsbDev dev = dev_;
[all …]
Dusbd_device_test.cpp35 UsbDev UsbdDeviceTest::dev_ = {0, 0}; member in UsbdDeviceTest
61 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in SetUpTestCase()
86 struct UsbDev dev = dev_;
101 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
116 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID};
148 struct UsbDev dev = dev_;
166 struct UsbDev dev = dev_;
174 dev = dev_;
187 struct UsbDev dev = dev_;
195 dev = dev_;
[all …]
Dusbd_request_test.cpp52 UsbDev UsbdRequestTest::dev_ = {0, 0}; member in UsbdRequestTest
81 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in SetUpTestCase()
83 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
91 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in TearDownTestCase()
92 auto ret = g_usbInterface->CloseDevice(dev_); in TearDownTestCase()
111 struct UsbDev dev = dev_;
127 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
143 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID};
159 struct UsbDev dev = dev_;
194 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
[all …]
Dusbd_transfer_test.cpp53 UsbDev UsbdTransferTest::dev_ = {0, 0}; member in UsbdTransferTest
118 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in SetUpTestCase()
119 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
127 dev_ = {subscriber_->busNum_, subscriber_->devAddr_}; in TearDownTestCase()
128 auto ret = g_usbInterface->CloseDevice(dev_); in TearDownTestCase()
146 struct UsbDev dev = dev_;
163 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
180 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID};
197 struct UsbDev dev = dev_;
215 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
[all …]
/drivers/peripheral/usb/test/unittest/mock/src/
Dusbd_request_auto_test.cpp64 static UsbDev dev_; member in __anon6291b5760111::UsbdRequestTest
80 UsbDev UsbdRequestTest::dev_ = {0, 0}; member in __anon6291b5760111::UsbdRequestTest
107 dev_ = {BUS_NUM_OK, DEV_ADDR_OK}; in SetUpTestCase()
108 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
114 g_usbInterface->CloseDevice(dev_); in TearDownTestCase()
129 struct UsbDev dev = dev_;
144 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
159 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID};
174 struct UsbDev dev = dev_;
207 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
[all …]
Dusbd_transfer_auto_test.cpp59 static UsbDev dev_; member in __anon8fa93eb20111::UsbdTransferTest
75 UsbDev UsbdTransferTest::dev_ = {0, 0}; member in __anon8fa93eb20111::UsbdTransferTest
130 dev_ = {BUS_NUM_OK, DEV_ADDR_OK}; in SetUpTestCase()
131 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
137 g_usbInterface->CloseDevice(dev_); in TearDownTestCase()
150 struct UsbDev dev = dev_;
166 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
183 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID};
200 struct UsbDev dev = dev_;
217 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
[all …]
Dusbd_device_auto_test.cpp48 static UsbDev dev_; member in __anon88432bbd0111::UsbdDeviceTest
52 UsbDev UsbdDeviceTest::dev_ = {0, 0}; member in __anon88432bbd0111::UsbdDeviceTest
74 dev_ = {BUS_NUM_OK, DEV_ADDR_OK}; in SetUpTestCase()
82 g_usbInterface->CloseDevice(dev_); in TearDownTestCase()
297 int32_t ret = g_usbInterface->OpenDevice(dev_);
310 struct UsbDev dev = {BUS_NUM_INVALID, dev_.devAddr};
325 struct UsbDev dev = {dev_.busNum, DEV_ADDR_INVALID};
357 struct UsbDev dev = dev_;
375 struct UsbDev dev = dev_;
383 dev = dev_;
[all …]
/drivers/peripheral/usb/test/unittest/hal/include/
Dusbd_device_test.h33 static UsbDev dev_; variable
Dusbd_transfer_test.h34 static UsbDev dev_; variable
Dusbd_request_test.h34 static UsbDev dev_; variable