Home
last modified time | relevance | path

Searched refs:mDeviceStateMap (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java51 private final Map<BluetoothDevice, A2dpSinkStateMachine> mDeviceStateMap = field in A2dpSinkService
116 for (A2dpSinkStateMachine stateMachine : mDeviceStateMap.values()) { in stop()
119 mDeviceStateMap.clear(); in stop()
351 A2dpSinkStateMachine stateMachine = mDeviceStateMap.get(device); in disconnect()
378 mDeviceStateMap.remove(stateMachine.getDevice()); in removeStateMachine()
390 mDeviceStateMap.putIfAbsent(device, newStateMachine); in getOrCreateStateMachine()
403 return mDeviceStateMap.get(device); in getStateMachineForDevice()
440 A2dpSinkStateMachine stateMachine = mDeviceStateMap.get(device); in getConnectionState()
496 ProfileService.println(sb, "Devices Tracked = " + mDeviceStateMap.size()); in dump()
497 for (A2dpSinkStateMachine stateMachine : mDeviceStateMap.values()) { in dump()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java105 protected Map<BluetoothDevice, AvrcpControllerStateMachine> mDeviceStateMap = field in AvrcpControllerService
175 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in stop()
178 mDeviceStateMap.clear(); in stop()
279 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in playItem()
309 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in getContents()
521 AvrcpControllerStateMachine stateMachine = mDeviceStateMap.get(device); in onAudioFocusStateChanged()
696 AvrcpControllerStateMachine stateMachine = mDeviceStateMap.get(device); in disconnect()
719 mDeviceStateMap.remove(stateMachine.getDevice()); in removeStateMachine()
731 return mDeviceStateMap.get(device); in getStateMachine()
742 mDeviceStateMap.putIfAbsent(device, newStateMachine); in getOrCreateStateMachine()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java103 mService.mDeviceStateMap.put(mRemoteDevice, mStateMachine); in setUp()
110 mService.mDeviceStateMap.put(mRemoteDevice2, mStateMachine2); in setUp()
151 assertThat(mService.mDeviceStateMap).doesNotContainKey(mRemoteDevice); in removeStateMachine()