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.java117 protected Map<BluetoothDevice, AvrcpControllerStateMachine> mDeviceStateMap =
133 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in onImageDownloadComplete()
139 stateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_IMAGE_DOWNLOADED, in onImageDownloadComplete()
177 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in stop()
229 AvrcpControllerStateMachine oldStateMachine = in setActiveDevice()
236 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in setActiveDevice()
272 protected AvrcpControllerStateMachine newStateMachine(BluetoothDevice device) { in newStateMachine()
273 return new AvrcpControllerStateMachine(device, this); in newStateMachine()
278 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in getCurrentMetadataIfNoCoverArt()
292 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in refreshContents()
[all …]
DAvrcpControllerStateMachine.java53 class AvrcpControllerStateMachine extends StateMachine { class
147 AvrcpControllerStateMachine(BluetoothDevice device, AvrcpControllerService service) { in AvrcpControllerStateMachine() method in AvrcpControllerStateMachine
434 mService.removeStateMachine(AvrcpControllerStateMachine.this); in processMessage()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java88 private AvrcpControllerStateMachine mAvrcpStateMachine = null;
148 private AvrcpControllerStateMachine makeStateMachine(BluetoothDevice device) { in makeStateMachine()
149 AvrcpControllerStateMachine sm = in makeStateMachine()
150 new AvrcpControllerStateMachine(device, mAvrcpControllerService); in makeStateMachine()
158 private void destroyStateMachine(AvrcpControllerStateMachine sm) { in destroyStateMachine()
190 AvrcpControllerStateMachine.AUDIO_FOCUS_STATE_CHANGE, state); in sendAudioFocusUpdate()
201 IsInstanceOf.instanceOf(AvrcpControllerStateMachine.Disconnected.class)); in setUpConnectedState()
210 IsInstanceOf.instanceOf(AvrcpControllerStateMachine.Connected.class)); in setUpConnectedState()
257 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED, in setCurrentTrack()
268 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_STATUS_CHANGED, state); in setPlaybackState()
[all …]
DAvrcpControllerServiceTest.java71 @Mock private AvrcpControllerStateMachine mStateMachine;
330 AvrcpControllerStateMachine.MESSAGE_PROCESS_FOLDER_PATH, count); in handleChangeFolderRsp()
341 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_BROWSED_PLAYER, items, depth); in handleSetBrowsedPlayerRsp()
351 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ADDRESSED_PLAYER); in handleSetAddressedPlayerRsp()
361 AvrcpControllerStateMachine.MESSAGE_PROCESS_ADDRESSED_PLAYER_CHANGED, id); in handleAddressedPlayerChanged()
414 AvrcpControllerStateMachine.MESSAGE_PROCESS_RECEIVED_COVER_ART_PSM, psm); in getRcPsm()
424 AvrcpControllerStateMachine.MESSAGE_PROCESS_REGISTER_ABS_VOL_NOTIFICATION); in handleRegisterNotificationAbsVol()
435 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ABS_VOL_CMD, absVol); in handleSetAbsVolume()
448 eq(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED), captor.capture()); in onTrackChanged()
463 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_POS_CHANGED, songLen, currSongPos); in onPlayPositionChanged()
[all …]