Lines Matching refs:currentPortStatus
240 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()
287 currentPortStatus[i].canChangeDataRole, in getPortStatusHelper()
288 currentPortStatus[i].canChangePowerRole); in getPortStatusHelper()
290 if (getPortModeHelper(names[i], currentPortStatus[i].supportedModes) in getPortStatusHelper()
303 hidl_vec<PortStatus> currentPortStatus; in queryPortStatus() local
306 status = getPortStatusHelper(currentPortStatus); in queryPortStatus()
307 Return<void> ret = mCallback->notifyPortStatusChange(currentPortStatus, in queryPortStatus()
338 hidl_vec<PortStatus> currentPortStatus; in uevent_event() local
339 Status status = getPortStatusHelper(currentPortStatus); in uevent_event()
341 payload->usb->mCallback->notifyPortStatusChange(currentPortStatus, status); in uevent_event()