OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:POWER_ROLE_SINK
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/java/android/hardware/usb/
UsbPort.java
48
* Implies that the port supports the {@link #
POWER_ROLE_SINK
} and {@link #DATA_ROLE_DEVICE}
59
* combination of roles and the {@link #
POWER_ROLE_SINK
} and {@link #DATA_ROLE_DEVICE}
73
public static final int
POWER_ROLE_SINK
= 2;
122
* or {@link UsbPort#
POWER_ROLE_SINK
}, or 0 if no power role.
156
case
POWER_ROLE_SINK
:
204
Preconditions.checkArgumentInRange(powerRole, 0,
POWER_ROLE_SINK
, "powerRole");
/frameworks/base/services/usb/java/com/android/server/usb/
UsbPortManager.java
106
UsbPort.combineRolesAsBit(UsbPort.
POWER_ROLE_SINK
, UsbPort.DATA_ROLE_HOST);
108
UsbPort.combineRolesAsBit(UsbPort.
POWER_ROLE_SINK
, UsbPort.DATA_ROLE_DEVICE);
203
} else if (canChangeMode && newPowerRole == UsbPort.
POWER_ROLE_SINK
496
UsbPort.
POWER_ROLE_SINK
, currentDataRole);
613
return UsbPort.
POWER_ROLE_SINK
;
[
all
...]
UsbService.java
426
powerRole = UsbPort.
POWER_ROLE_SINK
;
507
powerRole = UsbPort.
POWER_ROLE_SINK
;
UsbDeviceManager.java
406
boolean sinkPower = status.getCurrentPowerRole() == UsbPort.
POWER_ROLE_SINK
;
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
UsbBackend.java
138
? UsbPort.POWER_ROLE_SOURCE : UsbPort.
POWER_ROLE_SINK
;
Completed in 110 milliseconds