• Home
  • Raw
  • Download

Lines Matching refs:Device

49 Device::Device(const RawAddress& bdaddr, bool avrcp13_compatibility,  in Device()  function in bluetooth::avrcp::Device
62 void Device::RegisterInterfaces(MediaInterface* media_interface, A2dpInterface* a2dp_interface, in RegisterInterfaces()
73 base::WeakPtr<Device> Device::Get() { return weak_ptr_factory_.GetWeakPtr(); } in Get()
75 void Device::SetBrowseMtu(uint16_t browse_mtu) { in SetBrowseMtu()
80 void Device::SetBipClientStatus(bool connected) { in SetBipClientStatus()
85 bool Device::HasBipClient() const { return has_bip_client_; } in HasBipClient()
96 bool Device::IsActive() const { return address_ == a2dp_interface_->active_peer(); } in IsActive()
98 bool Device::IsInSilenceMode() const { return a2dp_interface_->is_peer_in_silence_mode(address_); } in IsInSilenceMode()
100 void Device::VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt) { in VendorPacketHandler()
179 media_interface_->GetSongInfo(base::Bind(&Device::GetElementAttributesResponse, in VendorPacketHandler()
186 base::Bind(&Device::GetPlayStatusResponse, weak_ptr_factory_.GetWeakPtr(), label)); in VendorPacketHandler()
205 base::Bind(&Device::HandleSetAddressedPlayer, weak_ptr_factory_.GetWeakPtr(), label, in VendorPacketHandler()
218 base::Bind(&Device::ListPlayerApplicationSettingAttributesResponse, in VendorPacketHandler()
248 attribute, base::Bind(&Device::ListPlayerApplicationSettingValuesResponse, in VendorPacketHandler()
282 attributes, base::Bind(&Device::GetPlayerApplicationSettingValueResponse, in VendorPacketHandler()
340 base::Bind(&Device::SetPlayerApplicationSettingValueResponse, in VendorPacketHandler()
353 void Device::HandleGetCapabilities(uint8_t label, in HandleGetCapabilities()
399 void Device::HandleNotification(uint8_t label, in HandleNotification()
412 media_interface_->GetNowPlayingList(base::Bind(&Device::TrackChangedNotificationResponse, in HandleNotification()
417 media_interface_->GetPlayStatus(base::Bind(&Device::PlaybackStatusNotificationResponse, in HandleNotification()
423 media_interface_->GetPlayStatus(base::Bind(&Device::PlaybackPosNotificationResponse, in HandleNotification()
438 attributes, base::Bind(&Device::PlayerSettingChangedNotificationResponse, in HandleNotification()
443 media_interface_->GetNowPlayingList(base::Bind(&Device::HandleNowPlayingNotificationResponse, in HandleNotification()
458 media_interface_->GetAddressedPlayer(base::Bind(&Device::AddressedPlayerNotificationResponse, in HandleNotification()
481 void Device::RegisterVolumeChanged() { in RegisterVolumeChanged()
508 void Device::HandleVolumeChanged(uint8_t label, in HandleVolumeChanged()
536 GetAddress(), base::Bind(&Device::SetVolume, weak_ptr_factory_.GetWeakPtr())); in HandleVolumeChanged()
554 void Device::SetVolume(int8_t volume) { in SetVolume()
576 void Device::TrackChangedNotificationResponse(uint8_t label, bool interim, std::string curr_song_id, in TrackChangedNotificationResponse()
629 void Device::PlaybackStatusNotificationResponse(uint8_t label, bool interim, PlayStatus status) { in PlaybackStatusNotificationResponse()
663 void Device::PlaybackPosNotificationResponse(uint8_t label, bool interim, PlayStatus status) { in PlaybackPosNotificationResponse()
695 base::Bind(&Device::HandlePlayPosUpdate, weak_ptr_factory_.GetWeakPtr())); in PlaybackPosNotificationResponse()
706 void Device::AddressedPlayerNotificationResponse(uint8_t label, bool interim, in AddressedPlayerNotificationResponse()
737 void Device::RejectNotification() { in RejectNotification()
751 void Device::GetPlayStatusResponse(uint8_t label, PlayStatus status) { in GetPlayStatusResponse()
758 void Device::GetElementAttributesResponse(uint8_t label, in GetElementAttributesResponse()
811 void Device::MessageReceived(uint8_t label, std::shared_ptr<Packet> pkt) { in MessageReceived()
857 [](base::WeakPtr<Device> d, PlayStatus s) { in MessageReceived()
890 void Device::HandlePlayItem(uint8_t label, std::shared_ptr<PlayItemRequest> pkt) { in HandlePlayItem()
926 void Device::HandleSetAddressedPlayer(uint8_t label, std::shared_ptr<SetAddressedPlayerRequest> pkt, in HandleSetAddressedPlayer()
945 void Device::ListPlayerApplicationSettingAttributesResponse( in ListPlayerApplicationSettingAttributesResponse()
959 void Device::ListPlayerApplicationSettingValuesResponse(uint8_t label, PlayerAttribute attribute, in ListPlayerApplicationSettingValuesResponse()
982 void Device::GetPlayerApplicationSettingValueResponse(uint8_t label, in GetPlayerApplicationSettingValueResponse()
1001 void Device::SetPlayerApplicationSettingValueResponse(uint8_t label, CommandPdu pdu, bool success) { in SetPlayerApplicationSettingValueResponse()
1013 void Device::BrowseMessageReceived(uint8_t label, std::shared_ptr<BrowsePacket> pkt) { in BrowseMessageReceived()
1048 void Device::HandleGetFolderItems(uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt) { in HandleGetFolderItems()
1062 media_interface_->GetMediaPlayerList(base::Bind(&Device::GetMediaPlayerListResponse, in HandleGetFolderItems()
1068 base::Bind(&Device::GetVFSListResponse, weak_ptr_factory_.GetWeakPtr(), label, pkt)); in HandleGetFolderItems()
1071 media_interface_->GetNowPlayingList(base::Bind(&Device::GetNowPlayingListResponse, in HandleGetFolderItems()
1083 void Device::HandleGetTotalNumberOfItems(uint8_t label, in HandleGetTotalNumberOfItems()
1098 base::Bind(&Device::GetTotalNumberOfItemsMediaPlayersResponse, in HandleGetTotalNumberOfItems()
1104 base::Bind(&Device::GetTotalNumberOfItemsVFSResponse, in HandleGetTotalNumberOfItems()
1109 base::Bind(&Device::GetTotalNumberOfItemsNowPlayingResponse, in HandleGetTotalNumberOfItems()
1118 void Device::GetTotalNumberOfItemsMediaPlayersResponse(uint8_t label, uint16_t /*curr_player*/, in GetTotalNumberOfItemsMediaPlayersResponse()
1127 void Device::GetTotalNumberOfItemsVFSResponse(uint8_t label, std::vector<ListItem> list) { in GetTotalNumberOfItemsVFSResponse()
1142 void Device::GetTotalNumberOfItemsNowPlayingResponse(uint8_t label, std::string /*curr_song_id*/, in GetTotalNumberOfItemsNowPlayingResponse()
1158 void Device::HandleChangePath(uint8_t label, std::shared_ptr<ChangePathRequest> pkt) { in HandleChangePath()
1194 base::Bind(&Device::ChangePathResponse, weak_ptr_factory_.GetWeakPtr(), label, pkt)); in HandleChangePath()
1197 void Device::ChangePathResponse(uint8_t label, std::shared_ptr<ChangePathRequest> /*pkt*/, in ChangePathResponse()
1205 void Device::HandleGetItemAttributes(uint8_t label, std::shared_ptr<GetItemAttributesRequest> pkt) { in HandleGetItemAttributes()
1225 media_interface_->GetNowPlayingList(base::Bind(&Device::GetItemAttributesNowPlayingResponse, in HandleGetItemAttributes()
1234 base::Bind(&Device::GetItemAttributesVFSResponse, in HandleGetItemAttributes()
1243 void Device::GetItemAttributesNowPlayingResponse(uint8_t label, in GetItemAttributesNowPlayingResponse()
1292 void Device::GetItemAttributesVFSResponse(uint8_t label, in GetItemAttributesVFSResponse()
1356 void Device::GetMediaPlayerListResponse(uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt, in GetMediaPlayerListResponse()
1404 void Device::GetVFSListResponse(uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt, in GetVFSListResponse()
1467 void Device::GetNowPlayingListResponse(uint8_t label, std::shared_ptr<GetFolderItemsRequest> pkt, in GetNowPlayingListResponse()
1508 void Device::HandleSetBrowsedPlayer(uint8_t label, std::shared_ptr<SetBrowsedPlayerRequest> pkt) { in HandleSetBrowsedPlayer()
1519 base::Bind(&Device::SetBrowsedPlayerResponse, in HandleSetBrowsedPlayer()
1523 void Device::SetBrowsedPlayerResponse(uint8_t label, std::shared_ptr<SetBrowsedPlayerRequest> pkt, in SetBrowsedPlayerResponse()
1553 void Device::SendMediaUpdate(bool metadata, bool play_status, bool queue) { in SendMediaUpdate()
1576 void Device::SendFolderUpdate(bool available_players, bool addressed_player, bool /*uids*/) { in SendFolderUpdate()
1589 void Device::HandleTrackUpdate() { in HandleTrackUpdate()
1596 media_interface_->GetNowPlayingList(base::Bind(&Device::TrackChangedNotificationResponse, in HandleTrackUpdate()
1601 void Device::HandlePlayStatusUpdate() { in HandlePlayStatusUpdate()
1608 media_interface_->GetPlayStatus(base::Bind(&Device::PlaybackStatusNotificationResponse, in HandlePlayStatusUpdate()
1613 void Device::HandleNowPlayingUpdate() { in HandleNowPlayingUpdate()
1621 media_interface_->GetNowPlayingList(base::Bind(&Device::HandleNowPlayingNotificationResponse, in HandleNowPlayingUpdate()
1626 void Device::HandlePlayerSettingChanged(std::vector<PlayerAttribute> attributes, in HandlePlayerSettingChanged()
1650 void Device::PlayerSettingChangedNotificationResponse(uint8_t label, bool interim, in PlayerSettingChangedNotificationResponse()
1682 void Device::HandleNowPlayingNotificationResponse(uint8_t label, bool interim, in HandleNowPlayingNotificationResponse()
1706 void Device::HandlePlayPosUpdate() { in HandlePlayPosUpdate()
1713 media_interface_->GetPlayStatus(base::Bind(&Device::PlaybackPosNotificationResponse, in HandlePlayPosUpdate()
1718 void Device::HandleAvailablePlayerUpdate() { in HandleAvailablePlayerUpdate()
1735 void Device::HandleAddressedPlayerUpdate() { in HandleAddressedPlayerUpdate()
1741 media_interface_->GetAddressedPlayer(base::Bind(&Device::AddressedPlayerNotificationResponse, in HandleAddressedPlayerUpdate()
1746 void Device::DeviceDisconnected() { in DeviceDisconnected()
1772 std::ostream& operator<<(std::ostream& out, const Device& d) { in operator <<()