/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_bluetooth_profile.cpp | 102 napi_value playingState = nullptr; in PlayingStateInit() local 103 napi_create_object(env, &playingState); in PlayingStateInit() 104 …SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_NOT_PLAYING, "STATE_NOT_PLAYING"); in PlayingStateInit() 105 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit() 106 return playingState; in PlayingStateInit()
|
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | audio_bluetooth_manager.cpp | 79 static void AudioOnPlayingStatusChanged(const RawAddress &device, int playingState, int error) in AudioOnPlayingStatusChanged() argument 81 HDF_LOGI("%{public}s, playingState:%{public}d", __func__, playingState); in AudioOnPlayingStatusChanged() 84 if (playingState) { in AudioOnPlayingStatusChanged() 90 g_playdevices.insert(std::make_pair(playingState, addr)); in AudioOnPlayingStatusChanged() 91 g_playState = playingState; in AudioOnPlayingStatusChanged() 101 g_playState = playingState; in AudioOnPlayingStatusChanged()
|
H A D | bluetooth_a2dp_src_observer.cpp | 34 const OHOS::bluetooth::RawAddress &device, int playingState, int error) in OnPlayingStatusChanged() argument 38 callbacks_->OnPlayingStatusChanged(device, playingState, error); in OnPlayingStatusChanged()
|
H A D | bluetooth_a2dp_audio_src_observer_stub.cpp | 76 int playingState = data.ReadInt32(); in OnPlayingStatusChangedInner() local 79 OnPlayingStatusChanged(RawAddress(addr), playingState, error); in OnPlayingStatusChangedInner()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/ |
H A D | audio_bluetooth_manager.h | 30 …virtual void OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) = 0; 41 …virtual void OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int err… 69 static void OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState);
|
H A D | audio_bluetooth_manager.cpp | 248 …AudioA2dpManager::OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) in OnA2dpPlayingStateChanged() argument 252 listener->OnA2dpPlayingStateChanged(deviceAddress, playingState); in OnA2dpPlayingStateChanged() 338 …pListener::OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int error) in OnPlayingStatusChanged() argument 340 …AUDIO_INFO_LOG("OnPlayingStatusChanged, state: %{public}d, error: %{public}d", playingState, error… in OnPlayingStatusChanged() 342 AudioA2dpManager::OnA2dpPlayingStateChanged(device.GetDeviceAddr(), playingState); in OnPlayingStatusChanged()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_a2dp_src_observer_stub.cpp | 88 int playingState = data.ReadInt32(); in OnPlayingStatusChangedInner() local 91 stub->OnPlayingStatusChanged(RawAddress(addr), playingState, error); in OnPlayingStatusChangedInner()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_a2dp_src_observer_proxy.cpp | 53 …A2dpSrcObserverProxy::OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) in OnPlayingStatusChanged() argument 64 if (!data.WriteInt32(playingState)) { in OnPlayingStatusChanged()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_a2dp_source_server.cpp | 50 void OnPlayingStatusChaned(const RawAddress &device, int playingState, int error) override in OnPlayingStatusChaned() argument 53 GET_ENCRYPT_ADDR(device), playingState, error); in OnPlayingStatusChaned() 54 … observers_->ForEach([device, playingState, error](sptr<IBluetoothA2dpSourceObserver> observer) { in OnPlayingStatusChaned() 55 observer->OnPlayingStatusChanged(device, playingState, error); in OnPlayingStatusChaned()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_a2dp_src_observer.h | 40 virtual void OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) = 0;
|
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | bluetooth_a2dp_src_observer.h | 28 …void OnPlayingStatusChanged(const OHOS::bluetooth::RawAddress &device, int playingState, int error…
|
H A D | audio_bluetooth_manager.h | 36 void (*OnPlayingStatusChanged)(const RawAddress &device, int playingState, int error);
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/ |
H A D | bluetooth_a2dp_src_observer_proxy.h | 31 void OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) override;
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src.cpp | 238 napi_value playingState = nullptr; in PlayingStateInit() local 239 napi_create_object(env, &playingState); in PlayingStateInit() 240 …SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_NOT_PLAYING, "STATE_NOT_PLAYING"); in PlayingStateInit() 241 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit() 242 return playingState; in PlayingStateInit()
|
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_a2dp_src.cpp | 76 void OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) override in OnPlayingStatusChanged() argument 79 GetEncryptAddr(device.GetAddress()).c_str(), playingState, error); in OnPlayingStatusChanged() 80 …a2dpSource_.observers_.ForEach([device, playingState, error](std::shared_ptr<A2dpSourceObserver> o… in OnPlayingStatusChanged() 81 …server->OnPlayingStatusChanged(BluetoothRemoteDevice(device.GetAddress(), 0), playingState, error); in OnPlayingStatusChanged()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_a2dp_src.h | 98 virtual void OnPlayingStatusChaned(const RawAddress &device, int playingState, int error) {}; in OnPlayingStatusChaned() argument
|
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_a2dp_src.h | 60 …virtual void OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int err… in OnPlayingStatusChanged() argument
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service.h | 441 void ProcessPlayingFrameworkCallback(int playingState, int error, const RawAddress &device);
|
H A D | a2dp_service.cpp | 995 void A2dpService::ProcessPlayingFrameworkCallback(int playingState, int error, const RawAddress &de… in ProcessPlayingFrameworkCallback() argument 999 a2dpFramworkCallback_.ForEach([device, playingState, error](IA2dpObserver &observer) { in ProcessPlayingFrameworkCallback() 1000 observer.OnPlayingStatusChaned(device, playingState, error); in ProcessPlayingFrameworkCallback()
|
/ohos5.0/foundation/communication/nfc/services/include/ |
H A D | bt_connection_manager.h | 102 int playingState, int error) override {}; in OnPlayingStatusChanged() argument
|
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/a2dp/ |
H A D | a2dp_src_test.cpp | 37 …virtual void OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int err… in OnPlayingStatusChanged() argument
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/ |
H A D | audio_policy_service.h | 1277 void OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) override;
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 9079 …dpOffloadManager::OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) in OnA2dpPlayingStateChanged() argument 9083 GetEncryptAddr(deviceAddress).c_str(), currentOffloadConnectionState_, playingState); in OnA2dpPlayingStateChanged() 9085 …if (playingState == A2DP_STOPPED && currentOffloadConnectionState_ == CONNECTION_STATUS_CONNECTED)… in OnA2dpPlayingStateChanged() 9094 if (playingState == A2DP_PLAYING) { in OnA2dpPlayingStateChanged() 9106 } else if (playingState == A2DP_STOPPED) { in OnA2dpPlayingStateChanged() 9117 "received unexpected state:%{public}d", currentOffloadConnectionState_, playingState); in OnA2dpPlayingStateChanged()
|