Searched refs:mDeviceMap (Results 1 – 2 of 2) sorted by relevance
56 HashMap<BluetoothDevice, Boolean> mDeviceMap = new HashMap(); field in AvrcpVolumeManager78 d("switchVolumeDevice: Set Absolute volume support to " + mDeviceMap.get(device)); in switchVolumeDevice()79 mAudioManager.avrcpSupportsAbsoluteVolume(device.getAddress(), mDeviceMap.get(device)); in switchVolumeDevice()87 if (mDeviceMap.get(device)) { in switchVolumeDevice()208 if (mDeviceMap.containsKey(device)) { in getAbsoluteVolumeSupported()209 return mDeviceMap.get(device); in getAbsoluteVolumeSupported()240 if (!mDeviceMap.containsKey(mCurrentDevice)) { in onAudioDevicesAdded()251 mDeviceMap.put(device, absoluteVolume); in deviceConnected()273 mDeviceMap.remove(device); in deviceDisconnected()297 if (mDeviceMap.containsKey(d)) { in dump()[all …]
43 private Map<String, SimulatedBluetoothDevice> mDeviceMap = new HashMap<>(); field in FakeHfpManager71 mDeviceMap.put(String.valueOf(newDeviceId), device); in connectHfpDevice()81 SimulatedBluetoothDevice simulatedBluetoothDevice = mDeviceMap.remove(id); in disconnectHfpDevice()