OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:POWER_ROLE_NONE
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
UsbDetailsPowerRoleController.java
42
if (mNextPowerRole != UsbPort.
POWER_ROLE_NONE
) {
44
mNextPowerRole = UsbPort.
POWER_ROLE_NONE
;
51
mNextPowerRole = UsbPort.
POWER_ROLE_NONE
;
78
} else if (!connected || powerRole == UsbPort.
POWER_ROLE_NONE
){
80
if (mNextPowerRole == UsbPort.
POWER_ROLE_NONE
) {
85
if (mNextPowerRole != UsbPort.
POWER_ROLE_NONE
&& powerRole != UsbPort.
POWER_ROLE_NONE
) {
93
mNextPowerRole = UsbPort.
POWER_ROLE_NONE
;
102
if (mUsbBackend.getPowerRole() != newRole && mNextPowerRole == UsbPort.
POWER_ROLE_NONE
UsbBackend.java
98
return mPortStatus == null ? UsbPort.
POWER_ROLE_NONE
: mPortStatus.getCurrentPowerRole();
136
newPowerRole = UsbPort.
POWER_ROLE_NONE
;
UsbConnectionBroadcastReceiver.java
53
mPowerRole = UsbPort.
POWER_ROLE_NONE
;
/frameworks/base/core/java/android/hardware/usb/
UsbPort.java
82
public static final int
POWER_ROLE_NONE
= Constants.PortPowerRole.NONE;
193
case
POWER_ROLE_NONE
:
263
Preconditions.checkArgumentInRange(powerRole,
POWER_ROLE_NONE
, POWER_ROLE_SINK,
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
UsbConnectionBroadcastReceiverTest.java
67
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
79
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
93
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
UsbDetailsDataRoleControllerTest.java
165
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
183
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
204
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
UsbDetailsPowerRoleControllerTest.java
179
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
197
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
219
UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
ConnectedUsbDeviceUpdaterTest.java
89
UsbManager.FUNCTION_NONE, UsbPort.
POWER_ROLE_NONE
, UsbPort.DATA_ROLE_NONE);
/frameworks/base/core/proto/android/service/
usb.proto
213
POWER_ROLE_NONE
= 0;
Completed in 353 milliseconds