Home
last modified time | relevance | path

Searched refs:currentPortStatus (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/usb/aidl/default/
DUsb.cpp57 std::vector<PortStatus> *currentPortStatus);
60 std::vector<PortStatus> currentPortStatus; in enableUsbData() local
72 queryVersionHelper(this, &currentPortStatus); in enableUsbData()
109 Status queryMoistureDetectionStatus(std::vector<PortStatus> *currentPortStatus) { in queryMoistureDetectionStatus() argument
112 for (int i = 0; i < currentPortStatus->size(); i++) { in queryMoistureDetectionStatus()
113 (*currentPortStatus)[i].supportedContaminantProtectionModes in queryMoistureDetectionStatus()
115 (*currentPortStatus)[i].contaminantProtectionStatus in queryMoistureDetectionStatus()
117 (*currentPortStatus)[i].contaminantDetectionStatus in queryMoistureDetectionStatus()
119 (*currentPortStatus)[i].supportsEnableContaminantPresenceDetection = false; in queryMoistureDetectionStatus()
120 (*currentPortStatus)[i].supportsEnableContaminantPresenceProtection = false; in queryMoistureDetectionStatus()
[all …]
/hardware/interfaces/usb/1.0/default/
DUsb.cpp240 Status getPortStatusHelper (hidl_vec<PortStatus>& currentPortStatus) { in getPortStatusHelper() argument
245 currentPortStatus.resize(names.size()); in getPortStatusHelper()
248 currentPortStatus[i].portName = names[i]; in getPortStatusHelper()
253 currentPortStatus[i].currentPowerRole = in getPortStatusHelper()
262 currentPortStatus[i].currentDataRole = in getPortStatusHelper()
271 currentPortStatus[i].currentMode = in getPortStatusHelper()
278 currentPortStatus[i].canChangeMode = in getPortStatusHelper()
280 currentPortStatus[i].canChangeDataRole = in getPortStatusHelper()
282 currentPortStatus[i].canChangePowerRole = in getPortStatusHelper()
286 currentPortStatus[i].canChangeMode, in getPortStatusHelper()
[all …]
/hardware/interfaces/usb/1.2/vts/functional/
DVtsHalUsbV1_2TargetTest.cpp107 Return<void> notifyPortStatusChange_1_2(const hidl_vec<PortStatus>& currentPortStatus, in notifyPortStatusChange_1_2() argument
112 currentPortStatus[0].status_1_1.status.supportedModes; in notifyPortStatusChange_1_2()
114 currentPortStatus[0].status_1_1.status.currentMode; in notifyPortStatusChange_1_2()
116 currentPortStatus[0].status_1_1.status.portName; in notifyPortStatusChange_1_2()
118 currentPortStatus[0].contaminantDetectionStatus; in notifyPortStatusChange_1_2()
120 currentPortStatus[0].contaminantProtectionStatus; in notifyPortStatusChange_1_2()
122 currentPortStatus[0].supportsEnableContaminantPresenceProtection; in notifyPortStatusChange_1_2()
124 currentPortStatus[0].supportsEnableContaminantPresenceDetection; in notifyPortStatusChange_1_2()
126 currentPortStatus[0].supportedContaminantProtectionModes; in notifyPortStatusChange_1_2()
/hardware/interfaces/usb/1.1/vts/functional/
DVtsHalUsbV1_1TargetTest.cpp94 Return<void> notifyPortStatusChange_1_1(const hidl_vec<PortStatus_1_1>& currentPortStatus, in notifyPortStatusChange_1_1() argument
98 arg.usb_last_port_status.status.portName = currentPortStatus[0].status.portName.c_str(); in notifyPortStatusChange_1_1()
100 currentPortStatus[0].status.supportedModes; in notifyPortStatusChange_1_1()
101 arg.usb_last_port_status.status.currentMode = currentPortStatus[0].status.currentMode; in notifyPortStatusChange_1_1()
/hardware/interfaces/usb/1.0/vts/functional/
DVtsHalUsbV1_0TargetTest.cpp70 const hidl_vec<PortStatus>& currentPortStatus, Status retval) override { in notifyPortStatusChange() argument
73 currentPortStatus[0].portName.c_str(); in notifyPortStatusChange()
75 currentPortStatus[0].currentDataRole; in notifyPortStatusChange()
77 currentPortStatus[0].currentPowerRole; in notifyPortStatusChange()
79 currentPortStatus[0].currentMode; in notifyPortStatusChange()
/hardware/interfaces/usb/1.1/
DIUsbCallback.hal32 * @param currentPortStatus vector object of current status(PortStatus_1_1
38 oneway notifyPortStatusChange_1_1(vec<PortStatus_1_1> currentPortStatus,
/hardware/interfaces/usb/1.2/
DIUsbCallback.hal33 * @param currentPortStatus vector object of current status(PortStatus
39 oneway notifyPortStatusChange_1_2(vec<PortStatus> currentPortStatus,
/hardware/interfaces/usb/1.0/
DIUsbCallback.hal30 * @param currentPortStatus vector object of current status of all the
35 oneway notifyPortStatusChange(vec<PortStatus> currentPortStatus, Status retval);
/hardware/interfaces/usb/aidl/android/hardware/usb/
DIUsbCallback.aidl40 void notifyPortStatusChange(in PortStatus[] currentPortStatus, in Status retval); in notifyPortStatusChange() argument
/hardware/interfaces/usb/aidl/vts/
DVtsAidlUsbTargetTest.cpp84 ScopedAStatus notifyPortStatusChange(const vector<PortStatus>& currentPortStatus, in notifyPortStatusChange() argument
86 if (retval == Status::SUCCESS && currentPortStatus.size() > 0) { in notifyPortStatusChange()
88 currentPortStatus[0].portName.c_str(); in notifyPortStatusChange()
90 currentPortStatus[0].currentDataRole; in notifyPortStatusChange()
92 currentPortStatus[0].currentPowerRole; in notifyPortStatusChange()
94 currentPortStatus[0].currentMode; in notifyPortStatusChange()
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/current/android/hardware/usb/
DIUsbCallback.aidl37 …oneway void notifyPortStatusChange(in android.hardware.usb.PortStatus[] currentPortStatus, in andr… in notifyPortStatusChange() argument
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/2/android/hardware/usb/
DIUsbCallback.aidl37 …oneway void notifyPortStatusChange(in android.hardware.usb.PortStatus[] currentPortStatus, in andr… in notifyPortStatusChange() argument
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/3/android/hardware/usb/
DIUsbCallback.aidl37 …oneway void notifyPortStatusChange(in android.hardware.usb.PortStatus[] currentPortStatus, in andr… in notifyPortStatusChange() argument
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/1/android/hardware/usb/
DIUsbCallback.aidl37 …oneway void notifyPortStatusChange(in android.hardware.usb.PortStatus[] currentPortStatus, in andr… in notifyPortStatusChange() argument