Lines Matching refs:usb
35 using ::android::hardware::usb::V1_0::IUsbCallback;
36 using ::android::hardware::usb::V1_0::IUsb;
37 using ::android::hardware::usb::V1_0::PortDataRole;
38 using ::android::hardware::usb::V1_0::PortMode;
39 using ::android::hardware::usb::V1_0::PortPowerRole;
40 using ::android::hardware::usb::V1_0::PortRole;
41 using ::android::hardware::usb::V1_0::PortRoleType;
42 using ::android::hardware::usb::V1_0::PortStatus;
43 using ::android::hardware::usb::V1_0::Status;
101 usb = IUsb::getService(GetParam()); in SetUp()
102 ASSERT_NE(usb, nullptr); in SetUp()
106 Return<void> ret = usb->setCallback(usb_cb_2); in SetUp()
138 sp<IUsb> usb; member in UsbHidlTest
176 Return<void> ret = usb->setCallback(usb_cb_1); in TEST_P()
185 Return<void> ret = usb->queryPortStatus(); in TEST_P()
201 Return<void> ret = usb->switchRole("", role); in TEST_P()
223 Return<void> ret = usb->queryPortStatus(); in TEST_P()
232 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_P()
269 Return<void> ret = usb->queryPortStatus(); in TEST_P()
278 Return<void> ret = usb->switchRole(portBeingSwitched.c_str(), role); in TEST_P()