Lines Matching refs:currentPowerRole
179 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole();
180 if (currentDataRole == newDataRole && currentPowerRole == newPowerRole) {
198 if ((!canChangePowerRole && currentPowerRole != newPowerRole)
220 + ", currentPowerRole=" + UsbPort.powerRoleToString(currentPowerRole)
256 if (currentPowerRole != newPowerRole) {
426 final int currentPowerRole = readCurrentPowerRole(portDir);
432 currentPowerRole, canChangePowerRole,
463 int currentPowerRole, boolean canChangePowerRole,
482 currentPowerRole, currentDataRole);
483 if (currentMode != 0 && currentPowerRole != 0 && currentDataRole != 0) {
501 currentPowerRole, UsbPort.DATA_ROLE_HOST);
503 currentPowerRole, UsbPort.DATA_ROLE_DEVICE);
517 currentPowerRole, canChangePowerRole,
532 currentPowerRole, canChangePowerRole,
736 int currentPowerRole, boolean canChangePowerRole,
744 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole
748 mUsbPortStatus = new UsbPortStatus(currentMode, currentPowerRole, currentDataRole,