Lines Matching refs:usb
45 using ::aidl::android::hardware::usb::AltModeData;
46 using ::aidl::android::hardware::usb::BnUsbCallback;
47 using ::aidl::android::hardware::usb::ComplianceWarning;
48 using ::aidl::android::hardware::usb::DisplayPortAltModePinAssignment;
49 using ::aidl::android::hardware::usb::DisplayPortAltModeStatus;
50 using ::aidl::android::hardware::usb::IUsb;
51 using ::aidl::android::hardware::usb::IUsbCallback;
52 using ::aidl::android::hardware::usb::LinkTrainingStatus;
53 using ::aidl::android::hardware::usb::PlugOrientation;
54 using ::aidl::android::hardware::usb::PortDataRole;
55 using ::aidl::android::hardware::usb::PortMode;
56 using ::aidl::android::hardware::usb::PortPowerRole;
57 using ::aidl::android::hardware::usb::PortRole;
58 using ::aidl::android::hardware::usb::PortStatus;
59 using ::aidl::android::hardware::usb::Status;
60 using ::aidl::android::hardware::usb::UsbDataStatus;
175 usb = IUsb::fromBinder( in SetUp()
177 ASSERT_NE(usb, nullptr); in SetUp()
181 const auto& ret = usb->setCallback(usb_cb_2); in SetUp()
213 shared_ptr<IUsb> usb; member in UsbAidlTest
270 const auto& ret = usb->setCallback(usb_cb_1); in TEST_P()
284 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
302 auto retVersion = usb->getInterfaceVersion(&usb_version); in TEST_P()
309 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
340 const auto& ret = usb->switchRole("", role, transactionId); in TEST_P()
362 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
373 const auto& ret = usb->switchRole(portBeingSwitched, role, transactionId); in TEST_P()
401 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
412 const auto& ret = usb->switchRole(portBeingSwitched, role, transactionId); in TEST_P()
438 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
448 const auto& ret = usb->enableContaminantPresenceDetection(usb_last_port_status.portName, in TEST_P()
475 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
485 const auto& ret = usb->enableUsbData(usb_last_port_status.portName, true, transactionId); in TEST_P()
511 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
521 const auto& ret = usb->enableUsbDataWhileDocked(usb_last_port_status.portName, transactionId); in TEST_P()
547 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
557 const auto& ret = usb->limitPowerTransfer(usb_last_port_status.portName, false, transactionId); in TEST_P()
582 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
592 const auto& ret = usb->resetUsbPort(usb_last_port_status.portName, transactionId); in TEST_P()
617 auto retVersion = usb->getInterfaceVersion(&usb_version); in TEST_P()
624 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
644 auto retVersion = usb->getInterfaceVersion(&usb_version); in TEST_P()
651 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
680 auto retVersion = usb->getInterfaceVersion(&usb_version); in TEST_P()
687 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()
703 auto retVersion = usb->getInterfaceVersion(&usb_version); in TEST_P()
710 const auto& ret = usb->queryPortStatus(transactionId); in TEST_P()