/system/bt/packet/tests/fuzzers/ |
D | get_element_attributes_res_packet_fuzzer.cc | 33 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()
|
D | get_item_attributes_res_fuzzer.cc | 37 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()
|
/system/bt/packet/tests/avrcp/ |
D | get_element_attributes_packet_test.cc | 83 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() 115 truncated_builder->AddAttributeEntry(Attribute::TITLE, "1234truncated")); in TEST() [all …]
|
D | get_item_attributes_packet_test.cc | 33 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()
|
/system/bt/packet/avrcp/ |
D | get_element_attributes_packet.h | 68 bool AddAttributeEntry(AttributeEntry entry); 69 bool AddAttributeEntry(Attribute attribute, std::string value);
|
D | get_item_attributes.h | 33 bool AddAttributeEntry(AttributeEntry entry); 34 bool AddAttributeEntry(Attribute, std::string);
|
D | get_element_attributes_packet.cc | 93 bool GetElementAttributesResponseBuilder::AddAttributeEntry( in AddAttributeEntry() function in bluetooth::avrcp::GetElementAttributesResponseBuilder 111 bool GetElementAttributesResponseBuilder::AddAttributeEntry(Attribute attribute, in AddAttributeEntry() function in bluetooth::avrcp::GetElementAttributesResponseBuilder 113 return AddAttributeEntry(AttributeEntry(attribute, value)); in AddAttributeEntry()
|
D | get_item_attributes.cc | 30 bool GetItemAttributesResponseBuilder::AddAttributeEntry(AttributeEntry entry) { in AddAttributeEntry() function in bluetooth::avrcp::GetItemAttributesResponseBuilder 46 bool GetItemAttributesResponseBuilder::AddAttributeEntry(Attribute attribute, in AddAttributeEntry() function in bluetooth::avrcp::GetItemAttributesResponseBuilder 48 return AddAttributeEntry(AttributeEntry(attribute, value)); in AddAttributeEntry()
|
/system/bt/profile/avrcp/tests/ |
D | avrcp_device_test.cc | 602 compare_to_partial->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST_F() 610 compare_to_full->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST_F() 611 compare_to_full->AddAttributeEntry(Attribute::ARTIST_NAME, "Test Artist"); in TEST_F() 612 compare_to_full->AddAttributeEntry(Attribute::ALBUM_NAME, "Test Album"); in TEST_F() 613 compare_to_full->AddAttributeEntry(Attribute::TRACK_NUMBER, "1"); in TEST_F() 614 compare_to_full->AddAttributeEntry(Attribute::TOTAL_NUMBER_OF_TRACKS, "2"); in TEST_F() 615 compare_to_full->AddAttributeEntry(Attribute::GENRE, "Test Genre"); in TEST_F() 616 compare_to_full->AddAttributeEntry(Attribute::PLAYING_TIME, "1000"); in TEST_F() 626 truncated_packet->AddAttributeEntry(Attribute::TITLE, "1234"); in TEST_F() 961 compare_to_full->AddAttributeEntry(Attribute::TITLE, "Test Song"); in TEST_F() [all …]
|
/system/bt/profile/avrcp/ |
D | device.cc | 603 response->AddAttributeEntry(*info.attributes.find(attribute)); in GetElementAttributesResponse() 608 response->AddAttributeEntry(attribute); in GetElementAttributesResponse() 1015 builder->AddAttributeEntry(*info.attributes.find(attribute)); in GetItemAttributesNowPlayingResponse() 1022 builder->AddAttributeEntry(attribute); in GetItemAttributesNowPlayingResponse() 1059 builder->AddAttributeEntry(Attribute::TITLE, item_requested.folder.name); in GetItemAttributesVFSResponse() 1063 builder->AddAttributeEntry(Attribute::TITLE, in GetItemAttributesVFSResponse() 1073 builder->AddAttributeEntry( in GetItemAttributesVFSResponse() 1081 builder->AddAttributeEntry(attribute); in GetItemAttributesVFSResponse()
|