Home
last modified time | relevance | path

Searched refs:MediaElementItem (Results 1 – 6 of 6) sorted by relevance

/system/bt/include/hardware/avrcp/
Davrcp_common.h256 struct MediaElementItem { struct
263 MediaElementItem(uint64_t uid, const std::string& name, in MediaElementItem() function
276 MediaElementItem(const MediaElementItem&) = default;
302 MediaElementItem song_;
309 MediaListItem(MediaElementItem item) : type_(SONG), song_(item) {} in MediaListItem()
321 new (&song_) MediaElementItem(item.song_); in MediaListItem()
335 song_.~MediaElementItem(); in ~MediaListItem()
/system/bt/packet/tests/avrcp/
Dget_folder_items_packet_test.cc112 auto song = MediaElementItem(0x02, "Test Title", attributes); in TEST()
122 auto song = MediaElementItem(0x02, "Test Title", attributes); in TEST()
131 MediaElementItem song1(0x01, "Song 1 that fits", std::set<AttributeEntry>()); in TEST()
132 MediaElementItem song2(0x02, "Song 2 that doesn't fit", in TEST()
134 MediaElementItem song3(0x03, "Song 3 that fits", std::set<AttributeEntry>()); in TEST()
192 auto song = MediaElementItem(0x01, "test song", std::set<AttributeEntry>()); in TEST()
/system/bt/packet/avrcp/
Dget_folder_items.h40 bool AddSong(MediaElementItem item);
64 const MediaElementItem& item);
Dget_folder_items.cc105 bool GetFolderItemsResponseBuilder::AddSong(MediaElementItem item) { in AddSong()
202 const MediaElementItem& item) { in PushMediaElementItem()
/system/bt/profile/avrcp/
Ddevice.cc1167 MediaElementItem song_item(vfs_ids_.get_uid(song.media_id), title, in GetVFSListResponse()
1205 MediaElementItem item(i + 1, title, std::set<AttributeEntry>()); in GetNowPlayingListResponse()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc770 expected_response->AddSong(MediaElementItem(1, "Test Song", info.attributes)); in TEST_F()