Home
last modified time | relevance | path

Searched refs:PlayerApplicationSettings (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettingsTest.java36 btAvrcpAttributeList[0] = PlayerApplicationSettings.REPEAT_STATUS; in makeSupportedSettings()
38 btAvrcpAttributeList[2] = PlayerApplicationSettings.JNI_REPEAT_STATUS_ALL_TRACK_REPEAT; in makeSupportedSettings()
40 PlayerApplicationSettings settings = in makeSupportedSettings()
41 PlayerApplicationSettings.makeSupportedSettings(btAvrcpAttributeList); in makeSupportedSettings()
43 assertThat(settings.supportsSetting(PlayerApplicationSettings.REPEAT_STATUS)).isTrue(); in makeSupportedSettings()
49 btAvrcpAttributeList[0] = PlayerApplicationSettings.REPEAT_STATUS; in makeSettings()
50 btAvrcpAttributeList[1] = PlayerApplicationSettings.JNI_REPEAT_STATUS_GROUP_REPEAT; in makeSettings()
52 PlayerApplicationSettings settings = in makeSettings()
53 PlayerApplicationSettings.makeSettings(btAvrcpAttributeList); in makeSettings()
55 assertThat(settings.getSetting(PlayerApplicationSettings.REPEAT_STATUS)) in makeSettings()
[all …]
DAvrcpPlayerTest.java49 @Mock private PlayerApplicationSettings mPlayerApplicationSettings;
108 when(mPlayerApplicationSettings.supportsSetting(PlayerApplicationSettings.REPEAT_STATUS)) in setSupportedPlayerApplicationSettings()
110 when(mPlayerApplicationSettings.supportsSetting(PlayerApplicationSettings.SHUFFLE_STATUS)) in setSupportedPlayerApplicationSettings()
DAvrcpControllerServiceTest.java449 PlayerApplicationSettings.REPEAT_STATUS, in onPlayerAppSettingChanged()
450 PlayerApplicationSettings.JNI_REPEAT_STATUS_ALL_TRACK_REPEAT in onPlayerAppSettingChanged()
460 any(PlayerApplicationSettings.class)); in onPlayerAppSettingChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java31 class PlayerApplicationSettings { class
64 static PlayerApplicationSettings makeSupportedSettings(byte[] btAvrcpAttributeList) { in makeSupportedSettings()
65 PlayerApplicationSettings newObj = new PlayerApplicationSettings(); in makeSupportedSettings()
85 static PlayerApplicationSettings makeSettings(byte[] btAvrcpAttributeList) { in makeSettings()
86 PlayerApplicationSettings newObj = new PlayerApplicationSettings(); in makeSettings()
101 public void setSupport(PlayerApplicationSettings updates) { in setSupport()
DAvrcpPlayer.java66 private PlayerApplicationSettings mSupportedPlayerApplicationSettings =
67 new PlayerApplicationSettings();
68 private PlayerApplicationSettings mCurrentPlayerApplicationSettings;
140 PlayerApplicationSettings playerApplicationSettings) { in setSupportedPlayerApplicationSettings()
146 PlayerApplicationSettings playerApplicationSettings) { in setCurrentPlayerApplicationSettings()
152 PlayerApplicationSettings.REPEAT_STATUS)); in setCurrentPlayerApplicationSettings()
155 PlayerApplicationSettings.SHUFFLE_STATUS)); in setCurrentPlayerApplicationSettings()
227 PlayerApplicationSettings.REPEAT_STATUS)) { in updateAvailableActions()
231 PlayerApplicationSettings.SHUFFLE_STATUS)) { in updateAvailableActions()
DAvrcpControllerStateMachine.java693 (PlayerApplicationSettings) msg.obj); in processMessage()
699 (PlayerApplicationSettings) msg.obj); in processMessage()
806 new byte[] {PlayerApplicationSettings.REPEAT_STATUS}, in setRepeat()
808 PlayerApplicationSettings.mapAvrcpPlayerSettingstoBTattribVal( in setRepeat()
809 PlayerApplicationSettings.REPEAT_STATUS, repeatMode) in setRepeat()
817 new byte[] {PlayerApplicationSettings.SHUFFLE_STATUS}, in setShuffle()
819 PlayerApplicationSettings.mapAvrcpPlayerSettingstoBTattribVal( in setShuffle()
820 PlayerApplicationSettings.SHUFFLE_STATUS, shuffleMode) in setShuffle()
DAvrcpControllerService.java582 PlayerApplicationSettings supportedSettings = in handlePlayerAppSetting()
583 PlayerApplicationSettings.makeSupportedSettings(playerAttribRsp); in handlePlayerAppSetting()
596 PlayerApplicationSettings currentSettings = in onPlayerAppSettingChanged()
597 PlayerApplicationSettings.makeSettings(playerAttribRsp); in onPlayerAppSettingChanged()