Searched refs:AvrcpControllerStateMachine (Results 1 – 4 of 4) sorted by relevance
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
| D | AvrcpControllerService.java | 115 protected Map<BluetoothDevice, AvrcpControllerStateMachine> mDeviceStateMap = 131 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in onImageDownloadComplete() 137 stateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_IMAGE_DOWNLOADED, in onImageDownloadComplete() 175 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in stop() 227 AvrcpControllerStateMachine oldStateMachine = in setActiveDevice() 234 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in setActiveDevice() 270 protected AvrcpControllerStateMachine newStateMachine(BluetoothDevice device) { in newStateMachine() 271 return new AvrcpControllerStateMachine(device, this); in newStateMachine() 276 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in getCurrentMetadataIfNoCoverArt() 290 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in refreshContents() [all …]
|
| D | AvrcpControllerStateMachine.java | 53 class AvrcpControllerStateMachine extends StateMachine { class 145 AvrcpControllerStateMachine(BluetoothDevice device, AvrcpControllerService service) { in AvrcpControllerStateMachine() method in AvrcpControllerStateMachine 432 mService.removeStateMachine(AvrcpControllerStateMachine.this); in processMessage()
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
| D | AvrcpControllerStateMachineTest.java | 89 private AvrcpControllerStateMachine mAvrcpStateMachine = null; 154 private AvrcpControllerStateMachine makeStateMachine(BluetoothDevice device) { in makeStateMachine() 155 AvrcpControllerStateMachine sm = in makeStateMachine() 156 new AvrcpControllerStateMachine(device, mAvrcpControllerService); in makeStateMachine() 164 private void destroyStateMachine(AvrcpControllerStateMachine sm) { in destroyStateMachine() 198 IsInstanceOf.instanceOf(AvrcpControllerStateMachine.Disconnected.class)); in setUpConnectedState() 207 IsInstanceOf.instanceOf(AvrcpControllerStateMachine.Connected.class)); in setUpConnectedState() 254 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED, in setCurrentTrack() 265 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_STATUS_CHANGED, state); in setPlaybackState() 274 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_POS_CHANGED, duration, position); in setPlaybackPosition() [all …]
|
| D | AvrcpControllerServiceTest.java | 65 @Mock private AvrcpControllerStateMachine mStateMachine; 243 AvrcpControllerStateMachine.MESSAGE_PROCESS_FOLDER_PATH, count); in handleChangeFolderRsp() 254 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_BROWSED_PLAYER, items, depth); in handleSetBrowsedPlayerRsp() 264 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ADDRESSED_PLAYER); in handleSetAddressedPlayerRsp() 274 AvrcpControllerStateMachine.MESSAGE_PROCESS_ADDRESSED_PLAYER_CHANGED, id); in handleAddressedPlayerChanged() 326 AvrcpControllerStateMachine.MESSAGE_PROCESS_RECEIVED_COVER_ART_PSM, psm); in getRcPsm() 336 AvrcpControllerStateMachine.MESSAGE_PROCESS_REGISTER_ABS_VOL_NOTIFICATION); in handleRegisterNotificationAbsVol() 347 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ABS_VOL_CMD, absVol); in handleSetAbsVolume() 360 eq(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED), captor.capture()); in onTrackChanged() 375 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_POS_CHANGED, songLen, currSongPos); in onPlayPositionChanged() [all …]
|