mirror of
https://gitee.com/openharmony/xts_hats
synced 2024-11-27 17:12:20 +00:00
Add hdi test suites -usb
Signed-off-by: wangchao582 <wangchao582@huawei.com>
This commit is contained in:
parent
251b54f949
commit
53b50f19c4
@ -48,7 +48,10 @@ OHOS::sptr<OHOS::USB::UsbSubscriberTest> UsbdInterfaceTestAdditional::subscriber
|
||||
|
||||
sptr<IUsbInterface> g_usbInterface = nullptr;
|
||||
|
||||
int32_t SwitchErrCode(int32_t ret) { return ret == HDF_ERR_NOT_SUPPORT ? HDF_SUCCESS : ret; }
|
||||
int32_t SwitchErrCode(int32_t ret)
|
||||
{
|
||||
return ret == HDF_ERR_NOT_SUPPORT ? HDF_SUCCESS : ret;
|
||||
}
|
||||
|
||||
void UsbdInterfaceTestAdditional::SetUpTestCase(void)
|
||||
{
|
||||
@ -99,11 +102,11 @@ void UsbdInterfaceTestAdditional::SetUp(void) {}
|
||||
void UsbdInterfaceTestAdditional::TearDown(void) {}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_0900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface001
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_0900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface001
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface001, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface001, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -114,11 +117,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface001, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface002
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface002
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},255,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface002, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface002, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 255;
|
||||
@ -129,11 +132,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface002, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface003
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface003
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},0,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface003, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface003, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 0;
|
||||
@ -144,11 +147,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface003, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface004
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface004
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},0,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface004, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface004, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 1;
|
||||
@ -159,11 +162,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface004, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface005
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface005
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface005, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface005, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -174,11 +177,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface005, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface006
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface006
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},1,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface006, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface006, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 1;
|
||||
@ -189,11 +192,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface006, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1500
|
||||
* @tc.name: testHdiusbrequestTestSetInterface007
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1500
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface007
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,0},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface007, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface007, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -204,11 +207,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface007, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1600
|
||||
* @tc.name: testHdiusbrequestTestSetInterface008
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1600
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface008
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,255},0,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface008, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface008, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 0;
|
||||
@ -220,11 +223,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface008, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1700
|
||||
* @tc.name: testHdiusbrequestTestSetInterface009
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1700
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface009
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,255},0,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface009, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface009, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 1;
|
||||
@ -236,11 +239,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface009, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1800
|
||||
* @tc.name: testHdiusbrequestTestSetInterface010
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1800
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface010
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,255},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface010, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface010, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -252,11 +255,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface010, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_1900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface011
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_1900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface011
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,255},1,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface011, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface011, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 0;
|
||||
@ -268,11 +271,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface011, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface012
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface012
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,255},1,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface012, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface012, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 1;
|
||||
@ -284,11 +287,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface012, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface013
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface013
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,0},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface013, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface013, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -299,11 +302,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface013, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface014
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface014
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,0},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface014, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface014, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -314,11 +317,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface014, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface015
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface015
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,0},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface015, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface015, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -329,11 +332,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface015, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface016
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface016
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({100,0},255,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface016, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface016, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 255;
|
||||
@ -344,11 +347,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface016, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2500
|
||||
* @tc.name: testHdiusbrequestTestSetInterface017
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2500
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface017
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},255,10).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface017, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface017, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 10;
|
||||
@ -359,11 +362,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface017, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2600
|
||||
* @tc.name: testHdiusbrequestTestSetInterface018
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2600
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface018
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},10,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface018, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface018, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 10;
|
||||
uint8_t altIndex = 255;
|
||||
@ -374,11 +377,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface018, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2700
|
||||
* @tc.name: testHdiusbrequestTestSetInterface019
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2700
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface019
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface019, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface019, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -389,11 +392,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface019, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2800
|
||||
* @tc.name: testHdiusbrequestTestSetInterface020
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2800
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface020
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},100,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface020, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface020, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 100;
|
||||
uint8_t altIndex = 255;
|
||||
@ -404,11 +407,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface020, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_2900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface021
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_2900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface021
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},255,100).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface021, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface021, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 100;
|
||||
@ -419,11 +422,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface021, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface022
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface022
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface022, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface022, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -434,11 +437,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface022, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface023
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface023
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface023, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface023, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -449,11 +452,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface023, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface024
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface024
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface024, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface024, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -464,11 +467,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface024, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface025
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface025
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,100},255,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface025, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface025, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 255;
|
||||
@ -479,11 +482,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface025, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface026
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface026
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},1,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface026, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface026, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 0;
|
||||
@ -494,11 +497,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface026, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3500
|
||||
* @tc.name: testHdiusbrequestTestSetInterface027
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3500
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface027
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},1,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface027, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface027, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 1;
|
||||
@ -509,11 +512,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface027, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3600
|
||||
* @tc.name: testHdiusbrequestTestSetInterface028
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3600
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface028
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},0,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface028, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface028, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 0;
|
||||
@ -524,11 +527,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface028, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3700
|
||||
* @tc.name: testHdiusbrequestTestSetInterface029
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3700
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface029
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},0,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface029, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface029, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 1;
|
||||
@ -539,11 +542,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface029, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3800
|
||||
* @tc.name: testHdiusbrequestTestSetInterface030
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3800
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface030
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface030, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface030, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -554,11 +557,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface030, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_3900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface031
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_3900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface031
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface031, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface031, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -569,11 +572,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface031, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface032
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface032
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({0,255},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface032, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface032, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -584,11 +587,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface032, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface033
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface033
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},1,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface033, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface033, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 1;
|
||||
@ -600,11 +603,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface033, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface034
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface034
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface034, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface034, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -616,11 +619,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface034, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface035
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface035
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},0,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface035, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface035, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 0;
|
||||
@ -632,11 +635,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface035, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface036
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface036
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},0,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface036, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface036, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 1;
|
||||
@ -648,11 +651,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface036, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4500
|
||||
* @tc.name: testHdiusbrequestTestSetInterface037
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4500
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface037
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface037, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface037, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -664,11 +667,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface037, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4600
|
||||
* @tc.name: testHdiusbrequestTestSetInterface038
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4600
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface038
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface038, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface038, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -680,11 +683,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface038, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4700
|
||||
* @tc.name: testHdiusbrequestTestSetInterface039
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4700
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface039
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,255},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface039, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface039, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -696,11 +699,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface039, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4800
|
||||
* @tc.name: testHdiusbrequestTestSetInterface040
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4800
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface040
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},255,100).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface040, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface040, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 100;
|
||||
@ -711,11 +714,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface040, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_4900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface041
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_4900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface041
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},100,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface041, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface041, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 100;
|
||||
uint8_t altIndex = 255;
|
||||
@ -726,11 +729,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface041, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface042
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface042
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface042, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface042, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -741,11 +744,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface042, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface043
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface043
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},10,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface043, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface043, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 10;
|
||||
uint8_t altIndex = 255;
|
||||
@ -756,11 +759,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface043, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface044
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface044
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},255,10).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface044, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface044, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 10;
|
||||
@ -771,11 +774,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface044, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface045
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface045
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface045, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface045, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -786,11 +789,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface045, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface046
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface046
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface046, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface046, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -801,11 +804,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface046, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5500
|
||||
* @tc.name: testHdiusbrequestTestSetInterface047
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5500
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface047
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface047, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface047, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -816,11 +819,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface047, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5600
|
||||
* @tc.name: testHdiusbrequestTestSetInterface048
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5600
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface048
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,0},255,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface048, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface048, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 255;
|
||||
@ -831,11 +834,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface048, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5700
|
||||
* @tc.name: testHdiusbrequestTestSetInterface049
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5700
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface049
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},255,100).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface049, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface049, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 100;
|
||||
@ -847,11 +850,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface049, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5800
|
||||
* @tc.name: testHdiusbrequestTestSetInterface050
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5800
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface050
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},100,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface050, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface050, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 100;
|
||||
uint8_t altIndex = 255;
|
||||
@ -863,11 +866,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface050, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_5900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface051
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_5900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface051
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface051, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface051, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -879,11 +882,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface051, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface052
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface052
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},10,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface052, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface052, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 10;
|
||||
uint8_t altIndex = 255;
|
||||
@ -895,11 +898,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface052, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface053
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface053
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},255,10).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface053, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface053, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 10;
|
||||
@ -911,11 +914,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface053, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface054
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface054
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface054, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface054, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -927,11 +930,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface054, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface055
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface055
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface055, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface055, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -943,11 +946,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface055, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface056
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface056
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface056, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface056, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -959,11 +962,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface056, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6500
|
||||
* @tc.name: testHdiusbrequestTestSetInterface057
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6500
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface057
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({1,1},255,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface057, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface057, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 255;
|
||||
@ -975,11 +978,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface057, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6600
|
||||
* @tc.name: testHdiusbrequestTestSetInterface058
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6600
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface058
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},0,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface058, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface058, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 0;
|
||||
@ -991,11 +994,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface058, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6700
|
||||
* @tc.name: testHdiusbrequestTestSetInterface059
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6700
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface059
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},0,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface059, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface059, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 1;
|
||||
@ -1007,11 +1010,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface059, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6800
|
||||
* @tc.name: testHdiusbrequestTestSetInterface060
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6800
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface060
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},0,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface060, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface060, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 0;
|
||||
uint8_t altIndex = 255;
|
||||
@ -1023,11 +1026,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface060, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_6900
|
||||
* @tc.name: testHdiusbrequestTestSetInterface061
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_6900
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface061
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},1,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface061, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface061, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 0;
|
||||
@ -1039,11 +1042,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface061, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_7000
|
||||
* @tc.name: testHdiusbrequestTestSetInterface062
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_7000
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface062
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},1,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface062, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface062, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 1;
|
||||
@ -1055,11 +1058,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface062, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_7100
|
||||
* @tc.name: testHdiusbrequestTestSetInterface063
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_7100
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface063
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},1,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface063, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface063, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 1;
|
||||
uint8_t altIndex = 255;
|
||||
@ -1071,11 +1074,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface063, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_7200
|
||||
* @tc.name: testHdiusbrequestTestSetInterface064
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_7200
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface064
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},255,0).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface064, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface064, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 0;
|
||||
@ -1087,11 +1090,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface064, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_7300
|
||||
* @tc.name: testHdiusbrequestTestSetInterface065
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_7300
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface065
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},255,1).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface065, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface065, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 1;
|
||||
@ -1103,11 +1106,11 @@ HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface065, Test
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_requestTest_SetInterface_7400
|
||||
* @tc.name: testHdiusbrequestTestSetInterface066
|
||||
* @tc.number: SUB_Driver_Usb_RequestTest_SetInterface_7400
|
||||
* @tc.name: testHdiUsbRequestTestSetInterface066
|
||||
* @tc.desc: Sets the alternate settings for the specified USB interface. ({255,100},255,255).
|
||||
*/
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiusbrequestTestSetInterface066, TestSize.Level2)
|
||||
HWTEST_F(UsbdInterfaceTestAdditional, testHdiUsbRequestTestSetInterface066, TestSize.Level2)
|
||||
{
|
||||
int32_t interfaceId = 255;
|
||||
uint8_t altIndex = 255;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,10 @@ sptr<UsbSubscriberTest> UsbdTransferTestAdditional::subscriber_ = nullptr;
|
||||
namespace {
|
||||
sptr<IUsbInterface> g_usbInterface = nullptr;
|
||||
|
||||
int32_t SwitchErrCode(int32_t ret) { return ret == HDF_ERR_NOT_SUPPORT ? HDF_SUCCESS : ret; }
|
||||
int32_t SwitchErrCode(int32_t ret)
|
||||
{
|
||||
return ret == HDF_ERR_NOT_SUPPORT ? HDF_SUCCESS : ret;
|
||||
}
|
||||
|
||||
void UsbdTransferTestAdditional::SetUpTestCase(void)
|
||||
{
|
||||
@ -96,12 +99,12 @@ void UsbdTransferTestAdditional::SetUp(void) {}
|
||||
void UsbdTransferTestAdditional::TearDown(void) {}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2100
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite001
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2100
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite001
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device.
|
||||
* dev = (0,255). ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, 0, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite001, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite001, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -114,12 +117,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2200
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite002
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2200
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite002
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_DESCRIPTOR, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite002, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite002, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -133,13 +136,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2300
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite003
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2300
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite003
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_CONFIGURATION, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite003, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite003, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -153,12 +156,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2400
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite004
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2400
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite004
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_INTERFACE, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite004, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite004, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -172,12 +175,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2500
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite005
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2500
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite005
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_SYNCH_FRAME, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite005, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite005, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -191,12 +194,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2600
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite006
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2600
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite006
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device.
|
||||
* dev = (255,0). ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, 0, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite006, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite006, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 0};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -209,12 +212,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2700
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite007
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2700
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite007
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,0).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_DESCRIPTOR, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite007, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite007, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 0};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -228,13 +231,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2800
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite008
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2800
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite008
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,0).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_CONFIGURATION, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite008, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite008, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 0};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -248,12 +251,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_2900
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite009
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_2900
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite009
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,0).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_INTERFACE, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite009, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite009, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 0};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -267,12 +270,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3000
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite010
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3000
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite010
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,0).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_SYNCH_FRAME, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite010, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite010, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 0};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -286,12 +289,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3100
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite011
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3100
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite011
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, 0, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite011, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite011, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -305,13 +308,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3200
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite012
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3200
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite012
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_GET_DESCRIPTOR, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite012, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite012, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -325,13 +328,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3300
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite013
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3300
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite013
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_GET_CONFIGURATION, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite013, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite013, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -345,13 +348,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3400
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite014
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3400
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite014
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_GET_INTERFACE, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite014, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite014, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -365,13 +368,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3500
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite015
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3500
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite015
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_SYNCH_FRAME, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite015, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite015, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -385,12 +388,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3600
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite016
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3600
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite016
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, 0, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite016, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite016, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -404,13 +407,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3700
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite017
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3700
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite017
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_GET_DESCRIPTOR, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite017, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite017, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -424,13 +427,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3800
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite018
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3800
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite018
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_GET_CONFIGURATION, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite018, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite018, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -444,13 +447,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_3900
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite019
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_3900
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite019
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_GET_INTERFACE, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite019, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite019, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -464,13 +467,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4000
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite020
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4000
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite020
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_SYNCH_FRAME, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite020, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite020, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -484,12 +487,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4100
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite021
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4100
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite021
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, 0, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite021, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite021, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -502,12 +505,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4200
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite022
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4200
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite022
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_GET_DESCRIPTOR, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite022, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite022, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -521,13 +524,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4300
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite023
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4300
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite023
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_GET_CONFIGURATION, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite023, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite023, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -541,13 +544,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4400
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite024
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4400
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite024
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_GET_INTERFACE, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite024, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite024, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -561,13 +564,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4500
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite025
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4500
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite025
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_SYNCH_FRAME, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite025, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite025, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -581,12 +584,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4600
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite026
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4600
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite026
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, 0, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite026, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite026, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -599,12 +602,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4700
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite027
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4700
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite027
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_DESCRIPTOR, 0, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite027, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite027, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -618,13 +621,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4800
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite028
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4800
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite028
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_CONFIGURATION, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite028, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite028, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -638,13 +641,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_4900
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite029
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_4900
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite029
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_INTERFACE, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite029, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite029, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -658,13 +661,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5000
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite030
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5000
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite030
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_SYNCH_FRAME, 0, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite030, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite030, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -678,12 +681,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5100
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite031
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5100
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite031
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, 0, CTL_VALUE, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite031, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite031, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -697,13 +700,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5200
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite032
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5200
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite032
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_DESCRIPTOR, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite032, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite032, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -717,13 +720,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5300
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite033
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5300
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite033
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_CONFIGURATION, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite033, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite033, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -737,13 +740,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5400
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite034
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5400
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite034
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_INTERFACE, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite034, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite034, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -757,13 +760,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5500
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite035
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5500
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite035
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_SYNCH_FRAME, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite035, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite035, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -777,12 +780,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5600
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite036
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5600
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite036
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, 0, CTL_VALUE, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite036, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite036, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -796,13 +799,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5700
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite037
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5700
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite037
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_GET_DESCRIPTOR, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite037, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite037, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -816,13 +819,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5800
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite038
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5800
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite038
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_GET_CONFIGURATION, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite038, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite038, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -836,13 +839,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_5900
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite039
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_5900
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite039
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_GET_INTERFACE, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite039, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite039, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -856,13 +859,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6000
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite040
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6000
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite040
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_INTERFACE, USB_DDK_REQ_SYNCH_FRAME, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite040, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite040, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -876,12 +879,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6100
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite041
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6100
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite041
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, 0, CTL_VALUE, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite041, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite041, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -895,13 +898,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6200
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite042
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6200
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite042
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_GET_DESCRIPTOR, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite042, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite042, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -915,13 +918,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6300
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite043
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6300
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite043
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_GET_CONFIGURATION, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite043, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite043, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -935,13 +938,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6400
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite044
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6400
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite044
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_GET_INTERFACE, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite044, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite044, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -955,13 +958,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6500
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite045
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6500
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite045
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_ENDPOINT, USB_DDK_REQ_SYNCH_FRAME, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite045, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite045, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -975,12 +978,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6600
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite046
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6600
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite046
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, 0, CTL_VALUE, 0,TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite046, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite046, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -994,13 +997,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6700
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite047
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6700
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite047
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_GET_DESCRIPTOR, CTL_VALUE,
|
||||
* 0,TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite047, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite047, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1014,13 +1017,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6800
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite048
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6800
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite048
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_GET_CONFIGURATION, CTL_VALUE,
|
||||
* 0,TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite048, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite048, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1034,13 +1037,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_6900
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite049
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_6900
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite049
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_GET_INTERFACE, CTL_VALUE,
|
||||
* 0,TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite049, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite049, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1054,13 +1057,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_7000
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite050
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_7000
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite050
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (255,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_OTHER, USB_DDK_REQ_SYNCH_FRAME, CTL_VALUE,
|
||||
* 0,TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite050, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite050, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {255, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1074,12 +1077,12 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_7100
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite051
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_7100
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite051
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, 0, CTL_VALUE, 0, TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite051, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite051, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1093,13 +1096,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_7200
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite052
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_7200
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite052
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_DESCRIPTOR, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite052, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite052, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1113,13 +1116,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_7300
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite053
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_7300
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite053
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_CONFIGURATION, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite053, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite053, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1133,13 +1136,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_7400
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite054
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_7400
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite054
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_GET_INTERFACE, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite054, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite054, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
@ -1153,13 +1156,13 @@ HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite0
|
||||
}
|
||||
|
||||
/**
|
||||
* @tc.number: SUB_Driver_usb_transferTest_ControlTransferWrite_7500
|
||||
* @tc.name: testHdiusbtransferTestControlTransferWrite055
|
||||
* @tc.number: SUB_Driver_Usb_TransferTest_ControlTransferWrite_7500
|
||||
* @tc.name: testHdiUsbTransferTestControlTransferWrite055
|
||||
* @tc.desc: Performs control transfer for endpoint 0 of the device. dev = (0,255).
|
||||
* ctrlparmas = (USB_ENDPOINT_DIR_OUT | USB_REQUEST_TARGET_DEVICE, USB_DDK_REQ_SYNCH_FRAME, CTL_VALUE, 0,
|
||||
* TRANSFER_TIME_OUT).
|
||||
*/
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiusbtransferTestControlTransferWrite055, TestSize.Level2)
|
||||
HWTEST_F(UsbdTransferTestAdditional, testHdiUsbTransferTestControlTransferWrite055, TestSize.Level2)
|
||||
{
|
||||
struct UsbDev dev = {0, 255};
|
||||
std::vector<uint8_t> bufferData(MAX_BUFFER_LENGTH);
|
||||
|
Loading…
Reference in New Issue
Block a user