Home
last modified time | relevance | path

Searched refs:AttributeEntry (Results 1 – 14 of 14) sorted by relevance

/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc130 AttributeEntry(Attribute::TITLE, "Test Song"), in TEST_F()
131 AttributeEntry(Attribute::ARTIST_NAME, "Test Artist"), in TEST_F()
132 AttributeEntry(Attribute::ALBUM_NAME, "Test Album"), in TEST_F()
133 AttributeEntry(Attribute::TRACK_NUMBER, "1"), in TEST_F()
134 AttributeEntry(Attribute::TOTAL_NUMBER_OF_TRACKS, "2"), in TEST_F()
135 AttributeEntry(Attribute::GENRE, "Test Genre"), in TEST_F()
136 AttributeEntry(Attribute::PLAYING_TIME, "1000"), in TEST_F()
137 AttributeEntry(Attribute::DEFAULT_COVER_ART, "0000001")}}; in TEST_F()
265 AttributeEntry(Attribute::TITLE, "Test Song"), in TEST_F()
266 AttributeEntry(Attribute::ARTIST_NAME, "Test Artist"), in TEST_F()
[all …]
/system/bt/include/hardware/avrcp/
Davrcp_common.h147 class AttributeEntry {
149 AttributeEntry(const Attribute& attribute, const std::string& value) in AttributeEntry() function
152 AttributeEntry(const Attribute& attribute) : attribute_(attribute) {} in AttributeEntry() function
154 AttributeEntry(const AttributeEntry&) = default;
179 bool operator<(const AttributeEntry& rhs) const {
259 std::set<AttributeEntry> attributes_;
264 std::set<AttributeEntry> attributes) in MediaElementItem()
270 for (AttributeEntry val : attributes) { in MediaElementItem()
Davrcp.h33 std::set<AttributeEntry> attributes;
/system/bt/packet/tests/avrcp/
Dget_folder_items_packet_test.cc110 std::set<AttributeEntry> attributes; in TEST()
111 attributes.insert(AttributeEntry(Attribute::TITLE, "Test Title")); in TEST()
120 std::set<AttributeEntry> attributes; in TEST()
121 attributes.insert(AttributeEntry(Attribute::TITLE, "Test Title")); in TEST()
131 MediaElementItem song1(0x01, "Song 1 that fits", std::set<AttributeEntry>()); in TEST()
133 std::set<AttributeEntry>()); 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()
Dget_item_attributes_packet_test.cc56 auto attribute = AttributeEntry(Attribute::TITLE, "1234"); in TEST()
Dget_element_attributes_packet_test.cc107 auto attribute = AttributeEntry(Attribute::TITLE, "1234"); in TEST()
/system/bt/packet/tests/fuzzers/
Dget_folder_items_res_fuzzer.cc33 std::set<AttributeEntry> attributes; in LLVMFuzzerTestOneInput()
36 attributes.insert(AttributeEntry(Attribute::TITLE, s)); in LLVMFuzzerTestOneInput()
/system/bt/packet/avrcp/
Dget_element_attributes_packet.h68 bool AddAttributeEntry(AttributeEntry entry);
76 std::set<AttributeEntry> entries_;
Dget_item_attributes.h33 bool AddAttributeEntry(AttributeEntry entry);
43 std::set<AttributeEntry> entries_;
Dget_element_attributes_packet.cc94 AttributeEntry entry) { in AddAttributeEntry()
113 return AddAttributeEntry(AttributeEntry(attribute, value)); in AddAttributeEntry()
Dget_item_attributes.cc30 bool GetItemAttributesResponseBuilder::AddAttributeEntry(AttributeEntry entry) { in AddAttributeEntry()
48 return AddAttributeEntry(AttributeEntry(attribute, value)); in AddAttributeEntry()
Dvendor_packet.h46 const AttributeEntry& entry);
Dvendor_packet.cc68 const AttributeEntry& entry) { in PushAttributeValue()
/system/bt/profile/avrcp/
Ddevice.cc1158 std::set<AttributeEntry> filter_attributes_requested( in filter_attributes_requested()
1160 std::set<AttributeEntry> result; in filter_attributes_requested()
1216 std::set<AttributeEntry>()); in GetVFSListResponse()
1259 MediaElementItem item(i + 1, title, std::set<AttributeEntry>()); in GetNowPlayingListResponse()