Home
last modified time | relevance | path

Searched refs:FUNCTIONS_MAP (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsController.java48 static final Map<Long, Integer> FUNCTIONS_MAP = new LinkedHashMap<>(); field in UsbDetailsFunctionsController
51 FUNCTIONS_MAP.put(UsbManager.FUNCTION_MTP, R.string.usb_use_file_transfers); in FUNCTIONS_MAP.put()
52 FUNCTIONS_MAP.put(UsbManager.FUNCTION_RNDIS, R.string.usb_use_tethering); in FUNCTIONS_MAP.put()
53 FUNCTIONS_MAP.put(UsbManager.FUNCTION_MIDI, R.string.usb_use_MIDI); in FUNCTIONS_MAP.put()
54 FUNCTIONS_MAP.put(UsbManager.FUNCTION_PTP, R.string.usb_use_photo_transfers); in FUNCTIONS_MAP.put()
55 FUNCTIONS_MAP.put(UsbManager.FUNCTION_NONE, R.string.usb_use_charging_only); in FUNCTIONS_MAP.put()
112 for (long option : FUNCTIONS_MAP.keySet()) { in refresh()
113 int title = FUNCTIONS_MAP.get(option); in refresh()
DUsbDefaultFragment.java125 for (final long option : UsbDetailsFunctionsController.FUNCTIONS_MAP.keySet()) { in getCandidates()
127 UsbDetailsFunctionsController.FUNCTIONS_MAP.get(option)); in getCandidates()
216 for (long option : UsbDetailsFunctionsController.FUNCTIONS_MAP.keySet()) { in refresh()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsControllerTest.java113 Iterator<Long> iter = UsbDetailsFunctionsController.FUNCTIONS_MAP.keySet().iterator(); in displayRefresh_allAllowed_shouldCreatePrefs()