/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_bluetooth_profile.cpp | 98 napi_value playingState = nullptr; in PlayingStateInit() local 99 napi_create_object(env, &playingState); in PlayingStateInit() 100 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_NOT_PLAYING, "STATE_NOT_PLAYING"); in PlayingStateInit() 101 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit() 102 return playingState; in PlayingStateInit()
|
/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 error); 69 static void OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState);
|
H A D | audio_bluetooth_manager.cpp | 248 void AudioA2dpManager::OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) in OnA2dpPlayingStateChanged() argument 252 listener->OnA2dpPlayingStateChanged(deviceAddress, playingState); in OnA2dpPlayingStateChanged() 336 void AudioA2dpListener::OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int error) in OnPlayingStatusChanged() argument 338 AUDIO_INFO_LOG("OnPlayingStatusChanged, state: %{public}d, error: %{public}d", playingState, error); in OnPlayingStatusChanged() 340 AudioA2dpManager::OnA2dpPlayingStateChanged(device.GetDeviceAddr(), playingState); in OnPlayingStatusChanged()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_a2dp_src_observer_stub.cpp | 85 int playingState = data.ReadInt32(); in OnPlayingStatusChangedInner() local 88 stub->OnPlayingStatusChanged(RawAddress(addr), playingState, error); in OnPlayingStatusChangedInner() local
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_a2dp_src_observer_proxy.cpp | 53 void BluetoothA2dpSrcObserverProxy::OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) in OnPlayingStatusChanged() argument 64 if (!data.WriteInt32(playingState)) { in OnPlayingStatusChanged() 65 HILOGE("BluetoothA2dpSrcObserverProxy::OnPlayingStatusChanged playingState error"); in OnPlayingStatusChanged()
|
/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;
|
/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;
|
/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 53 GET_ENCRYPT_ADDR(device), playingState, error); 54 observers_->ForEach([device, playingState, error](sptr<IBluetoothA2dpSourceObserver> observer) { 55 observer->OnPlayingStatusChanged(device, playingState, error);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_a2dp_src.h | 94 * @param playingState the playing state after changing. 98 virtual void OnPlayingStatusChaned(const RawAddress &device, int playingState, int error) {}; in OnPlayingStatusChaned() argument
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_a2dp_src.h | 56 * @param playingState the playing state after changing. 60 virtual void OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int error) in OnPlayingStatusChanged() argument
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_a2dp_src.cpp | 73 void OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) override 75 HILOGI("device: %{public}s, playingState: %{public}d, error: %{public}d", 76 GetEncryptAddr(device.GetAddress()).c_str(), playingState, error); 77 a2dpSource_.observers_.ForEach([device, playingState, error](std::shared_ptr<A2dpSourceObserver> observer) { 78 observer->OnPlayingStatusChanged(BluetoothRemoteDevice(device.GetAddress(), 0), playingState, error);
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src.cpp | 234 napi_value playingState = nullptr; in PlayingStateInit() local 235 napi_create_object(env, &playingState); in PlayingStateInit() 236 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_NOT_PLAYING, "STATE_NOT_PLAYING"); in PlayingStateInit() 237 SetNamedPropertyByInteger(env, playingState, PlayingState::STATE_PLAYING, "STATE_PLAYING"); in PlayingStateInit() 238 return playingState; in PlayingStateInit()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service.h | 436 * @param playingState The new playing state of the bluetooth device. 441 void ProcessPlayingFrameworkCallback(int playingState, int error, const RawAddress &device);
|
H A D | a2dp_service.cpp | 980 void A2dpService::ProcessPlayingFrameworkCallback(int playingState, int error, const RawAddress &device) in ProcessPlayingFrameworkCallback() argument 984 a2dpFramworkCallback_.ForEach([device, playingState, error](IA2dpObserver &observer) { in ProcessPlayingFrameworkCallback() 985 observer.OnPlayingStatusChaned(device, playingState, error); in ProcessPlayingFrameworkCallback()
|
/foundation/communication/nfc/services/include/ |
H A D | bt_connection_manager.h | 102 int playingState, int error) override {};
|
/foundation/communication/bluetooth_service/test/unittest/a2dp/ |
H A D | a2dp_src_test.cpp | 37 virtual void OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int error){} in OnPlayingStatusChanged() argument
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/ |
H A D | audio_policy_service.h | 1336 void OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) override;
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 9956 void AudioA2dpOffloadManager::OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) in OnA2dpPlayingStateChanged() argument 9960 GetEncryptAddr(deviceAddress).c_str(), currentOffloadConnectionState_, playingState); in OnA2dpPlayingStateChanged() 9962 if (playingState == A2DP_STOPPED && currentOffloadConnectionState_ == CONNECTION_STATUS_CONNECTED) { in OnA2dpPlayingStateChanged() 9971 if (playingState == A2DP_PLAYING) { in OnA2dpPlayingStateChanged() 9983 } else if (playingState == A2DP_STOPPED) { in OnA2dpPlayingStateChanged() 9994 "received unexpected state:%{public}d", currentOffloadConnectionState_, playingState); in OnA2dpPlayingStateChanged()
|