Searched refs:usbManager (Results 1 – 4 of 4) sorted by relevance
35 UsbManager usbManager) { in findAllPossibleAndroidDevices() argument36 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() argument88 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in isDeviceConnected()
26 UsbManager usbManager = context.getSystemService(UsbManager.class); in onReceive() local27 HashMap<String, UsbDevice> deviceList = usbManager.getDeviceList(); in onReceive()
207 UsbManager usbManager = mContext.getSystemService(UsbManager.class); in isDeviceAoapPossible() local208 UsbDeviceConnection connection = UsbUtil.openConnection(usbManager, device); in isDeviceAoapPossible()
101 private boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults() argument103 if (usbManager != null) { in hasUsbDefaults()104 return usbManager.hasDefaults(packageName, getCurrentUserId()); in hasUsbDefaults()