Lines Matching refs:usb

42 using ::android::hardware::usb::V1_0::PortDataRole;
43 using ::android::hardware::usb::V1_0::PortMode;
44 using ::android::hardware::usb::V1_0::PortPowerRole;
45 using ::android::hardware::usb::V1_0::PortRole;
46 using ::android::hardware::usb::V1_0::PortRoleType;
47 using ::android::hardware::usb::V1_0::Status;
48 using ::android::hardware::usb::V1_1::PortMode_1_1;
49 using ::android::hardware::usb::V1_1::PortStatus_1_1;
50 using ::android::hardware::usb::V1_2::ContaminantDetectionStatus;
51 using ::android::hardware::usb::V1_2::ContaminantProtectionMode;
52 using ::android::hardware::usb::V1_2::ContaminantProtectionStatus;
53 using ::android::hardware::usb::V1_2::IUsb;
54 using ::android::hardware::usb::V1_2::IUsbCallback;
55 using ::android::hardware::usb::V1_2::PortStatus;
92 Return<void> notifyPortStatusChange(const hidl_vec<android::hardware::usb::V1_0::PortStatus>& in notifyPortStatusChange()
149 usb = IUsb::getService(GetParam()); in SetUp()
150 ASSERT_NE(usb, nullptr); in SetUp()
155 Return<void> ret = usb->setCallback(usb_cb_2); in SetUp()
162 sp<IUsb> usb; member in UsbHidlTest
178 Return<void> ret = usb->setCallback(usb_cb_1); in TEST_P()
189 Return<void> ret = usb->queryPortStatus(); in TEST_P()
205 Return<void> ret = usb->queryPortStatus(); in TEST_P()
217 ret = usb->queryPortStatus(); in TEST_P()
237 Return<void> ret = usb->queryPortStatus(); in TEST_P()
249 ret = usb->enableContaminantPresenceDetection( in TEST_P()
270 Return<void> ret = usb->queryPortStatus(); in TEST_P()
283 ret = usb->enableContaminantPresenceDetection( in TEST_P()
303 Return<void> ret = usb->queryPortStatus(); in TEST_P()
315 ret = usb->enableContaminantPresenceProtection( in TEST_P()
336 Return<void> ret = usb->queryPortStatus(); in TEST_P()
349 ret = usb->enableContaminantPresenceProtection( in TEST_P()