Home
last modified time | relevance | path

Searched refs:playback_state (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlProfile.java180 MediaState playback_state = playerState2McsState(mCurrentData.state.getState()); in onCurrentPlayerStateUpdated() local
181 state_map.put(PlayerStateField.PLAYBACK_STATE, playback_state); in onCurrentPlayerStateUpdated()
197 if (playback_state != MediaState.INACTIVE) { in onCurrentPlayerStateUpdated()
210 + playback_state in onCurrentPlayerStateUpdated()
824 MediaState playback_state = sPlayerState2McsStateMap.get(playerState); in playerState2McsState() local
826 if (playback_state == null) playback_state = MediaState.INACTIVE; in playerState2McsState()
828 return playback_state; in playerState2McsState()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_metrics_logging.cc44 void log_a2dp_playback_event(const RawAddress& address, int playback_state, in log_a2dp_playback_event() argument
46 bluetooth::shim::LogMetricA2dpPlaybackEvent(address, playback_state, in log_a2dp_playback_event()
Dbtif_av.cc3001 PlaybackStateEnum playback_state = PlaybackStateEnum::PLAYBACK_STATE_UNKNOWN; in btif_report_audio_state() local
3004 playback_state = PlaybackStateEnum::PLAYBACK_STATE_PLAYING; in btif_report_audio_state()
3007 playback_state = PlaybackStateEnum::PLAYBACK_STATE_NOT_PLAYING; in btif_report_audio_state()
3017 log_a2dp_playback_event(peer_address, playback_state, audio_coding_mode); in btif_report_audio_state()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_metrics_api.h112 std::function<void(const RawAddress& raw_address, int playback_state,
116 void operator()(const RawAddress& raw_address, int playback_state, in operator()
118 body(raw_address, playback_state, audio_coding_mode); in operator()
Dmock_main_shim_metrics_api.cc91 int playback_state, in LogMetricA2dpPlaybackEvent() argument
95 raw_address, playback_state, audio_coding_mode); in LogMetricA2dpPlaybackEvent()
/packages/modules/Bluetooth/system/main/shim/
Dmetrics_api.cc64 int playback_state, int audio_coding_mode) { in LogMetricA2dpPlaybackEvent() argument
66 bluetooth::os::LogMetricA2dpPlaybackEvent(address, playback_state, in LogMetricA2dpPlaybackEvent()
Dmetrics_api.h87 int playback_state, int audio_coding_mode);
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc181 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) { in LogMetricA2dpPlaybackEvent() argument
187 …int ret = stats_write(BLUETOOTH_A2DP_PLAYBACK_STATE_CHANGED, byteField, playback_state, audio_codi… in LogMetricA2dpPlaybackEvent()
192 playback_state, in LogMetricA2dpPlaybackEvent()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_metrics_logging.h35 void log_a2dp_playback_event(const RawAddress& address, int playback_state,
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlGattServiceTest.java470 MediaState playback_state = MediaState.SEEKING; in testUpdatePlayerState() local
483 state_map.put(PlayerStateField.PLAYBACK_STATE, playback_state); in testUpdatePlayerState()
556 playback_state.getValue(), in testUpdatePlayerState()
769 int playback_state = MediaState.SEEKING.getValue(); in testNotify() local
820 mMcpService.updateMediaStateChar(playback_state); in testNotify()
1486 MediaState playback_state = MediaState.SEEKING; in testUpdatePlayerStateFromNullStateChar() local
1487 state_map.put(PlayerStateField.PLAYBACK_STATE, playback_state); in testUpdatePlayerStateFromNullStateChar()
/packages/modules/Bluetooth/system/gd/os/linux/
Dmetrics.cc101 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) … in LogMetricA2dpPlaybackEvent() argument
/packages/modules/Bluetooth/system/common/
Dmetrics_linux.cc114 void LogA2dpPlaybackEvent(const RawAddress& address, int playback_state, in LogA2dpPlaybackEvent() argument
Dmetrics.h376 void LogA2dpPlaybackEvent(const RawAddress& address, int playback_state,
Dmetrics.cc695 void LogA2dpPlaybackEvent(const RawAddress& address, int playback_state, in LogA2dpPlaybackEvent() argument
707 playback_state, audio_coding_mode, metric_id); in LogA2dpPlaybackEvent()
712 address, playback_state, audio_coding_mode, ret); in LogA2dpPlaybackEvent()
/packages/modules/Bluetooth/system/gd/os/
Dmetrics.h125 const hci::Address& address, int playback_state, int audio_coding_mode);
/packages/modules/Bluetooth/system/gd/os/chromeos/
Dmetrics.cc188 void LogMetricA2dpPlaybackEvent(const Address& address, int playback_state, int audio_coding_mode) { in LogMetricA2dpPlaybackEvent() argument