Home
last modified time | relevance | path

Searched refs:AddAttributeEntry (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/system/packet/tests/fuzzers/
Dget_element_attributes_res_packet_fuzzer.cc33 builder->AddAttributeEntry(Attribute::TITLE, s); in LLVMFuzzerTestOneInput()
34 builder->AddAttributeEntry(Attribute::ARTIST_NAME, s); in LLVMFuzzerTestOneInput()
35 builder->AddAttributeEntry(Attribute::ALBUM_NAME, s); in LLVMFuzzerTestOneInput()
36 builder->AddAttributeEntry(Attribute::TRACK_NUMBER, s); in LLVMFuzzerTestOneInput()
37 builder->AddAttributeEntry(Attribute::TOTAL_NUMBER_OF_TRACKS, s); in LLVMFuzzerTestOneInput()
38 builder->AddAttributeEntry(Attribute::GENRE, s); in LLVMFuzzerTestOneInput()
39 builder->AddAttributeEntry(Attribute::PLAYING_TIME, s); in LLVMFuzzerTestOneInput()
Dget_item_attributes_res_fuzzer.cc37 builder->AddAttributeEntry(Attribute::TITLE, s); in LLVMFuzzerTestOneInput()
38 builder->AddAttributeEntry(Attribute::ARTIST_NAME, s); in LLVMFuzzerTestOneInput()
39 builder->AddAttributeEntry(Attribute::ALBUM_NAME, s); in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/system/packet/tests/avrcp/
Dget_element_attributes_packet_test.cc83 builder->AddAttributeEntry(Attribute::TITLE, "test"); in TEST()
85 builder->AddAttributeEntry(Attribute::ARTIST_NAME, "test"); in TEST()
91 builder->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST()
92 builder->AddAttributeEntry(Attribute::ARTIST_NAME, "Test Artist"); in TEST()
93 builder->AddAttributeEntry(Attribute::ALBUM_NAME, "Test Album"); in TEST()
94 builder->AddAttributeEntry(Attribute::TRACK_NUMBER, "1"); in TEST()
95 builder->AddAttributeEntry(Attribute::TOTAL_NUMBER_OF_TRACKS, "2"); in TEST()
96 builder->AddAttributeEntry(Attribute::GENRE, "Test Genre"); in TEST()
97 builder->AddAttributeEntry(Attribute::PLAYING_TIME, "1000"); in TEST()
156 truncated_builder->AddAttributeEntry(Attribute::TITLE, "1234truncated")); in TEST()
[all …]
Dget_item_attributes_packet_test.cc33 builder->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST()
36 builder->AddAttributeEntry(Attribute::ARTIST_NAME, "Test Artist"); in TEST()
39 builder->AddAttributeEntry(Attribute::ALBUM_NAME, "Test Album"); in TEST()
46 builder->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST()
47 builder->AddAttributeEntry(Attribute::ARTIST_NAME, "Test Artist"); in TEST()
48 builder->AddAttributeEntry(Attribute::ALBUM_NAME, "Test Album"); in TEST()
64 truncated_builder->AddAttributeEntry(Attribute::TITLE, "1234truncated")); in TEST()
67 ASSERT_FALSE(truncated_builder->AddAttributeEntry(Attribute::ARTIST_NAME, in TEST()
75 builder->AddAttributeEntry(attribute); in TEST()
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_device_test.cc723 compare_to_partial->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST_F()
731 compare_to_full->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST_F()
732 compare_to_full->AddAttributeEntry(Attribute::ARTIST_NAME, "Test Artist"); in TEST_F()
733 compare_to_full->AddAttributeEntry(Attribute::ALBUM_NAME, "Test Album"); in TEST_F()
734 compare_to_full->AddAttributeEntry(Attribute::TRACK_NUMBER, "1"); in TEST_F()
735 compare_to_full->AddAttributeEntry(Attribute::TOTAL_NUMBER_OF_TRACKS, "2"); in TEST_F()
736 compare_to_full->AddAttributeEntry(Attribute::GENRE, "Test Genre"); in TEST_F()
737 compare_to_full->AddAttributeEntry(Attribute::PLAYING_TIME, "1000"); in TEST_F()
767 compare_to_no_art->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST_F()
768 compare_to_no_art->AddAttributeEntry(Attribute::ARTIST_NAME, "Test Artist"); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/packet/avrcp/
Dget_element_attributes_packet.cc95 size_t GetElementAttributesResponseBuilder::AddAttributeEntry( in AddAttributeEntry() function in bluetooth::avrcp::GetElementAttributesResponseBuilder
112 size_t GetElementAttributesResponseBuilder::AddAttributeEntry( in AddAttributeEntry() function in bluetooth::avrcp::GetElementAttributesResponseBuilder
114 return AddAttributeEntry(AttributeEntry(attribute, value)); in AddAttributeEntry()
Dget_item_attributes.cc30 size_t GetItemAttributesResponseBuilder::AddAttributeEntry( in AddAttributeEntry() function in bluetooth::avrcp::GetItemAttributesResponseBuilder
48 size_t GetItemAttributesResponseBuilder::AddAttributeEntry( in AddAttributeEntry() function in bluetooth::avrcp::GetItemAttributesResponseBuilder
50 return AddAttributeEntry(AttributeEntry(attribute, value)); in AddAttributeEntry()
Dget_element_attributes_packet.h72 size_t AddAttributeEntry(AttributeEntry entry);
73 size_t AddAttributeEntry(Attribute attribute, const std::string& value);
Dget_item_attributes.h36 size_t AddAttributeEntry(AttributeEntry entry);
37 size_t AddAttributeEntry(Attribute, const std::string&);
/packages/modules/Bluetooth/system/packet/tests/
Dpacket_test_helper.h194 void AddAttributeEntry(AttributeEntry entry) { in AddAttributeEntry() function
195 auto f = _builder->AddAttributeEntry(entry); in AddAttributeEntry()
252 AddAttributeEntry(tail); in fractionEntry()
278 _helper.AddAttributeEntry(i);
/packages/modules/Bluetooth/system/profile/avrcp/
Ddevice.cc842 response->AddAttributeEntry(*info.attributes.find(attribute)); in GetElementAttributesResponse()
847 response->AddAttributeEntry(attribute); in GetElementAttributesResponse()
1341 builder->AddAttributeEntry(*info.attributes.find(attribute)); in GetItemAttributesNowPlayingResponse()
1348 builder->AddAttributeEntry(attribute); in GetItemAttributesNowPlayingResponse()
1392 builder->AddAttributeEntry(Attribute::TITLE, item_requested.folder.name); in GetItemAttributesVFSResponse()
1396 builder->AddAttributeEntry(Attribute::TITLE, in GetItemAttributesVFSResponse()
1406 builder->AddAttributeEntry( in GetItemAttributesVFSResponse()
1414 builder->AddAttributeEntry(attribute); in GetItemAttributesVFSResponse()