Home
last modified time | relevance | path

Searched refs:media_id (Results 1 – 5 of 5) 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.cc446 now_playing_ids_.insert(song.media_id); in TrackChangedNotificationResponse()
447 if (curr_song_id == song.media_id) { in TrackChangedNotificationResponse()
449 << song.media_id; in TrackChangedNotificationResponse()
721 std::string media_id = ""; in HandlePlayItem() local
724 media_id = now_playing_ids_.get_media_id(pkt->GetUid()); in HandlePlayItem()
727 media_id = vfs_ids_.get_media_id(pkt->GetUid()); in HandlePlayItem()
733 if (media_id == "") { in HandlePlayItem()
742 pkt->GetScope() == Scope::NOW_PLAYING, media_id); in HandlePlayItem()
1012 auto media_id = now_playing_ids_.get_media_id(pkt->GetUid()); in GetItemAttributesNowPlayingResponse() local
1013 if (media_id == "") { in GetItemAttributesNowPlayingResponse()
[all …]
/system/bt/include/hardware/avrcp/
Davrcp.h32 std::string media_id; // This gets converted to a UID in the native service member
58 std::string media_id; member
128 virtual void GetFolderItems(uint16_t player_id, std::string media_id,
137 std::string media_id) = 0;
/system/bt/profile/avrcp/tests/avrcp_device_fuzz/
Davrcp_device_fuzz.cc25 virtual void GetFolderItems(uint16_t player_id, std::string media_id, in GetFolderItems() argument
32 std::string media_id) {} in PlayItem() argument
/system/bt/btif/avrcp/
Davrcp_service.cc193 void GetFolderItems(uint16_t player_id, std::string media_id, in GetFolderItems() argument
203 base::Unretained(wrapped_), player_id, media_id, in GetFolderItems()
222 std::string media_id) override { in PlayItem() argument
225 now_playing, media_id)); in PlayItem()