Home
last modified time | relevance | path

Searched refs:usbManager (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java35 UsbManager usbManager) { in findAllPossibleAndroidDevices() argument
36 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in findAllPossibleAndroidDevices()
39 UsbDeviceConnection connection = openConnection(usbManager, device); in findAllPossibleAndroidDevices()
87 public static boolean isDeviceConnected(UsbManager usbManager, UsbDevice device) { in isDeviceConnected() argument
88 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in isDeviceConnected()
DBootUsbScanner.java26 UsbManager usbManager = context.getSystemService(UsbManager.class); in onReceive() local
27 HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); in onReceive()
DUsbHostController.java207 UsbManager usbManager = mContext.getSystemService(UsbManager.class); in isDeviceAoapPossible() local
208 UsbDeviceConnection connection = UsbUtil.openConnection(usbManager, device); in isDeviceAoapPossible()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DClearDefaultsPreferenceController.java101 private boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults() argument
103 if (usbManager != null) { in hasUsbDefaults()
104 return usbManager.hasDefaults(packageName, getCurrentUserId()); in hasUsbDefaults()