Searched refs:dataRole (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsDataRoleController.java | 68 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument 69 if (dataRole == DATA_ROLE_DEVICE) { in refresh() 73 } else if (dataRole == DATA_ROLE_HOST) { in refresh() 77 } else if (!connected || dataRole == DATA_ROLE_NONE) { in refresh() 86 if (mNextRolePref != null && dataRole != DATA_ROLE_NONE) { in refresh() 87 if (UsbBackend.dataRoleFromString(mNextRolePref.getKey()) == dataRole) { in refresh()
|
D | UsbDetailsTranscodeMtpController.java | 63 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument 73 connected && isDeviceInFileTransferMode(functions, dataRole)); in refresh() 93 private static boolean isDeviceInFileTransferMode(long functions, int dataRole) { in isDeviceInFileTransferMode() argument 94 return dataRole == DATA_ROLE_DEVICE && ((functions & UsbManager.FUNCTION_MTP) != 0 in isDeviceInFileTransferMode()
|
D | UsbDetailsFunctionsController.java | 100 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument 103 + ", powerRole : " + powerRole + ", dataRole : " + dataRole); in refresh() 105 if (!connected || dataRole != DATA_ROLE_DEVICE) { in refresh()
|
D | UsbDetailsFragment.java | 53 (connected, functions, powerRole, dataRole) -> { 55 controller.refresh(connected, functions, powerRole, dataRole);
|
D | ConnectedUsbDeviceUpdater.java | 58 (connected, functions, powerRole, dataRole) -> { 60 mUsbPreference.setSummary(getSummary(dataRole == DATA_ROLE_DEVICE
|
D | UsbDetailsController.java | 63 protected abstract void refresh(boolean connected, long functions, int powerRole, int dataRole); in refresh() argument
|
D | UsbDetailsHeaderController.java | 50 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
|
D | UsbDetailsPowerRoleController.java | 69 protected void refresh(boolean connected, long functions, int powerRole, int dataRole) { in refresh() argument
|
D | UsbConnectionBroadcastReceiver.java | 138 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged() argument
|
D | UsbDefaultFragment.java | 72 (connected, functions, powerRole, dataRole) -> {
|