Home
last modified time | relevance | path

Searched refs:AvrcpControllerStateMachine (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java108 final Map<BluetoothDevice, AvrcpControllerStateMachine> mDeviceStateMap =
125 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in onImageDownloadComplete()
132 AvrcpControllerStateMachine.MESSAGE_PROCESS_IMAGE_DOWNLOADED, event); in onImageDownloadComplete()
176 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in cleanup()
234 AvrcpControllerStateMachine oldStateMachine = in setActiveDevice()
241 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in setActiveDevice()
257 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in getCurrentMetadataIfNoCoverArt()
271 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in refreshContents()
282 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in playItem()
312 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in getContents()
[all …]
DAvrcpControllerStateMachine.java59 class AvrcpControllerStateMachine extends StateMachine { class
60 private static final String TAG = AvrcpControllerStateMachine.class.getSimpleName();
146 AvrcpControllerStateMachine( in AvrcpControllerStateMachine() method in AvrcpControllerStateMachine
436 mService.removeStateMachine(AvrcpControllerStateMachine.this); in processMessage()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java100 private AvrcpControllerStateMachine mAvrcpStateMachine;
153 private AvrcpControllerStateMachine makeStateMachine(BluetoothDevice device) { in makeStateMachine()
154 AvrcpControllerStateMachine sm = in makeStateMachine()
155 new AvrcpControllerStateMachine( in makeStateMachine()
162 private void destroyStateMachine(AvrcpControllerStateMachine sm) { in destroyStateMachine()
189 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.AUDIO_FOCUS_STATE_CHANGE, state); in sendAudioFocusUpdate()
200 .isInstanceOf(AvrcpControllerStateMachine.Disconnected.class); in setUpConnectedState()
208 .isInstanceOf(AvrcpControllerStateMachine.Connected.class); in setUpConnectedState()
265 AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED, track); in setCurrentTrack()
273 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_STATUS_CHANGED, state); in setPlaybackState()
[all …]
DAvrcpControllerServiceTest.java78 @Mock private AvrcpControllerStateMachine mStateMachine;
79 @Mock private AvrcpControllerStateMachine mStateMachine2;
289 .sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_FOLDER_PATH, count); in handleChangeFolderRsp()
301 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_BROWSED_PLAYER, in handleSetBrowsedPlayerRsp()
313 .sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ADDRESSED_PLAYER); in handleSetAddressedPlayerRsp()
324 AvrcpControllerStateMachine.MESSAGE_PROCESS_ADDRESSED_PLAYER_CHANGED, id); in handleAddressedPlayerChanged()
368 AvrcpControllerStateMachine.MESSAGE_PROCESS_RECEIVED_COVER_ART_PSM, psm); in getRcPsm()
379 AvrcpControllerStateMachine.MESSAGE_PROCESS_REGISTER_ABS_VOL_NOTIFICATION, in handleRegisterNotificationAbsVol()
392 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ABS_VOL_CMD, absVol, label); in handleSetAbsVolume()
406 eq(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED), in onTrackChanged()
[all …]