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 …]
172 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open() local174 mtpDevice->initialize(); in open()175 return mtpDevice; in open()