Searched refs:AvrcpControllerStateMachine (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 105 protected Map<BluetoothDevice, AvrcpControllerStateMachine> mDeviceStateMap = 125 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in onImageDownloadComplete() 132 AvrcpControllerStateMachine.MESSAGE_PROCESS_IMAGE_DOWNLOADED, event); in onImageDownloadComplete() 175 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in stop() 231 AvrcpControllerStateMachine oldStateMachine = in setActiveDevice() 238 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in setActiveDevice() 254 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in getCurrentMetadataIfNoCoverArt() 268 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in refreshContents() 279 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in playItem() 309 for (AvrcpControllerStateMachine stateMachine : mDeviceStateMap.values()) { in getContents() [all …]
|
D | AvrcpControllerStateMachine.java | 56 class AvrcpControllerStateMachine extends StateMachine { class 57 static final String TAG = AvrcpControllerStateMachine.class.getSimpleName(); 147 AvrcpControllerStateMachine( in AvrcpControllerStateMachine() method in AvrcpControllerStateMachine 433 mService.removeStateMachine(AvrcpControllerStateMachine.this); in processMessage()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 100 private AvrcpControllerStateMachine mAvrcpStateMachine = null; 160 private AvrcpControllerStateMachine makeStateMachine(BluetoothDevice device) { in makeStateMachine() 161 AvrcpControllerStateMachine sm = in makeStateMachine() 162 new AvrcpControllerStateMachine( in makeStateMachine() 169 private void destroyStateMachine(AvrcpControllerStateMachine sm) { in destroyStateMachine() 196 mAvrcpStateMachine.sendMessage(AvrcpControllerStateMachine.AUDIO_FOCUS_STATE_CHANGE, state); in sendAudioFocusUpdate() 208 IsInstanceOf.instanceOf(AvrcpControllerStateMachine.Disconnected.class)); in setUpConnectedState() 217 IsInstanceOf.instanceOf(AvrcpControllerStateMachine.Connected.class)); in setUpConnectedState() 274 AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED, track); in setCurrentTrack() 282 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_STATUS_CHANGED, state); in setPlaybackState() [all …]
|
D | AvrcpControllerServiceTest.java | 82 @Mock private AvrcpControllerStateMachine mStateMachine; 83 @Mock private AvrcpControllerStateMachine mStateMachine2; 294 .sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_FOLDER_PATH, count); in handleChangeFolderRsp() 306 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_BROWSED_PLAYER, in handleSetBrowsedPlayerRsp() 318 .sendMessage(AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ADDRESSED_PLAYER); in handleSetAddressedPlayerRsp() 329 AvrcpControllerStateMachine.MESSAGE_PROCESS_ADDRESSED_PLAYER_CHANGED, id); in handleAddressedPlayerChanged() 373 AvrcpControllerStateMachine.MESSAGE_PROCESS_RECEIVED_COVER_ART_PSM, psm); in getRcPsm() 384 AvrcpControllerStateMachine.MESSAGE_PROCESS_REGISTER_ABS_VOL_NOTIFICATION, in handleRegisterNotificationAbsVol() 397 AvrcpControllerStateMachine.MESSAGE_PROCESS_SET_ABS_VOL_CMD, absVol, label); in handleSetAbsVolume() 411 eq(AvrcpControllerStateMachine.MESSAGE_PROCESS_TRACK_CHANGED), in onTrackChanged() [all …]
|