Searched refs:mtpDevice (Results 1 – 2 of 2) sorted by relevance
71 MtpDevice mtpDevice = mDevices.get(deviceName);74 if (mtpDevice == null) {75 mtpDevice = openDeviceLocked(usbDevice);77 if (mtpDevice != null) {79 listener.deviceAdded(mtpDevice);83 if (mtpDevice != null) {86 listener.deviceRemoved(mtpDevice);94 if (mtpDevice == null) {95 mtpDevice = openDeviceLocked(usbDevice);97 if (mtpDevice != null) {[all …]
207 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open() local209 mtpDevice->initialize(); in open()210 return mtpDevice; in open()