Home
last modified time | relevance | path

Searched refs:usb_last_port_status (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/usb/1.2/vts/functional/
DVtsHalUsbV1_2TargetTest.cpp68 PortStatus usb_last_port_status; member in UsbClientCallbackArgs
111 arg.usb_last_port_status.status_1_1.status.supportedModes = in notifyPortStatusChange_1_2()
113 arg.usb_last_port_status.status_1_1.status.currentMode = in notifyPortStatusChange_1_2()
115 arg.usb_last_port_status.status_1_1.status.portName = in notifyPortStatusChange_1_2()
117 arg.usb_last_port_status.contaminantDetectionStatus = in notifyPortStatusChange_1_2()
119 arg.usb_last_port_status.contaminantProtectionStatus = in notifyPortStatusChange_1_2()
121 arg.usb_last_port_status.supportsEnableContaminantPresenceProtection = in notifyPortStatusChange_1_2()
123 arg.usb_last_port_status.supportsEnableContaminantPresenceDetection = in notifyPortStatusChange_1_2()
125 arg.usb_last_port_status.supportedContaminantProtectionModes = in notifyPortStatusChange_1_2()
194 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status_1_1.status.currentMode); in TEST_P()
[all …]
/hardware/interfaces/usb/aidl/vts/
DVtsAidlUsbTargetTest.cpp87 parent_.usb_last_port_status.portName = in notifyPortStatusChange()
89 parent_.usb_last_port_status.currentDataRole = in notifyPortStatusChange()
91 parent_.usb_last_port_status.currentPowerRole = in notifyPortStatusChange()
93 parent_.usb_last_port_status.currentMode = in notifyPortStatusChange()
221 PortStatus usb_last_port_status; member in UsbAidlTest
289 ALOGI("UsbAidlTest queryPortStatus end: %s", usb_last_port_status.portName.c_str()); in TEST_P()
314 ALOGI("UsbAidlTest DataStatusCheck portName: %s", usb_last_port_status.portName.c_str()); in TEST_P()
315 if (usb_last_port_status.usbDataStatus.size() > 1) { in TEST_P()
316 for (UsbDataStatus dataStatus : usb_last_port_status.usbDataStatus) { in TEST_P()
368 if (!usb_last_port_status.portName.empty()) { in TEST_P()
[all …]
/hardware/interfaces/usb/1.1/vts/functional/
DVtsHalUsbV1_1TargetTest.cpp64 PortStatus_1_1 usb_last_port_status; member in UsbClientCallbackArgs
98 arg.usb_last_port_status.status.portName = currentPortStatus[0].status.portName.c_str(); in notifyPortStatusChange_1_1()
99 arg.usb_last_port_status.status.supportedModes = in notifyPortStatusChange_1_1()
101 arg.usb_last_port_status.status.currentMode = currentPortStatus[0].status.currentMode; in notifyPortStatusChange_1_1()
170 if (!res.args->usb_last_port_status.status.portName.empty()) { in TEST_P()
171 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status.currentMode); in TEST_P()
172 EXPECT_EQ(PortMode::NONE, res.args->usb_last_port_status.status.supportedModes); in TEST_P()
/hardware/interfaces/usb/1.0/vts/functional/
DVtsHalUsbV1_0TargetTest.cpp72 parent_.usb_last_port_status.portName = in notifyPortStatusChange()
74 parent_.usb_last_port_status.currentDataRole = in notifyPortStatusChange()
76 parent_.usb_last_port_status.currentPowerRole = in notifyPortStatusChange()
78 parent_.usb_last_port_status.currentMode = in notifyPortStatusChange()
146 PortStatus usb_last_port_status; member in UsbHidlTest
189 ALOGI("rightafter: %s", usb_last_port_status.portName.c_str()); in TEST_P()
228 if (!usb_last_port_status.portName.empty()) { in TEST_P()
229 hidl_string portBeingSwitched = usb_last_port_status.portName; in TEST_P()
274 if (!usb_last_port_status.portName.empty()) { in TEST_P()
275 hidl_string portBeingSwitched = usb_last_port_status.portName; in TEST_P()