Home
last modified time | relevance | path

Searched refs:media_id (Results 1 – 4 of 4) sorted by relevance

/system/bt/profile/avrcp/
Dmedia_id_map.h40 uint64_t get_uid(std::string media_id) { in get_uid() argument
41 const auto& media_id_it = media_id_to_uid_.find(media_id); in get_uid()
46 uint64_t insert(std::string media_id) { in insert() argument
47 if (media_id_to_uid_.find(media_id) != media_id_to_uid_.end()) { in insert()
48 return media_id_to_uid_[media_id]; in insert()
52 media_id_to_uid_.insert(std::pair<std::string, uint64_t>(media_id, uid)); in insert()
53 uid_to_media_id_.insert(std::pair<uint64_t, std::string>(uid, media_id)); in insert()
Ddevice.cc424 now_playing_ids_.insert(song.media_id); in TrackChangedNotificationResponse()
425 if (curr_song_id == song.media_id) { in TrackChangedNotificationResponse()
427 << song.media_id; in TrackChangedNotificationResponse()
696 std::string media_id = ""; in HandlePlayItem() local
699 media_id = now_playing_ids_.get_media_id(pkt->GetUid()); in HandlePlayItem()
702 media_id = vfs_ids_.get_media_id(pkt->GetUid()); in HandlePlayItem()
708 if (media_id == "") { in HandlePlayItem()
717 pkt->GetScope() == Scope::NOW_PLAYING, media_id); in HandlePlayItem()
987 auto media_id = now_playing_ids_.get_media_id(pkt->GetUid()); in GetItemAttributesNowPlayingResponse() local
988 if (media_id == "") { in GetItemAttributesNowPlayingResponse()
[all …]
/system/bt/include/hardware/avrcp/
Davrcp.h31 std::string media_id; // This gets converted to a UID in the native service member
57 std::string media_id; member
127 virtual void GetFolderItems(uint16_t player_id, std::string media_id,
136 std::string media_id) = 0;
/system/bt/btif/avrcp/
Davrcp_service.cc194 void GetFolderItems(uint16_t player_id, std::string media_id, in GetFolderItems() argument
204 base::Unretained(wrapped_), player_id, media_id, in GetFolderItems()
223 std::string media_id) override { in PlayItem() argument
226 now_playing, media_id)); in PlayItem()