Home
last modified time | relevance | path

Searched refs:UsbDeviceSettings (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceSettings.java25 public final class UsbDeviceSettings { class
35 UsbDeviceSettings(String serialNumber, int vid, int pid) { in UsbDeviceSettings() method in UsbDeviceSettings
110 public static UsbDeviceSettings constructSettings(UsbDevice device) { in constructSettings()
111 UsbDeviceSettings settings = new UsbDeviceSettings( in constructSettings()
122 public static UsbDeviceSettings constructSettings(UsbDeviceSettings origSettings) { in constructSettings()
123 UsbDeviceSettings settings = new UsbDeviceSettings( in constructSettings()
132 public static UsbDeviceSettings constructSettings(String serialNumber, int vid, int pid, in constructSettings()
134 UsbDeviceSettings settings = new UsbDeviceSettings(serialNumber, vid, pid); in constructSettings()
DUsbHostController.java54 void optionsUpdated(List<UsbDeviceSettings> options); in optionsUpdated()
64 private final List<UsbDeviceSettings> mEmptyList = new ArrayList<>();
164 UsbDeviceSettings settings = mUsbSettingsStorage.getSettings(device); in processDevice()
180 public void applyDeviceSettings(UsbDeviceSettings settings) { in applyDeviceSettings()
218 UsbDevice device, List<UsbDeviceSettings> handlers) { in onHandlersResolveCompleted()
231 UsbDeviceSettings aoapHandler = getSingleAoapDeviceHandlerOrNull(handlers); in onHandlersResolveCompleted()
244 private UsbDeviceSettings getSingleAoapDeviceHandlerOrNull(List<UsbDeviceSettings> handlers) { in getSingleAoapDeviceHandlerOrNull()
245 UsbDeviceSettings aoapHandler = null; in getSingleAoapDeviceHandlerOrNull()
246 for (UsbDeviceSettings handler : handlers) { in getSingleAoapDeviceHandlerOrNull()
275 private final UsbDeviceSettings mUsbDeviceSettings;
[all …]
DUsbSettingsStorage.java78 public UsbDeviceSettings getSettings(UsbDevice device) { in getSettings()
89 List<UsbDeviceSettings> settings = constructSettings(resultCursor); in getSettings()
97 public void saveSettings(UsbDeviceSettings settings) { in saveSettings()
133 public List<UsbDeviceSettings> getAllSettings() { in getAllSettings()
147 private List<UsbDeviceSettings> constructSettings(Cursor cursor) { in constructSettings()
157 List<UsbDeviceSettings> results = new ArrayList<>(cursor.getCount()); in constructSettings()
159 results.add(UsbDeviceSettings.constructSettings( in constructSettings()
174 public ContentValues settingsToContentValues(UsbDeviceSettings settings) { in settingsToContentValues()
DUsbDeviceHandlerResolver.java65 UsbDevice device, List<UsbDeviceSettings> availableSettings); in onHandlersResolveCompleted()
198 List<UsbDeviceSettings> settings = new ArrayList<>(); in doHandleResolveHandlers()
215 private UsbDeviceSettings createSettings(UsbDevice device, UsbHandlerPackage pkg) { in createSettings()
216 UsbDeviceSettings settings = UsbDeviceSettings.constructSettings(device); in createSettings()
253 private void deviceProbingComplete(UsbDevice device, List<UsbDeviceSettings> settings) { in deviceProbingComplete()
DUsbDevicePreference.java34 void onUsbDevicePreferenceDelete(Preference preference, UsbDeviceSettings settings); in onUsbDevicePreferenceDelete()
37 private final UsbDeviceSettings mUsbDeviceSettings;
40 public UsbDevicePreference(Context context, UsbDeviceSettings usbDeviceSettings, in UsbDevicePreference()
DUsbHostManagementActivity.java102 UsbDeviceSettings settings = (UsbDeviceSettings) parent.getItemAtPosition(position);
184 public void optionsUpdated(final List<UsbDeviceSettings> options) { in optionsUpdated()
214 private class HandlersAdapter extends ArrayAdapter<UsbDeviceSettings> {