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.java358 public @UsbPowerRole int getCurrentPowerRole() { in getCurrentPowerRole() method in UsbPortStatus
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java569 final int currentPowerRole = portInfo.mUsbPortStatus.getCurrentPowerRole(); in setPortRoles()
1216 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
1252 || mUsbPortStatus.getCurrentPowerRole() != currentPowerRole in setStatus()
DUsbDeviceManager.java962 mSourcePower = status.getCurrentPowerRole() == POWER_ROLE_SOURCE; in handleMessage()
963 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java223 status.getCurrentPowerRole()); in writePortStatus()
/frameworks/base/core/api/
Dsystem-current.txt5397 method public int getCurrentPowerRole();