Lines Matching refs:usb
40 using ::android::hardware::usb::V1_0::PortDataRole;
41 using ::android::hardware::usb::V1_0::PortMode;
42 using ::android::hardware::usb::V1_0::PortPowerRole;
43 using ::android::hardware::usb::V1_0::PortRole;
44 using ::android::hardware::usb::V1_0::PortRoleType;
45 using ::android::hardware::usb::V1_0::Status;
46 using ::android::hardware::usb::V1_1::PortMode_1_1;
47 using ::android::hardware::usb::V1_1::PortStatus_1_1;
48 using ::android::hardware::usb::V1_2::ContaminantDetectionStatus;
49 using ::android::hardware::usb::V1_2::ContaminantProtectionMode;
50 using ::android::hardware::usb::V1_2::ContaminantProtectionStatus;
51 using ::android::hardware::usb::V1_2::IUsb;
52 using ::android::hardware::usb::V1_2::IUsbCallback;
53 using ::android::hardware::usb::V1_2::PortStatus;
90 Return<void> notifyPortStatusChange(const hidl_vec<android::hardware::usb::V1_0::PortStatus>& in notifyPortStatusChange()
159 usb = ::testing::VtsHalHidlTargetTestBase::getService<IUsb>(); in SetUp()
160 ASSERT_NE(usb, nullptr); in SetUp()
165 Return<void> ret = usb->setCallback(usb_cb_2); in SetUp()
172 sp<IUsb> usb; member in UsbHidlTest
188 Return<void> ret = usb->setCallback(usb_cb_1); in TEST_F()
199 Return<void> ret = usb->queryPortStatus(); in TEST_F()
215 Return<void> ret = usb->queryPortStatus(); in TEST_F()
227 ret = usb->queryPortStatus(); in TEST_F()
247 Return<void> ret = usb->queryPortStatus(); in TEST_F()
259 ret = usb->enableContaminantPresenceDetection( in TEST_F()
280 Return<void> ret = usb->queryPortStatus(); in TEST_F()
293 ret = usb->enableContaminantPresenceDetection( in TEST_F()
313 Return<void> ret = usb->queryPortStatus(); in TEST_F()
325 ret = usb->enableContaminantPresenceProtection( in TEST_F()
346 Return<void> ret = usb->queryPortStatus(); in TEST_F()
359 ret = usb->enableContaminantPresenceProtection( in TEST_F()