Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java55 private final UsbManager mUsbManager; field in MtpClient
169 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()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbSettings.java45 private UsbManager mUsbManager; field in UsbSettings
57 updateToggles(mUsbManager.getDefaultFunction());
84 mUsbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in onCreate()
156 mUsbManager.setCurrentFunction(function, true); in onPreferenceTreeClick()
DMemory.java79 private UsbManager mUsbManager; field in Memory
89 mUsbManager = (UsbManager) getSystemService(Context.USB_SERVICE); in onCreate()
255 String usbFunction = mUsbManager.getDefaultFunction();
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java106 private IUsbManager mUsbManager; field in InstalledAppDetails
412 mUsbManager = IUsbManager.Stub.asInterface(b); in onCreate()
661 hasUsbDefaults = mUsbManager.hasDefaults(packageName, UserHandle.myUserId()); in refreshUi()
1313 mUsbManager.clearDefaults(packageName, UserHandle.myUserId());