Home
last modified time | relevance | path

Searched refs:getCurrentPowerRole (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java593 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole(); in setPortRoles()
1537 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
1574 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
1629 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
DUsbDeviceManager.java1156 mSourcePower = status.getCurrentPowerRole() == POWER_ROLE_SOURCE; in handleMessage()
1157 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java550 public @UsbPowerRole int getCurrentPowerRole() { in getCurrentPowerRole() method in UsbPortStatus
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java232 status.getCurrentPowerRole()); in writePortStatus()
/frameworks/base/core/api/
Dsystem-current.txt6865 method public int getCurrentPowerRole();