/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_service.cpp | 61 void AvrcpTgService::ObserverImpl::OnSetBrowsedPlayer(const std::string &addr, uint16_t uidCounter, uint32_t numOfItems, in OnSetBrowsedPlayer() argument 64 HILOGI("addr: %{public}s, uidCounter: %{public}d, numOfItems: %{public}u, label: %{public}d, status: %{public}d", in OnSetBrowsedPlayer() 65 GetEncryptAddr(addr).c_str(), uidCounter, numOfItems, label, status); in OnSetBrowsedPlayer() 70 service->OnSetBrowsedPlayer(rawAddr, uidCounter, numOfItems, folderNames, label, status); in OnSetBrowsedPlayer() 202 void AvrcpTgService::ObserverImpl::OnGetMediaPlayers(const std::string &addr, uint16_t uidCounter, in OnGetMediaPlayers() argument 205 HILOGI("addr: %{public}s, uidCounter: %{public}d, label: %{public}d, status: %{public}d", in OnGetMediaPlayers() 206 GetEncryptAddr(addr).c_str(), uidCounter, label, status); in OnGetMediaPlayers() 222 service->OnGetMediaPlayers(rawAddr, uidCounter, mpItems, label, status); in OnGetMediaPlayers() 226 void AvrcpTgService::ObserverImpl::OnGetFolderItems(const std::string &addr, uint16_t uidCounter, in OnGetFolderItems() argument 229 HILOGI("addr: %{public}s, uidCounter in OnGetFolderItems() 256 OnGetTotalNumberOfItems( const std::string &addr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) OnGetTotalNumberOfItems() argument 292 OnGetAddressedPlayer( const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) OnGetAddressedPlayer() argument 305 OnGetUidCounter(const std::string &addr, uint16_t uidCounter, uint8_t label) OnGetUidCounter() argument 1066 SetAddressedPlayer( const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label) const SetAddressedPlayer() argument 1114 SetBrowsedPlayer(const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label) const SetBrowsedPlayer() argument 1127 OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, const std::vector<std::string> &folderNames, uint8_t label, int status) OnSetBrowsedPlayer() argument 1153 OnSetBrowsedPlayerNative(RawAddress rawAddr, uint16_t uidCounter, uint32_t numOfItems, std::vector<std::string> folderNames, uint8_t label, int status) OnSetBrowsedPlayerNative() argument 1664 PlayItem( const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) const GetPlayStatus() argument 1708 AddToNowPlaying( const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) const GetPlayStatus() argument 1759 ChangePath( const RawAddress &rawAddr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid, uint8_t label) const GetPlayStatus() argument 1826 OnGetMediaPlayers( const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMpItem> &items, uint8_t label, int status) GetPlayStatus() argument 1846 OnGetMediaPlayersNative( RawAddress rawAddr, uint16_t uidCounter, std::vector<AvrcMpItem> items, uint8_t label, int status) GetPlayStatus() argument 1864 OnGetFolderItems( const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMeItem> &items, uint8_t label, int status) GetPlayStatus() argument 1884 OnGetFolderItemsNative( RawAddress rawAddr, uint16_t uidCounter, std::vector<AvrcMeItem> items, uint8_t label, int status) GetPlayStatus() argument 1902 GetItemAttributes(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, std::vector<uint32_t> attributes, uint8_t label) const GetPlayStatus() argument 1961 OnGetTotalNumberOfItems( const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) GetPlayStatus() argument 1982 OnGetTotalNumberOfItemsNative( RawAddress rawAddr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) GetPlayStatus() argument 2108 OnGetAddressedPlayer( const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2129 OnGetAddressedPlayerNative( RawAddress rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2157 OnGetUidCounter(const RawAddress &rawAddr, uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2176 OnGetUidCounterNative(const RawAddress &rawAddr, uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2459 NotifyAddressedPlayerChanged(uint16_t playerId, uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2473 NotifyAddressedPlayerChangedNative(uint16_t playerId, uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2494 NotifyUidChanged(uint16_t uidCounter, uint8_t label) GetPlayStatus() argument 2507 NotifyUidChangedNative(uint16_t uidCounter, uint8_t label) GetPlayStatus() argument [all...] |
H A D | avrcp_tg_service.h | 90 * @param[in] uidCounter The value of the uid counter. 104 void OnSetBrowsedPlayer(const std::string &addr, uint16_t uidCounter, uint32_t numOfItems, 255 * @param[in] uidCounter The value of the uid counter. 266 void OnGetMediaPlayers(const std::string &addr, uint16_t uidCounter, 273 * @param[in] uidCounter The value of the uid counter. 284 void OnGetFolderItems(const std::string &addr, uint16_t uidCounter, 309 * @param[in] uidCounter The value of the uid counter. 319 const std::string &addr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) override; 333 const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) override; 335 void OnGetUidCounter(const std::string &addr, uint16_t uidCounter, uint8_ [all...] |
H A D | avrcp_tg_notification.h | 187 * @param[in] uidCounter The uid counter. 189 void InitAddressedPlayerChanged(uint16_t playerId, uint16_t uidCounter) in InitAddressedPlayerChanged() argument 192 uidCounter_ = uidCounter; in InitAddressedPlayerChanged() 198 * @param[in] uidCounter The uid counter. 200 void InitUidsChanged(uint16_t uidCounter) in InitUidsChanged() argument 202 uidCounter_ = uidCounter; in InitUidsChanged()
|
H A D | avrcp_tg_browse.cpp | 108 AvrcTgSbpPacket::AvrcTgSbpPacket(uint16_t mtu, uint8_t status, uint16_t uidCounter, uint32_t numOfItems, in AvrcTgSbpPacket() argument 119 uidCounter_ = uidCounter; in AvrcTgSbpPacket() 241 AvrcTgCpPacket::AvrcTgCpPacket(Packet *pkt, uint32_t uidCounter, uint8_t label) in AvrcTgCpPacket() argument 244 HILOGI("uidCounter: %{public}u, label: %{public}d", uidCounter, label); in AvrcTgCpPacket() 248 uidCounter_ = uidCounter; in AvrcTgCpPacket() 302 uint32_t uidCounter = static_cast<uint16_t>(payload); in DisassemblePacket() local 303 HILOGI("uidCounter: %{public}u", uidCounter); in DisassemblePacket() 305 if (uidCounter ! in DisassemblePacket() 335 AvrcTgGfiPacket( uint16_t mtu, uint8_t status, uint32_t uidCounter, const std::vector<AvrcMpItem> &items, uint8_t label) AvrcTgGfiPacket() argument 352 AvrcTgGfiPacket( uint16_t mtu, uint8_t status, uint32_t uidCounter, const std::vector<AvrcMeItem> &items, uint8_t label) AvrcTgGfiPacket() argument 766 AvrcTgGiaPacket(Packet *pkt, uint32_t uidCounter, uint8_t label) AvrcTgGiaPacket() argument 880 uint32_t uidCounter = static_cast<uint16_t>(payload); DisassemblePacket() local 933 AvrcTgGtnoiPacket(uint8_t status, uint16_t uidCounter, uint32_t numOfItems, uint8_t label) AvrcTgGtnoiPacket() argument [all...] |
H A D | avrcp_tg_connection.cpp | 26 uint16_t browseMtu, uint32_t companyId, uint16_t uidCounter, AvctChannelEventCallback eventCallback, in AvrcTgConnectInfo() 35 uidCounter_(uidCounter), in AvrcTgConnectInfo() 39 "uidCounter:%{public}d", connectId, role, controlMtu, browseMtu, companyId, uidCounter); in AvrcTgConnectInfo() 93 uint16_t browseMtu, uint32_t companyId, uint16_t uidCounter, AvctChannelEventCallback eventCallback, in Add() 97 "companyId:%{public}u, uidCounter:%{public}d", GET_ENCRYPT_AVRCP_ADDR(rawAddr), connectId, role, controlMtu, in Add() 98 browseMtu, companyId, uidCounter); in Add() 112 uidCounter, in Add() 393 uint16_t uidCounter = 0x00; in GetUidCounter() local 397 uidCounter in GetUidCounter() 25 AvrcTgConnectInfo(const std::string &btAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, uint16_t browseMtu, uint32_t companyId, uint16_t uidCounter, AvctChannelEventCallback eventCallback, AvctMsgCallback msgCallback) AvrcTgConnectInfo() argument 92 Add(const RawAddress &rawAddr, uint8_t connectId, uint8_t role, uint16_t controlMtu, uint16_t browseMtu, uint32_t companyId, uint16_t uidCounter, AvctChannelEventCallback eventCallback, AvctMsgCallback msgCallback) Add() argument 405 SetUidCounter(const RawAddress &rawAddr, uint16_t uidCounter) SetUidCounter() argument [all...] |
H A D | avrcp_tg_profile.h | 189 * @param[in] uidCounter The value of the uid counter. 192 std::function<void(const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label)> 200 * @param[in] uidCounter The value of the uid counter. 203 std::function<void(const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label)> 210 * @param[in] uidCounter The value of the uid counter. 217 const RawAddress &rawAddr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid, uint8_t label)> 246 * @param[in] uidCounter The UID Counter. 250 std::function<void(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, 271 * @param[in] uidCounter The UID Counter. 274 std::function<void(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_ [all...] |
H A D | avrcp_tg_browse.h | 171 * @details You can use this constructor when wants to initialize the attributes [mtu], [status], [uidCounter], 174 AvrcTgSbpPacket(uint16_t mtu, uint8_t status, uint16_t uidCounter, uint32_t numOfItems, 284 AvrcTgCpPacket(Packet *pkt, uint32_t uidCounter, uint8_t label); 407 * @details You can use this constructor when wants to initialize the attributes [mtu], [status], [uidCounter], 411 uint16_t mtu, uint8_t status, uint32_t uidCounter, const std::vector<AvrcMpItem> &items, uint8_t label); 416 * @details You can use this constructor when wants to initialize the attributes [mtu], [status], [uidCounter], 420 uint16_t mtu, uint8_t status, uint32_t uidCounter, const std::vector<AvrcMeItem> &items, uint8_t label); 625 * @details You can use this constructor when wants to initialize the attributes [uidCounter], [status], 636 AvrcTgGiaPacket(Packet *pkt, uint32_t uidCounter, uint8_t label); 765 * @details You can use this constructor when wants to initialize the attributes [uidCounter], [statu [all...] |
H A D | avrcp_tg_profile.cpp | 1298 bool isInterim, uint16_t playerId, uint16_t uidCounter, uint8_t label, int result) in SendAddressedPlayerChangedRsp() 1300 HILOGI("isInterim:%{public}d, playerId:%{public}d, uidCounter:%{public}d, label:%{public}d, result:%{public}d", in SendAddressedPlayerChangedRsp() 1301 isInterim, playerId, uidCounter, label, result); in SendAddressedPlayerChangedRsp() 1316 notifyPkt->InitAddressedPlayerChanged(playerId, uidCounter); in SendAddressedPlayerChangedRsp() 1329 void AvrcTgProfile::SendUidsChangedRsp(bool isInterim, uint16_t uidCounter, uint8_t label, int result) in SendUidsChangedRsp() argument 1331 HILOGI("isInterim:%{public}d, uidCounter:%{public}d, label:%{public}d, result:%{public}d", in SendUidsChangedRsp() 1332 isInterim, uidCounter, label, result); in SendUidsChangedRsp() 1346 notifyPkt->InitUidsChanged(uidCounter); in SendUidsChangedRsp() 1554 void AvrcTgProfile::SendSetBrowsedPlayerRsp(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, in SendSetBrowsedPlayerRsp() argument 1557 HILOGI("rawAddr:%{public}s, uidCounter in SendSetBrowsedPlayerRsp() 1297 SendAddressedPlayerChangedRsp( bool isInterim, uint16_t playerId, uint16_t uidCounter, uint8_t label, int result) SendAddressedPlayerChangedRsp() argument 1576 uint16_t uidCounter = cnManager->GetUidCounter(rawAddr); ReceiveSetBrowsedPlayerCmd() local 1602 uint16_t uidCounter = cnManager->GetUidCounter(rawAddr); ReceiveChangePathCmd() local 1613 SendGetFolderItemsRsp( const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMpItem> &items, uint8_t label, int status) SendGetFolderItemsRsp() argument 1630 SendGetFolderItemsRsp( const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMeItem> &items, uint8_t label, int status) SendGetFolderItemsRsp() argument 1680 uint16_t uidCounter = cnManager->GetUidCounter(rawAddr); ReceiveGetItemAttributesCmd() local 1693 SendGetTotalNumberOfItemsRsp( const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) SendGetTotalNumberOfItemsRsp() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_avrcp_tg.h | 179 * @param[in] uidCounter The value of the uid counter. 195 virtual void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 382 * @param[in] uidCounter The value of the uid counter. 395 virtual void OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMpItem> &items, 403 * @param[in] uidCounter The value of the uid counter. 416 virtual void OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMeItem> &items, 445 * @param[in] uidCounter The value of the uid counter. 457 const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) = 0; 482 const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, uint8_t label) = 0; 484 virtual void OnGetUidCounter(const RawAddress &rawAddr, uint16_t uidCounter, uint8_ [all...] |
H A D | interface_profile_avrcp_ct.h | 123 * @param[in] uidCounter The value of the uid counter. 142 virtual void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 357 * @param[in] uidCounter The value of the uid counter. 373 virtual void OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, 380 * @param[in] uidCounter The value of the uid counter. 396 virtual void OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, 426 * @param[in] uidCounter The value of the uid counter. 441 const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail) = 0; 540 * @param[in] uidCounter The UID counter shall be incremented every time the TG makes an update. 545 const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, in [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_avrcp_ct_observer.h | 38 virtual void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, 58 virtual void OnGetTotalNumberOfItems(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 73 const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) = 0; 74 virtual void OnUidChanged(const RawAddress &rawAddr, uint16_t uidCounter, int result) = 0; 76 virtual void OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, 78 virtual void OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter,
|
H A D | i_bluetooth_avrcp_tg.h | 46 virtual void NotifyAddressedPlayerChanged(int32_t playerId, int32_t uidCounter) = 0; 47 virtual void NotifyUidChanged(int32_t uidCounter) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/ |
H A D | bluetooth_avrcp_ct_observer_proxy.h | 34 void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, 55 void OnGetTotalNumberOfItems(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 71 const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) override; 72 void OnUidChanged(const RawAddress &rawAddr, uint16_t uidCounter, int result) override; 74 void OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, 76 void OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMeItem> &items,
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_avrcp_ct.h | 231 MediaItems(uint16_t uidCounter, const std::vector<MediaItem> &mediaItems) in MediaItems() argument 232 : uidCounter_(uidCounter), mediaItems_(mediaItems) in MediaItems() 268 MediaPlayers(uint16_t uidCounter, const std::vector<MediaPlayer> &mediaPlayers) in MediaPlayers() argument 269 : uidCounter_(uidCounter), mediaPlayers_(mediaPlayers) in MediaPlayers() 309 TotalNumberOfItems(uint16_t uidCounter, uint32_t numOfItems) in TotalNumberOfItems() argument 310 : uidCounter_(uidCounter), numOfItems_(numOfItems) in TotalNumberOfItems() 354 Notification(uint16_t playerId, uint16_t uidCounter) : playerId_(playerId), uidCounter_(uidCounter) in Notification() argument 356 explicit Notification(uint16_t uidCounter) : uidCounter_(uidCounter) in Notification() argument [all...] |
H A D | bluetooth_avrcp_tg.h | 246 * @param[in] uidCounter The UID counter shall be incremented every time the TG makes an update. 250 void NotifyAddressedPlayerChanged(uint16_t playerId, uint16_t uidCounter); 255 * @param[in] uidCounter The UID counter shall be incremented every time the TG makes an update. 259 void NotifyUidChanged(uint16_t uidCounter);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_service.h | 429 * @param[in] uidCounter The UID counter shall be incremented every time the TG makes an update. 435 int PlayItem(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) override; 444 * @param[in] uidCounter The UID Counter. 450 int AddToNowPlaying(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) override; 491 * @param[in] uidCounter The value of the uid counter. 500 int ChangePath(const RawAddress &rawAddr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid) override; 530 * @param[in] uidCounter The UID Counter. 537 int GetItemAttributes(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, 884 * @param[in] uidCounter The value of the uid counter. 901 void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_ [all...] |
H A D | avrcp_ct_service.cpp | 831 void AvrcpCtService::OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, in OnSetBrowsedPlayer() argument 834 HILOGI("addr: %{public}s, uidCounter: %{public}hu, numOfItems: %{public}d, folderNames.size: %{public}zu, " in OnSetBrowsedPlayer() 835 "result: %{public}d, detail: %{public}d", GET_ENCRYPT_AVRCP_ADDR(rawAddr), uidCounter, numOfItems, in OnSetBrowsedPlayer() 839 myObserver_->OnSetBrowsedPlayer(rawAddr, uidCounter, numOfItems, folderNames, result, detail); in OnSetBrowsedPlayer() 1413 int AvrcpCtService::PlayItem(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) in PlayItem() argument 1415 HILOGI("address: %{public}s, scope: %{public}d, uid: %{public}llu, uidCounter: %{public}d", in PlayItem() 1416 GET_ENCRYPT_AVRCP_ADDR(rawAddr), scope, static_cast<unsigned long long>(uid), uidCounter); in PlayItem() 1434 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::PlayItemNative, this, peerAddr, scope, uid, uidCounter)); in PlayItem() 1441 void AvrcpCtService::PlayItemNative(RawAddress rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) in PlayItemNative() argument 1443 HILOGI("address: %{public}s, scope: %{public}d, uid: %{public}llu, uidCounter in PlayItemNative() 1470 AddToNowPlaying(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) AddToNowPlaying() argument 1498 AddToNowPlayingNative(RawAddress rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter) AddToNowPlayingNative() argument 1622 ChangePath(const RawAddress &rawAddr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid) ChangePath() argument 1653 ChangePathNative(RawAddress rawAddr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid) ChangePathNative() argument 1733 OnGetFolderItems(const RawAddress &rawAddr, uint8_t scope, uint16_t uidCounter, const std::vector<AvrcMpItem> &mpItems, const std::vector<AvrcMeItem> &meItems, int result, int detail) const OnGetFolderItems() argument 1750 GetItemAttributes(const RawAddress &rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes) GetItemAttributes() argument 1783 GetItemAttributesNative( RawAddress rawAddr, uint8_t scope, uint64_t uid, uint16_t uidCounter, std::vector<uint32_t> attributes) GetItemAttributesNative() argument 1861 OnGetTotalNumberOfItems( const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail) const OnGetTotalNumberOfItems() argument 2123 OnAddressedPlayerChanged( const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) const OnAddressedPlayerChanged() argument 2136 OnUidChanged(const RawAddress &rawAddr, uint16_t uidCounter, int result) const OnUidChanged() argument [all...] |
H A D | avrcp_ct_profile.h | 227 * @param[in] uidCounter The value of the uid counter. 244 std::function<void(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 274 * @param[in] uidCounter The UID Counter. 289 std::function<void(const RawAddress &rawAddr, uint8_t scope, uint16_t uidCounter, 319 * @param[in] uidCounter The value of the uid counter. 331 std::function<void(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail)> 485 * @param[in] uidCounter The UID counter shall be incremented every time the TG makes an update. 490 std::function<void(const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result)> 497 * @param[in] uidCounter The UID counter shall be incremented every time the TG makes an update. 502 std::function<void(const RawAddress &rawAddr, uint16_t uidCounter, in [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_avrcp_ct.cpp | 87 void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, 96 static_cast<uint16_t>(uidCounter), 227 void OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, 230 HILOGI("enter, address: %{public}s, uidCounter: %{public}d, res: %{public}d, detail: %{public}d", 231 GET_ENCRYPT_RAW_ADDR(rawAddr), uidCounter, result, detail); 248 device, static_cast<uint32_t>(uidCounter), myItems, static_cast<int>(result), static_cast<int>(detail)); 253 void OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMeItem> &items, 270 device, static_cast<uint32_t>(uidCounter), myItems, static_cast<int>(result), static_cast<int>(detail)); 288 void OnGetTotalNumberOfItems(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 291 HILOGI("address: %{public}s, uidCounter 1429 PlayItem(const BluetoothRemoteDevice &device, uint64_t uid, uint16_t uidCounter) PlayItem() argument 1626 ChangePath( const BluetoothRemoteDevice &device, uint16_t uidCounter, uint16_t direction, uint64_t folderUid) ChangePath() argument 1643 GetItemAttributes( const BluetoothRemoteDevice &device, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes) GetItemAttributes() argument 1689 AddToNowPlaying(const BluetoothRemoteDevice &device, uint64_t uid, uint16_t uidCounter) AddToNowPlaying() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/ |
H A D | media_service.h | 77 virtual void OnSetBrowsedPlayer(const std::string &addr, uint16_t uidCounter, uint32_t numOfItems, 109 virtual void OnGetMediaPlayers(const std::string &addr, uint16_t uidCounter, 112 virtual void OnGetFolderItems(const std::string &addr, uint16_t uidCounter, 119 const std::string &addr, uint16_t uidCounter, uint32_t numOfItems, uint8_t label, int status) = 0; 126 const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) = 0; 128 virtual void OnGetUidCounter(const std::string &addr, uint16_t uidCounter, uint8_t label) = 0; 172 int SetAddressedPlayer(const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) in SetAddressedPlayer() argument 177 int SetBrowsedPlayer(const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) in SetBrowsedPlayer() argument 249 int PlayItem(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) in PlayItem() argument 254 int AddToNowPlaying(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_ in PlayItem() argument 263 ChangePath(const std::string &addr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid, uint8_t label) ChangePath() argument 274 GetItemAttributes(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes, uint8_t label) GetItemAttributes() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_avrcp_ct_server.cpp | 76 void OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, 79 impl_->OnSetBrowsedPlayer(rawAddr, uidCounter, numOfItems, folderNames, result, detail); 150 void OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMpItem> &items, 153 impl_->OnGetMediaPlayers(rawAddr, uidCounter, items, result, detail); 156 void OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, const std::vector<AvrcMeItem> &items, 159 impl_->OnGetFolderItems(rawAddr, uidCounter, items, result, detail); 169 const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail) override 171 impl_->OnGetTotalNumberOfItems(rawAddr, uidCounter, numOfItems, result, detail); 221 const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) override 223 impl_->OnAddressedPlayerChanged(rawAddr, playerId, uidCounter, resul 1140 PlayItem(const RawAddress &device, int32_t scope, int64_t uid, int32_t uidCounter) PlayItem() argument 1257 GetItemAttributes(const RawAddress &device, int64_t uid, int32_t uidCounter, const std::vector<int32_t> &attributes) GetItemAttributes() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_avrcp_ct_observer_proxy.cpp | 118 void BluetoothAvrcpCtObserverProxy::OnSetBrowsedPlayer(const RawAddress &rawAddr, uint16_t uidCounter, in OnSetBrowsedPlayer() argument 132 if (!data.WriteInt32(uidCounter)) { in OnSetBrowsedPlayer() 568 uint16_t uidCounter, uint32_t numOfItems, int result, int detail) in OnGetTotalNumberOfItems() 581 if (!data.WriteInt32(uidCounter)) { in OnGetTotalNumberOfItems() 591 if (!data.WriteInt32(uidCounter)) { in OnGetTotalNumberOfItems() 947 const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) in OnAddressedPlayerChanged() 965 if (!data.WriteInt32(uidCounter)) { in OnAddressedPlayerChanged() 985 void BluetoothAvrcpCtObserverProxy::OnUidChanged(const RawAddress &rawAddr, uint16_t uidCounter, int result) in OnUidChanged() argument 998 if (!data.WriteInt32(uidCounter)) { in OnUidChanged() 1051 void BluetoothAvrcpCtObserverProxy::OnGetMediaPlayers(const RawAddress &rawAddr, uint16_t uidCounter, in OnGetMediaPlayers() argument 567 OnGetTotalNumberOfItems(const RawAddress &rawAddr, uint16_t uidCounter, uint32_t numOfItems, int result, int detail) OnGetTotalNumberOfItems() argument 946 OnAddressedPlayerChanged( const RawAddress &rawAddr, uint16_t playerId, uint16_t uidCounter, int result) OnAddressedPlayerChanged() argument 1101 OnGetFolderItems(const RawAddress &rawAddr, uint16_t uidCounter, std::vector<BluetoothAvrcpMeItem> &items, int result, int detail) OnGetFolderItems() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_avrcp_tg_server.h | 51 void NotifyAddressedPlayerChanged(int32_t playerId, int32_t uidCounter) override; 52 void NotifyUidChanged(int32_t uidCounter) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_avrcp_tg_proxy.h | 46 void NotifyAddressedPlayerChanged(int32_t playerId, int32_t uidCounter) override; 47 void NotifyUidChanged(int32_t uidCounter) override;
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_avrcp_ct_observer_stub.cpp | 171 int uidCounter = data.ReadInt32(); in OnSetBrowsedPlayerInner() local 185 stub->OnSetBrowsedPlayer(RawAddress(addr), uidCounter, numberOfItems, folderNames, result, detail); in OnSetBrowsedPlayerInner() local 419 uint16_t uidCounter = static_cast<uint16_t>(data.ReadInt32()); in OnGetTotalNumberOfItemsInner() local 424 stub->OnGetTotalNumberOfItems(RawAddress(addr), uidCounter, numOfItems, result, detail); in OnGetTotalNumberOfItemsInner() local 578 uint16_t uidCounter = static_cast<uint16_t>(data.ReadInt32()); in OnAddressedPlayerChangedInner() local 580 stub->OnAddressedPlayerChanged(RawAddress(addr), playerId, uidCounter, result); in OnAddressedPlayerChangedInner() local 588 uint16_t uidCounter = static_cast<uint16_t>(data.ReadInt32()); in OnUidChangedInner() local 590 stub->OnUidChanged(RawAddress(addr), uidCounter, result); in OnUidChangedInner() local 608 uint16_t uidCounter = static_cast<uint16_t>(data.ReadInt32()); in OnGetMediaPlayersInner() local 624 stub->OnGetMediaPlayers(RawAddress(addr), uidCounter, item in OnGetMediaPlayersInner() local 632 uint8_t uidCounter = static_cast<uint8_t>(data.ReadInt32()); OnGetFolderItemsInner() local 648 stub->OnGetFolderItems(RawAddress(addr), uidCounter, items, result, detail); OnGetFolderItemsInner() local [all...] |