Home
last modified time | relevance | path

Searched refs:powerRole (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleController.java69 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
76 if (powerRole == POWER_ROLE_SOURCE) { in refresh()
79 } else if (powerRole == POWER_ROLE_SINK) { in refresh()
82 } else if (!connected || powerRole == POWER_ROLE_NONE) { in refresh()
90 && powerRole != POWER_ROLE_NONE) { in refresh()
91 if (mNextPowerRole == powerRole) { in refresh()
DUsbDetailsFragment.java53 (connected, functions, powerRole, dataRole) -> {
55 controller.refresh(connected, functions, powerRole, dataRole);
DConnectedUsbDeviceUpdater.java58 (connected, functions, powerRole, dataRole) -> {
61 ? functions : UsbManager.FUNCTION_NONE, powerRole));
DUsbDetailsFunctionsController.java100 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
103 + ", powerRole : " + powerRole + ", dataRole : " + dataRole); in refresh()
DUsbDetailsController.java63 protected abstract void refresh(boolean connected, long functions, int powerRole, int dataRole); in refresh() argument
DUsbDetailsHeaderController.java50 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbDetailsTranscodeMtpController.java63 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbDetailsDataRoleController.java68 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
DUsbConnectionBroadcastReceiver.java138 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged() argument
DUsbDefaultFragment.java72 (connected, functions, powerRole, dataRole) -> {