Lines Matching defs:mDevices
57 // mDevices contains all MtpDevices that have been seen by our client,
59 // mDevices is also used for synchronization in this class.
60 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>();
78 synchronized (mDevices) {
79 MtpDevice mtpDevice = mDevices.get(deviceName);
92 mDevices.remove(deviceName);
200 mDevices.put(usbDevice.getDeviceName(), mtpDevice);
229 synchronized (mDevices) {
242 synchronized (mDevices) {
255 synchronized (mDevices) {
256 return mDevices.get(deviceName);
268 synchronized (mDevices) {
269 return mDevices.get(UsbDevice.getDeviceName(id));
279 synchronized (mDevices) {
283 if (mDevices.get(usbDevice.getDeviceName()) == null) {
288 return new ArrayList<MtpDevice>(mDevices.values());