Lines Matching refs:usb
34 using ::android::hardware::usb::V1_0::IUsbCallback;
35 using ::android::hardware::usb::V1_0::IUsb;
36 using ::android::hardware::usb::V1_0::PortDataRole;
37 using ::android::hardware::usb::V1_0::PortMode;
38 using ::android::hardware::usb::V1_0::PortPowerRole;
39 using ::android::hardware::usb::V1_0::PortRole;
40 using ::android::hardware::usb::V1_0::PortRoleType;
41 using ::android::hardware::usb::V1_0::PortStatus;
42 using ::android::hardware::usb::V1_0::Status;
112 usb = ::testing::VtsHalHidlTargetTestBase::getService<IUsb>( in SetUp()
114 ASSERT_NE(usb, nullptr); in SetUp()
118 Return<void> ret = usb->setCallback(usb_cb_2); in SetUp()
150 sp<IUsb> usb; member in UsbHidlTest
188 Return<void> ret = usb->setCallback(usb_cb_1); in TEST_F()
197 Return<void> ret = usb->queryPortStatus(); in TEST_F()
213 Return<void> ret = usb->switchRole("", role); in TEST_F()
234 Return<void> ret = usb->queryPortStatus(); in TEST_F()
243 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_F()
281 Return<void> ret = usb->queryPortStatus(); in TEST_F()
290 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_F()
327 Return<void> ret = usb->queryPortStatus(); in TEST_F()
336 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_F()