Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java272 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.java836 mSourcePower = status.getCurrentPowerRole() == POWER_ROLE_SOURCE; in handleMessage()
837 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.txt3298 method public int getCurrentPowerRole();
/frameworks/base/non-updatable-api/
Dsystem-current.txt3298 method public int getCurrentPowerRole();