Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java271 public @UsbPowerRole int getCurrentPowerRole() { in getCurrentPowerRole() method in UsbPortStatus
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java369 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole(); in setPortRoles()
1163 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
1196 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
DUsbDeviceManager.java833 mSourcePower = status.getCurrentPowerRole() == POWER_ROLE_SOURCE; in handleMessage()
834 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java223 status.getCurrentPowerRole()); in writePortStatus()
/frameworks/base/api/
Dsystem-current.txt3044 method public int getCurrentPowerRole();