Home
last modified time | relevance | path

Searched refs:powerRole (Results 1 - 6 of 6) sorted by relevance

/test/xts/hats/hdf/usb/functionTest_additional/common/
H A Dusbd_function_test.cpp389 int32_t powerRole = POWER_ROLE_NONE; in HWTEST_F() local
395 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F()
403 * @tc.desc: Queries the current settings of a port.To see if powerRole is equal to POWER_ROLE_SINK.
408 int32_t powerRole = POWER_ROLE_NONE; in HWTEST_F() local
414 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F()
416 ASSERT_EQ(POWER_ROLE_SINK, powerRole); in HWTEST_F()
427 int32_t powerRole = POWER_ROLE_NONE; in HWTEST_F() local
433 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_F()
446 int32_t powerRole = POWER_ROLE_NONE; in HWTEST_F() local
452 ret = g_usbInterface->QueryPort(portId, powerRole, dataRol in HWTEST_F()
465 int32_t powerRole = POWER_ROLE_NONE; HWTEST_F() local
488 int32_t powerRole = POWER_ROLE_NONE; 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
104 info.powerRole = powerRole; 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);
71 int32_t powerRole = POWER_ROLE_NONE; in HWTEST_F() local
74 auto ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in HWTEST_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);
140 int32_t powerRole = POWER_ROLE_NONE; in BENCHMARK_F() local
145 ret = g_usbInterface->QueryPort(portId, powerRole, dataRole, mode); in BENCHMARK_F()
/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/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)
423 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole)
424 * @tc.desc: Negative test: parameters exception, powerRole error
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)
454 * @tc.desc: Negative test: parameters exception, powerRole error
468 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole)
483 * @tc.desc: int32_t SetPortRole(int32_t portId,int32_t powerRole,int32_t dataRole)
484 * @tc.desc: Negative test: parameters exception, powerRole
535 int32_t powerRole = POWER_ROLE_NONE; HWTEST_F() local
[all...]

Completed in 3 milliseconds