Searched refs:mDevices (Results 1 – 4 of 4) sorted by relevance
60 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); field in MtpClient78 synchronized (mDevices) {79 MtpDevice mtpDevice = mDevices.get(deviceName);92 mDevices.remove(deviceName);200 mDevices.put(usbDevice.getDeviceName(), mtpDevice); in openDeviceLocked()229 synchronized (mDevices) { in addListener()242 synchronized (mDevices) { in removeListener()255 synchronized (mDevices) { in getDevice()256 return mDevices.get(deviceName); in getDevice()268 synchronized (mDevices) { in getDevice()[all …]
57 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>(); field in MtpClient75 synchronized (mDevices) {76 MtpDevice mtpDevice = mDevices.get(deviceName);89 mDevices.remove(deviceName);198 mDevices.put(usbDevice.getDeviceName(), mtpDevice); in openDeviceLocked()227 synchronized (mDevices) { in addListener()240 synchronized (mDevices) { in removeListener()252 synchronized (mDevices) { in getDeviceList()256 if (mDevices.get(usbDevice.getDeviceName()) == null) { in getDeviceList()261 return new ArrayList<MtpDevice>(mDevices.values()); in getDeviceList()
48 private HashMap<BluetoothDevice, DeviceProperties> mDevices; field in RemoteDevices54 mDevices = new HashMap<BluetoothDevice, DeviceProperties>(); in RemoteDevices()62 if (mDevices != null) in cleanup()63 mDevices.clear(); in cleanup()72 synchronized (mDevices) { in getDeviceProperties()73 return mDevices.get(device); in getDeviceProperties()78 for (BluetoothDevice dev : mDevices.keySet()) { in getDevice()87 synchronized (mDevices) { in addDeviceProperties()92 mDevices.put(device, prop); in addDeviceProperties()
148 private final ArrayList<BluetoothDevice> mDevices = field in BondStateMachine.PendingCommandState163 if (mDevices.contains(dev) && msg.what != CANCEL_BOND && in processMessage()189 result = !mDevices.remove(dev); in processMessage()190 if (mDevices.isEmpty()) { in processMessage()218 else if(!mDevices.contains(dev)) in processMessage()259 if (result) mDevices.add(dev); in processMessage()