/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/ |
H A D | audio_adapter_common_test.cpp | 109 devDesc.portId = adapterDescs_->ports[index].portId;
in InitDevDesc() 669 * portId as 1.
676 port.portId = 0;
in HWTEST_F() 731 source.portId = static_cast<int32_t>(0);
in HWTEST_F() 740 sink.portId = static_cast<int32_t>(0);
in HWTEST_F() 781 * @tc.desc : Verify the reliability of the GetPortCapability function when portId as 1.
788 port.portId = 1;
in HWTEST_F() 797 * @tc.desc : Verify the reliability of the GetPortCapability function when portId as 0.
804 port.portId in HWTEST_F() [all...] |
/test/xts/hats/hdf/usb/functionTest_additional/common/ |
H A D | usbd_function_test.cpp | 384 * @tc.desc: Queries the current settings of a port.To see if portId is equal to DEFAULT_PORT_ID. 388 int32_t portId = 0; in HWTEST_F() local 395 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F() 397 ASSERT_EQ(DEFAULT_PORT_ID, portId); in HWTEST_F() 407 int32_t portId = DEFAULT_PORT_ID; in HWTEST_F() local 414 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F() 426 int32_t portId = DEFAULT_PORT_ID; in HWTEST_F() local 433 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F() 441 * @tc.desc: Queries the current settings of a port.To see if portId is equal to DEFAULT_PORT_ID. 445 int32_t portId in HWTEST_F() local 464 int32_t portId = DEFAULT_PORT_ID; HWTEST_F() local 487 int32_t portId = DEFAULT_PORT_ID; HWTEST_F() local [all...] |
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/src/ |
H A D | usb_impl_mock.cpp | 81 int32_t UsbImplMock::QueryPort(int32_t &portId, int32_t &powerRole, int32_t &dataRole, int32_t &mode) in QueryPort() argument 99 int32_t UsbImplMock::SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) in SetPortRole() argument 103 info.portId = portId; in SetPortRole()
|
/test/xts/hats/hdf/usb/autoFunctionTest/common/ |
H A D | usbd_auto_function_test.cpp | 64 * @tc.desc: int32_t QueryPort(int32_t &portId, int32_t &powerRole, int32_t &dataRole, int32_t &mode); 70 int32_t portId = DEFAULT_PORT_ID; in HWTEST_F() local 74 auto ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F()
|
/test/xts/hats/hdf/audio/idl/benchmarktest/adapter/ |
H A D | audio_adapter_benchmarktest.cpp | 106 devDesc.portId = adapterDescs_->ports[index].portId;
in InitDevDesc() 226 port.portId = 0;
in BENCHMARK_F() 248 port.portId = 0;
in BENCHMARK_F() 267 port.portId = 0;
in BENCHMARK_F()
|
/test/xts/hats/hdf/usb/usbdBenchmarkTest/common/ |
H A D | HdfUsbdBenchmarkFunctionTest.cpp | 109 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole)
132 * @tc.desc: int32_t QueryPort(int32_t &portId, int32_t &powerRole, int32_t &dataRole, int32_t &mode);
139 int32_t portId = DEFAULT_PORT_ID;
in BENCHMARK_F() local 145 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode);
in BENCHMARK_F()
|
/test/xts/hats/hdf/audio/idl/benchmarktest/render/ |
H A D | audio_render_offload_benchmarktest.cpp | 90 devDesc.portId = desc_->ports[index].portId;
in InitRenderDevDesc()
|
H A D | audio_render_mmap_benchmarktest.cpp | 84 devDesc.portId = desc_->ports[index].portId;
in InitRenderDevDesc()
|
H A D | audio_render_benchmarktest.cpp | 120 devDesc.portId = desc_->ports[index].portId;
in InitRenderDevDesc()
|
/test/xts/hats/hdf/audio/idl/common/adapter_multchannel/src/ |
H A D | audio_adapter_multchannel_test.cpp | 105 devDesc.portId = adapterDescs_->ports[index].portId;
in InitDevDesc()
|
H A D | audio_adapter_direct_test.cpp | 106 devDesc.portId = adapterDescs_->ports[index].portId;
in InitDevDesc()
|
/test/xts/hats/hdf/audio/idl/common/render/src/ |
H A D | audio_render_offload_test.cpp | 87 devDesc.portId = desc_->ports[index].portId;
in InitRenderDevDesc()
|
H A D | audio_render_mmap_test.cpp | 78 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
|
H A D | audio_render_common_test.cpp | 113 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
|
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/ |
H A D | usb_impl_mock.h | 58 int32_t QueryPort(int32_t &portId, int32_t &powerRole, int32_t &dataRole, int32_t &mode) override; 59 int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole) override;
|
/test/xts/hats/hdf/audio/idl/common/adapter/src/ |
H A D | audio_adapter_common_test.cpp | 105 devDesc.portId = adapterDescs_->ports[index].portId;
in InitDevDesc() 285 port.portId = 0;
in HWTEST_F() 322 port.portId = 0;
in HWTEST_F() 351 port.portId = 0;
in HWTEST_F()
|
/test/xts/hats/hdf/audio/idl/common/render_additional/src/ |
H A D | AudioRenderMmapTest.cpp | 77 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
|
H A D | AudioRenderCommonTest.cpp | 109 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
|
/test/xts/hats/hdf/usb/functionTest/common/ |
H A D | usbd_function_test.cpp | 393 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 408 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 409 * @tc.desc: Negative test: parameters exception, portId error 423 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 438 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 453 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 468 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 469 * @tc.desc: Negative test: parameters exception, portId && dataRole error 483 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole) 498 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_ 534 int32_t portId = DEFAULT_PORT_ID; HWTEST_F() local [all...] |
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/ |
H A D | audio_capture_benchmarktest.cpp | 98 devDesc.portId = adapterDescs_->ports[index].portId;
in InitCaptureDevDesc()
|
/test/xts/hats/hdf/audio/idl/common/capture/src/ |
H A D | audio_capture_common_test.cpp | 90 devDesc.portId = adapterDescs_->ports[index].portId;
in InitCaptureDevDesc()
|
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/ |
H A D | AudioCaptureCommonTestAdditional.cpp | 89 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()
|