Home
last modified time | relevance | path

Searched refs:playingState (Results 1 - 18 of 18) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_profile.cpp98 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 Daudio_bluetooth_manager.h30 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 Daudio_bluetooth_manager.cpp248 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 Dbluetooth_a2dp_src_observer_stub.cpp85 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 Dbluetooth_a2dp_src_observer_proxy.cpp53 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 Di_bluetooth_a2dp_src_observer.h40 virtual void OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) = 0;
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/
H A Dbluetooth_a2dp_src_observer_proxy.h31 void OnPlayingStatusChanged(const RawAddress &device, int playingState, int error) override;
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_a2dp_source_server.cpp50 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 Dinterface_profile_a2dp_src.h94 * @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 Dbluetooth_a2dp_src.h56 * @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 Dbluetooth_a2dp_src.cpp73 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 Dnapi_bluetooth_a2dp_src.cpp234 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 Da2dp_service.h436 * @param playingState The new playing state of the bluetooth device.
441 void ProcessPlayingFrameworkCallback(int playingState, int error, const RawAddress &device);
H A Da2dp_service.cpp980 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 Dbt_connection_manager.h102 int playingState, int error) override {};
/foundation/communication/bluetooth_service/test/unittest/a2dp/
H A Da2dp_src_test.cpp37 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 Daudio_policy_service.h1336 void OnA2dpPlayingStateChanged(const std::string &deviceAddress, int32_t playingState) override;
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp9956 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()

Completed in 30 milliseconds