Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SOURCE (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java54 public static final int POWER_ROLE_SOURCE = Constants.PortPowerRole.SOURCE; field in UsbPortStatus
63 POWER_ROLE_SOURCE,
DUsbPort.java34 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
237 case POWER_ROLE_SOURCE: in powerRoleToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java27 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
101 UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST);
103 POWER_ROLE_SOURCE, DATA_ROLE_DEVICE);
391 if (canChangeMode && newPowerRole == POWER_ROLE_SOURCE in setPortRoles()
893 POWER_ROLE_SOURCE, currentDataRole); in addOrUpdatePortLocked()
DUsbService.java25 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
783 powerRole = POWER_ROLE_SOURCE; in dump()
866 powerRole = POWER_ROLE_SOURCE; in dump()
DUsbDeviceManager.java23 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
838 mSourcePower = status.getCurrentPowerRole() == POWER_ROLE_SOURCE; in handleMessage()
846 POWER_ROLE_SOURCE, DATA_ROLE_HOST) in handleMessage()
848 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage()
/frameworks/base/core/proto/android/service/
Dusb.proto247 POWER_ROLE_SOURCE = 1; enumerator
/frameworks/base/non-updatable-api/
Dsystem-current.txt3658 field public static final int POWER_ROLE_SOURCE = 1; // 0x1
/frameworks/base/api/
Dsystem-current.txt3710 field public static final int POWER_ROLE_SOURCE = 1; // 0x1