Searched refs:mtpDevice (Results 1 – 2 of 2) sorted by relevance
76 MtpDevice mtpDevice = mDevices.get(deviceName);79 if (mtpDevice == null) {80 mtpDevice = openDeviceLocked(usbDevice);82 if (mtpDevice != null) {84 listener.deviceAdded(mtpDevice);88 if (mtpDevice != null) {93 listener.deviceRemoved(mtpDevice);102 if (mtpDevice == null) {103 mtpDevice = openDeviceLocked(usbDevice);105 if (mtpDevice != null) {[all …]
79 MtpDevice mtpDevice = mDevices.get(deviceName);82 if (mtpDevice == null) {83 mtpDevice = openDeviceLocked(usbDevice);85 if (mtpDevice != null) {87 listener.deviceAdded(mtpDevice);91 if (mtpDevice != null) {96 listener.deviceRemoved(mtpDevice);105 if (mtpDevice == null) {106 mtpDevice = openDeviceLocked(usbDevice);108 if (mtpDevice != null) {[all …]