Searched refs:mUsbManager (Results 1 – 4 of 4) sorted by relevance
55 private final UsbManager mUsbManager; field in MtpClient169 mUsbManager = (UsbManager)context.getSystemService(Context.USB_SERVICE); in MtpClient()192 if (!mUsbManager.hasPermission(usbDevice)) { in openDeviceLocked()193 mUsbManager.requestPermission(usbDevice, mPermissionIntent); in openDeviceLocked()196 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); in openDeviceLocked()282 for (UsbDevice usbDevice : mUsbManager.getDeviceList().values()) { in getDeviceList()
45 private UsbManager mUsbManager; field in UsbSettings57 updateToggles(mUsbManager.getDefaultFunction());84 mUsbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in onCreate()156 mUsbManager.setCurrentFunction(function, true); in onPreferenceTreeClick()
79 private UsbManager mUsbManager; field in Memory89 mUsbManager = (UsbManager) getSystemService(Context.USB_SERVICE); in onCreate()255 String usbFunction = mUsbManager.getDefaultFunction();
106 private IUsbManager mUsbManager; field in InstalledAppDetails412 mUsbManager = IUsbManager.Stub.asInterface(b); in onCreate()661 hasUsbDefaults = mUsbManager.hasDefaults(packageName, UserHandle.myUserId()); in refreshUi()1313 mUsbManager.clearDefaults(packageName, UserHandle.myUserId());