/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_avrcp_tg.h | 37 virtual void NotifyPlaybackStatusChanged(int32_t playStatus, int32_t playbackPos) = 0; 38 virtual void NotifyTrackChanged(int64_t uid, int32_t playbackPos) = 0; 39 virtual void NotifyTrackReachedEnd(int32_t playbackPos) = 0; 40 virtual void NotifyTrackReachedStart(int32_t playbackPos) = 0; 41 virtual void NotifyPlaybackPosChanged(int32_t playbackPos) = 0;
|
H A D | i_bluetooth_avrcp_ct_observer.h | 67 virtual void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) = 0;
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_avrcp_tg.h | 178 * @param[in] playbackPos Current playback position in millisecond. 182 void NotifyPlaybackStatusChanged(uint8_t playStatus, uint32_t playbackPos); 188 * @param[in] playbackPos Current playback position in millisecond. 192 void NotifyTrackChanged(uint64_t uid, uint32_t playbackPos); 197 * @param[in] playbackPos Current playback position in millisecond. 201 void NotifyTrackReachedEnd(uint32_t playbackPos); 206 * @param[in] playbackPos Current playback position in millisecond. 210 void NotifyTrackReachedStart(uint32_t playbackPos); 215 * @param[in] playbackPos Current playback position in millisecond. 219 void NotifyPlaybackPosChanged(uint32_t playbackPos); [all...] |
H A D | bluetooth_avrcp_ct.h | 349 explicit Notification(uint32_t playbackPos) : playbackPos_(playbackPos) in Notification() argument
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_avrcp_tg_server.h | 42 void NotifyPlaybackStatusChanged(int32_t playStatus, int32_t playbackPos) override; 43 void NotifyTrackChanged(int64_t uid, int32_t playbackPos) override; 44 void NotifyTrackReachedEnd(int32_t playbackPos) override; 45 void NotifyTrackReachedStart(int32_t playbackPos) override; 46 void NotifyPlaybackPosChanged(int32_t playbackPos) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_avrcp_tg_proxy.h | 37 void NotifyPlaybackStatusChanged(int32_t playStatus, int32_t playbackPos) override; 38 void NotifyTrackChanged(int64_t uid, int32_t playbackPos) override; 39 void NotifyTrackReachedEnd(int32_t playbackPos) override; 40 void NotifyTrackReachedStart(int32_t playbackPos) override; 41 void NotifyPlaybackPosChanged(int32_t playbackPos) override;
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_avrcp_tg.cpp | 281 void AvrcpTarget::NotifyPlaybackStatusChanged(uint8_t playStatus, uint32_t playbackPos) in NotifyPlaybackStatusChanged() argument 283 HILOGI("enter, playStatus: %{public}d, playbackPos: %{public}d", playStatus, playbackPos); in NotifyPlaybackStatusChanged() 291 proxy->NotifyPlaybackStatusChanged(static_cast<int32_t>(playStatus), static_cast<int32_t>(playbackPos)); in NotifyPlaybackStatusChanged() 294 void AvrcpTarget::NotifyTrackChanged(uint64_t uid, uint32_t playbackPos) in NotifyTrackChanged() argument 296 HILOGI("enter, playbackPos: %{public}d", playbackPos); in NotifyTrackChanged() 305 proxy->NotifyTrackChanged(static_cast<int64_t>(uid), static_cast<int32_t>(playbackPos)); in NotifyTrackChanged() 308 void AvrcpTarget::NotifyTrackReachedEnd(uint32_t playbackPos) in NotifyTrackReachedEnd() argument 310 HILOGI("enter, playbackPos in NotifyTrackReachedEnd() 321 NotifyTrackReachedStart(uint32_t playbackPos) NotifyTrackReachedStart() argument 335 NotifyPlaybackPosChanged(uint32_t playbackPos) NotifyPlaybackPosChanged() argument [all...] |
H A D | bluetooth_avrcp_ct.cpp | 356 void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) override 358 HILOGI("enter, address: %{public}s, playbackPos: %{public}d, res: %{public}d", 359 GET_ENCRYPT_RAW_ADDR(rawAddr), playbackPos, result); 362 impl_->OnPlaybackPosChanged(device, static_cast<uint32_t>(playbackPos), static_cast<int>(result)); 793 void OnPlaybackPosChanged(const BluetoothRemoteDevice &device, uint32_t playbackPos, int result) in OnPlaybackPosChanged() 795 HILOGI("enter, device: %{public}s, playbackPos: %{public}d, res: %{public}d", in OnPlaybackPosChanged() 796 GET_ENCRYPT_ADDR(device), playbackPos, result); in OnPlaybackPosChanged() 799 observers_.ForEach([device, playbackPos, result](std::shared_ptr<IObserver> observer) { in OnPlaybackPosChanged() 801 resp.notify_ = std::make_unique<AvrcpCtResponse::Notification>(playbackPos); in OnPlaybackPosChanged()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_avrcp_tg_server.cpp | 313 void BluetoothAvrcpTgServer::NotifyPlaybackStatusChanged(int32_t playStatus, int32_t playbackPos) in NotifyPlaybackStatusChanged() argument 315 HILOGI("playStatus: %{public}d, playbackPos: %{public}d", playStatus, playbackPos); in NotifyPlaybackStatusChanged() 323 static_cast<uint32_t>(playbackPos)); in NotifyPlaybackStatusChanged() 327 void BluetoothAvrcpTgServer::NotifyTrackChanged(int64_t uid, int32_t playbackPos) in NotifyTrackChanged() argument 329 HILOGI("uid: %{public}jd, playbackPos: %{public}d", uid, playbackPos); in NotifyTrackChanged() 336 pimpl->service_->NotifyTrackChanged(static_cast<uint64_t>(uid), static_cast<uint32_t>(playbackPos)); in NotifyTrackChanged() 340 void BluetoothAvrcpTgServer::NotifyTrackReachedEnd(int32_t playbackPos) in NotifyTrackReachedEnd() argument 342 HILOGI("playbackPos in NotifyTrackReachedEnd() 353 NotifyTrackReachedStart(int32_t playbackPos) NotifyTrackReachedStart() argument 366 NotifyPlaybackPosChanged(int32_t playbackPos) NotifyPlaybackPosChanged() argument [all...] |
H A D | bluetooth_avrcp_ct_server.cpp | 199 void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) override 201 impl_->OnPlaybackPosChanged(rawAddr, playbackPos, result); 652 void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) in OnPlaybackPosChanged() 654 HILOGI("addr: %{public}s, playbackPos: %{public}u, res: %{public}d", in OnPlaybackPosChanged() 655 GET_ENCRYPT_RAW_ADDR(rawAddr), playbackPos, result); in OnPlaybackPosChanged() 659 observers_.ForEach([rawAddr, playbackPos, result](IBluetoothAvrcpCtObserver *observer) { in OnPlaybackPosChanged() 661 playbackPos, in OnPlaybackPosChanged()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_avrcp_tg_proxy.cpp | 225 void BluetoothAvrcpTgProxy::NotifyPlaybackStatusChanged(int32_t playStatus, int32_t playbackPos) in NotifyPlaybackStatusChanged() argument 237 if (!data.WriteInt32(playbackPos)) { in NotifyPlaybackStatusChanged() 238 HILOGE("BluetoothAvrcpTgProxy::NotifyPlaybackStatusChanged playbackPos error"); in NotifyPlaybackStatusChanged() 253 void BluetoothAvrcpTgProxy::NotifyTrackChanged(int64_t uid, int32_t playbackPos) in NotifyTrackChanged() argument 265 if (!data.WriteInt32(playbackPos)) { in NotifyTrackChanged() 266 HILOGE("BluetoothAvrcpTgProxy::NotifyTrackChanged playbackPos error"); in NotifyTrackChanged() 280 void BluetoothAvrcpTgProxy::NotifyTrackReachedEnd(int32_t playbackPos) in NotifyTrackReachedEnd() argument 288 if (!data.WriteInt32(playbackPos)) { in NotifyTrackReachedEnd() 289 HILOGE("BluetoothAvrcpTgProxy::NotifyTrackReachedEnd playbackPos error"); in NotifyTrackReachedEnd() 304 void BluetoothAvrcpTgProxy::NotifyTrackReachedStart(int32_t playbackPos) in NotifyTrackReachedStart() argument 328 NotifyPlaybackPosChanged(int32_t playbackPos) NotifyPlaybackPosChanged() argument [all...] |
H A D | bluetooth_avrcp_ct_observer_stub.cpp | 516 uint32_t playbackPos = data.ReadUint32(); in OnPlaybackPosChangedInner() local 519 stub->OnPlaybackPosChanged(RawAddress(addr), playbackPos, result); in OnPlaybackPosChangedInner() local
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_avrcp_tg_stub.cpp | 229 int32_t playbackPos = data.ReadInt32(); in NotifyPlaybackStatusChangedInner() local 231 NotifyPlaybackStatusChanged(playStatus, playbackPos); in NotifyPlaybackStatusChangedInner() 239 int32_t playbackPos = data.ReadInt32(); in NotifyTrackChangedInner() local 241 NotifyTrackChanged(uid, playbackPos); in NotifyTrackChangedInner() 248 int32_t playbackPos = data.ReadInt32(); in NotifyTrackReachedEndInner() local 250 NotifyTrackReachedEnd(playbackPos); in NotifyTrackReachedEndInner() 257 int32_t playbackPos = data.ReadInt32(); in NotifyTrackReachedStartInner() local 259 NotifyTrackReachedStart(playbackPos); in NotifyTrackReachedStartInner() 266 int32_t playbackPos = data.ReadInt32(); in NotifyPlaybackPosChangedInner() local 268 NotifyPlaybackPosChanged(playbackPos); in NotifyPlaybackPosChangedInner() [all...] |
H A D | bluetooth_avrcp_ct_observer_proxy.cpp | 810 void BluetoothAvrcpCtObserverProxy::OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) in OnPlaybackPosChanged() argument 823 if (!data.WriteUint32(playbackPos)) { in OnPlaybackPosChanged()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_avrcp_tg.h | 492 * @param[in] playbackPos Current playback position in millisecond. 498 uint8_t playStatus, uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) = 0; 504 * @param[in] playbackPos Current playback position in millisecond. 509 virtual void NotifyTrackChanged(uint64_t uid, uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) = 0; 514 * @param[in] playbackPos Current playback position in millisecond. 519 virtual void NotifyTrackReachedEnd(uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) = 0; 524 * @param[in] playbackPos Current playback position in millisecond. 529 virtual void NotifyTrackReachedStart(uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) = 0; 534 * @param[in] playbackPos Current playback position in millisecond. 539 virtual void NotifyPlaybackPosChanged(uint32_t playbackPos, uint8_ [all...] |
H A D | interface_profile_avrcp_ct.h | 499 * @param[in] playbackPos Current playback position in millisecond. 503 virtual void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_service.cpp | 2245 void AvrcpTgService::NotifyPlaybackStatusChanged(uint8_t playStatus, uint32_t playbackPos, uint8_t label) in GetPlayStatus() argument 2247 HILOGI("playStatus:%{public}d, playbackPos:%{public}u, label:%{public}d", playStatus, playbackPos, label); in GetPlayStatus() 2255 std::bind(&AvrcpTgService::NotifyPlaybackStatusChangedNative, this, playStatus, playbackPos, label)); in GetPlayStatus() 2258 void AvrcpTgService::NotifyPlaybackStatusChangedNative(uint8_t playStatus, uint32_t playbackPos, uint8_t label) in GetPlayStatus() argument 2260 HILOGI("playStatus:%{public}d, playbackPos:%{public}u, label:%{public}d", playStatus, playbackPos, label); in GetPlayStatus() 2268 profile_->SendPlaybackPosChangedRsp(false, playbackPos, label, BT_SUCCESS); in GetPlayStatus() 2272 void AvrcpTgService::NotifyTrackChanged(uint64_t uid, uint32_t playbackPos, uint8_t label) in GetPlayStatus() argument 2274 HILOGI("uid:%{public}llu, playbackPos in GetPlayStatus() 2286 NotifyTrackChangedNative(uint64_t uid, uint32_t playbackPos, uint8_t label) GetPlayStatus() argument 2300 NotifyTrackReachedEnd(uint32_t playbackPos, uint8_t label) GetPlayStatus() argument 2313 NotifyTrackReachedEndNative(uint32_t playbackPos, uint8_t label) GetPlayStatus() argument 2327 NotifyTrackReachedStart(uint32_t playbackPos, uint8_t label) GetPlayStatus() argument 2340 NotifyTrackReachedStartNative(uint32_t playbackPos, uint8_t label) GetPlayStatus() argument 2354 NotifyPlaybackPosChanged(uint32_t playbackPos, uint8_t label) GetPlayStatus() argument 2367 NotifyPlaybackPosChangedNative(uint32_t playbackPos, uint8_t label) GetPlayStatus() argument [all...] |
H A D | avrcp_tg_service.h | 851 * @param[in] playbackPos Current playback position in millisecond. 855 uint8_t playStatus, uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) override; 861 * @param[in] playbackPos Current playback position in millisecond. 864 void NotifyTrackChanged(uint64_t uid, uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) override; 869 * @param[in] playbackPos Current playback position in millisecond. 872 void NotifyTrackReachedEnd(uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) override; 877 * @param[in] playbackPos Current playback position in millisecond. 880 void NotifyTrackReachedStart(uint32_t playbackPos, uint8_t label = AVRC_DEFAULT_LABEL) override; 885 * @param[in] playbackPos Current playback position in millisecond. 888 void NotifyPlaybackPosChanged(uint32_t playbackPos, uint8_ [all...] |
H A D | avrcp_tg_notification.h | 164 * @param[in] playbackPos Current playback position in millisecond. 166 void InitPlaybackPosChanged(uint32_t playbackPos) in InitPlaybackPosChanged() argument 168 playbackPos_ = playbackPos; in InitPlaybackPosChanged()
|
H A D | avrcp_tg_profile.h | 785 * @param[in] playbackPos Current playback position in millisecond. 788 void SendPlaybackPosChangedRsp(bool isInterim, uint32_t playbackPos, uint8_t label, int result);
|
H A D | avrcp_tg_profile.cpp | 1177 void AvrcTgProfile::SendPlaybackPosChangedRsp(bool isInterim, uint32_t playbackPos, uint8_t label, int result) in SendPlaybackPosChangedRsp() argument 1179 HILOGI("isInterim:%{public}d, playbackPos:%{public}u, label:%{public}d, result:%{public}d", in SendPlaybackPosChangedRsp() 1180 isInterim, playbackPos, label, result); in SendPlaybackPosChangedRsp() 1195 notifyPkt->InitPlaybackPosChanged(playbackPos); in SendPlaybackPosChangedRsp()
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/ |
H A D | bluetooth_avrcp_ct_observer_proxy.h | 65 void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) override;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_profile.h | 439 * @param[in] playbackPos Current playback position in millisecond. 444 std::function<void(const RawAddress &rawAddr, uint32_t playbackPos, int result)> onPlaybackPosChanged;
|
H A D | avrcp_ct_service.h | 1449 * @param[in] playbackPos Current playback position in millisecond. 1454 void OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) const;
|
H A D | avrcp_ct_service.cpp | 2076 void AvrcpCtService::OnPlaybackPosChanged(const RawAddress &rawAddr, uint32_t playbackPos, int result) const in OnPlaybackPosChanged() argument 2078 HILOGI("addr: %{public}s, playbackPos: %{public}d, result: %{public}d", in OnPlaybackPosChanged() 2079 GET_ENCRYPT_AVRCP_ADDR(rawAddr), playbackPos, result); in OnPlaybackPosChanged() 2082 myObserver_->OnPlaybackPosChanged(rawAddr, playbackPos, result); in OnPlaybackPosChanged()
|