Home
last modified time | relevance | path

Searched refs:portId (Results 1 - 22 of 22) sorted by relevance

/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
H A Daudio_adapter_common_test.cpp109 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 Dusbd_function_test.cpp384 * @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 Dusb_impl_mock.cpp81 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 Dusbd_auto_function_test.cpp64 * @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 Daudio_adapter_benchmarktest.cpp106 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 DHdfUsbdBenchmarkFunctionTest.cpp109 * @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 Daudio_render_offload_benchmarktest.cpp90 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
H A Daudio_render_mmap_benchmarktest.cpp84 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
H A Daudio_render_benchmarktest.cpp120 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
/test/xts/hats/hdf/audio/idl/common/adapter_multchannel/src/
H A Daudio_adapter_multchannel_test.cpp105 devDesc.portId = adapterDescs_->ports[index].portId; in InitDevDesc()
H A Daudio_adapter_direct_test.cpp106 devDesc.portId = adapterDescs_->ports[index].portId; in InitDevDesc()
/test/xts/hats/hdf/audio/idl/common/render/src/
H A Daudio_render_offload_test.cpp87 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
H A Daudio_render_mmap_test.cpp78 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
H A Daudio_render_common_test.cpp113 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/include/
H A Dusb_impl_mock.h58 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 Daudio_adapter_common_test.cpp105 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 DAudioRenderMmapTest.cpp77 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
H A DAudioRenderCommonTest.cpp109 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
/test/xts/hats/hdf/usb/functionTest/common/
H A Dusbd_function_test.cpp393 * @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 Daudio_capture_benchmarktest.cpp98 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()
/test/xts/hats/hdf/audio/idl/common/capture/src/
H A Daudio_capture_common_test.cpp90 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/
H A DAudioCaptureCommonTestAdditional.cpp89 devDesc.portId = adapterDescs_->ports[index].portId; in InitCaptureDevDesc()

Completed in 25 milliseconds