Home
last modified time | relevance | path

Searched refs:Attribute (Results 1 – 25 of 27) sorted by relevance

12

/system/bt/packet/tests/avrcp/
Dget_element_attributes_packet_test.cc37 ASSERT_EQ(attribute_list[0], Attribute::TITLE); in TEST()
48 ASSERT_EQ(attribute_list[0], Attribute::TITLE); in TEST()
49 ASSERT_EQ(attribute_list[1], Attribute::ARTIST_NAME); in TEST()
50 ASSERT_EQ(attribute_list[2], Attribute::ALBUM_NAME); in TEST()
51 ASSERT_EQ(attribute_list[3], Attribute::TRACK_NUMBER); in TEST()
52 ASSERT_EQ(attribute_list[4], Attribute::PLAYING_TIME); in TEST()
53 ASSERT_EQ(attribute_list[5], Attribute::TOTAL_NUMBER_OF_TRACKS); in TEST()
54 ASSERT_EQ(attribute_list[6], Attribute::GENRE); in TEST()
83 builder->AddAttributeEntry(Attribute::TITLE, "test"); in TEST()
85 builder->AddAttributeEntry(Attribute::ARTIST_NAME, "test"); 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()
56 auto attribute = AttributeEntry(Attribute::TITLE, "1234"); in TEST()
64 truncated_builder->AddAttributeEntry(Attribute::TITLE, "1234truncated")); in TEST()
67 ASSERT_FALSE(truncated_builder->AddAttributeEntry(Attribute::ARTIST_NAME, in TEST()
101 std::vector<Attribute> attrs_requested = {Attribute::TITLE, in TEST()
[all …]
Dget_folder_items_packet_test.cc111 attributes.insert(AttributeEntry(Attribute::TITLE, "Test Title")); in TEST()
121 attributes.insert(AttributeEntry(Attribute::TITLE, "Test Title")); in TEST()
221 std::vector<Attribute> attribute_list = {Attribute::TITLE}; in TEST()
237 {Attribute::TITLE}); in TEST()
/system/bt/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()
Dget_folder_items_res_fuzzer.cc36 attributes.insert(AttributeEntry(Attribute::TITLE, s)); in LLVMFuzzerTestOneInput()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc109 AttributeEntry(Attribute::TITLE, "Test Song"), in TEST_F()
110 AttributeEntry(Attribute::ARTIST_NAME, "Test Artist"), in TEST_F()
111 AttributeEntry(Attribute::ALBUM_NAME, "Test Album"), in TEST_F()
112 AttributeEntry(Attribute::TRACK_NUMBER, "1"), in TEST_F()
113 AttributeEntry(Attribute::TOTAL_NUMBER_OF_TRACKS, "2"), in TEST_F()
114 AttributeEntry(Attribute::GENRE, "Test Genre"), in TEST_F()
115 AttributeEntry(Attribute::PLAYING_TIME, "1000")}}; in TEST_F()
243 AttributeEntry(Attribute::TITLE, "Test Song"), in TEST_F()
244 AttributeEntry(Attribute::ARTIST_NAME, "Test Artist"), in TEST_F()
245 AttributeEntry(Attribute::ALBUM_NAME, "Test Album"), in TEST_F()
[all …]
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h133 inline std::string AttributeText(const Attribute& attr) { in AttributeText()
135 CASE_RETURN_TEXT(Attribute::TITLE); in AttributeText()
136 CASE_RETURN_TEXT(Attribute::ARTIST_NAME); in AttributeText()
137 CASE_RETURN_TEXT(Attribute::ALBUM_NAME); in AttributeText()
138 CASE_RETURN_TEXT(Attribute::TRACK_NUMBER); in AttributeText()
139 CASE_RETURN_TEXT(Attribute::TOTAL_NUMBER_OF_TRACKS); in AttributeText()
140 CASE_RETURN_TEXT(Attribute::GENRE); in AttributeText()
141 CASE_RETURN_TEXT(Attribute::PLAYING_TIME); in AttributeText()
142 CASE_RETURN_TEXT(Attribute::DEFAULT_COVER_ART); in AttributeText()
148 inline std::ostream& operator<<(std::ostream& os, const Attribute& attr) {
Davrcp_common.h84 enum class Attribute : uint32_t { enum
149 AttributeEntry(const Attribute& attribute, const std::string& value) in AttributeEntry()
152 AttributeEntry(const Attribute& attribute) : attribute_(attribute) {} in AttributeEntry()
156 Attribute attribute() const { return attribute_; } in attribute()
184 Attribute attribute_;
/system/bt/packet/avrcp/
Dget_element_attributes_packet.cc34 std::vector<Attribute> GetElementAttributesRequest::GetAttributesRequested() in GetAttributesRequested()
40 std::vector<Attribute> attribute_list; in GetAttributesRequested()
43 attribute_list.push_back((Attribute)it.extractBE<uint32_t>()); in GetAttributesRequested()
58 return (num_attributes * sizeof(Attribute)) == (size_t)(end() - attr_start); in IsValid()
111 bool GetElementAttributesResponseBuilder::AddAttributeEntry(Attribute attribute, in AddAttributeEntry()
Dget_item_attributes.cc46 bool GetItemAttributesResponseBuilder::AddAttributeEntry(Attribute attribute, in AddAttributeEntry()
107 std::vector<Attribute> GetItemAttributesRequest::GetAttributesRequested() in GetAttributesRequested()
112 std::vector<Attribute> attribute_list; in GetAttributesRequested()
114 attribute_list.push_back((Attribute)it.extractBE<uint32_t>()); in GetAttributesRequested()
126 return (GetNumAttributes() * sizeof(Attribute)) == (size() - kMinSize()); in IsValid()
Dget_folder_items.h91 std::vector<Attribute> GetAttributesRequested() const;
106 const std::set<Attribute>& requested_attrs);
115 const std::set<Attribute>& requested_attrs) in GetFolderItemsRequestBuilder()
125 std::set<Attribute> requested_attrs_;
Dget_element_attributes_packet.h51 std::vector<Attribute> GetAttributesRequested() const;
69 bool AddAttributeEntry(Attribute attribute, std::string value);
Dget_item_attributes.h34 bool AddAttributeEntry(Attribute, std::string);
74 std::vector<Attribute> GetAttributesRequested() const;
Dget_folder_items.cc252 std::vector<Attribute> GetFolderItemsRequest::GetAttributesRequested() const { in GetAttributesRequested()
256 std::vector<Attribute> attribute_list; in GetAttributesRequested()
266 attribute_list.push_back((Attribute)it.extractBE<uint32_t>()); in GetAttributesRequested()
286 return (attr_count * sizeof(Attribute)) == (size_t)(end() - attr_start); in IsValid()
307 const std::set<Attribute>& requested_attrs) { in MakeBuilder()
317 len += requested_attrs_.size() * sizeof(Attribute); in size()
/system/bt/btif/src/
Dbtif_config_transcode.cc50 const char* section = j->Attribute("Tag"); in btif_config_transcode()
53 const char* key = k->Attribute("Tag"); in btif_config_transcode()
/system/core/libprocessgroup/profiles/
Dtask_profiles.proto23 repeated Attribute attributes = 1 [json_name = "Attributes"];
29 message Attribute { message
/system/core/fastboot/fuzzy_fastboot/
Dextensions.cpp79 if (!elem->Attribute(key.c_str())) { in XMLAttribute()
83 return elem->Attribute(key.c_str()); in XMLAttribute()
88 if (!elem->Attribute(key.c_str())) { in XMLYesNo()
92 const std::string val = elem->Attribute(key.c_str()); in XMLYesNo()
264 if (checksum && checksum->Attribute("value")) { in ExtractChecksum()
/system/bt/profile/avrcp/
Ddevice.cc1059 builder->AddAttributeEntry(Attribute::TITLE, item_requested.folder.name); in GetItemAttributesVFSResponse()
1062 if (attr == Attribute::TITLE) { in GetItemAttributesVFSResponse()
1063 builder->AddAttributeEntry(Attribute::TITLE, in GetItemAttributesVFSResponse()
1127 const SongInfo& song, const std::vector<Attribute>& attrs) { in filter_attributes_requested()
1174 song.attributes.find(Attribute::TITLE) != song.attributes.end() in GetVFSListResponse()
1175 ? song.attributes.find(Attribute::TITLE)->value() in GetVFSListResponse()
1211 auto title = song.attributes.find(Attribute::TITLE) != song.attributes.end() in GetNowPlayingListResponse()
1212 ? song.attributes.find(Attribute::TITLE)->value() in GetNowPlayingListResponse()
/system/sepolicy/prebuilts/api/26.0/public/
Dattributes2 # Attribute declarations
43 # Attribute used for all sdcards
/system/sepolicy/prebuilts/api/28.0/public/
Dattributes2 # Attribute declarations
49 # Attribute used for all sdcards
/system/sepolicy/prebuilts/api/29.0/public/
Dattributes2 # Attribute declarations
60 # Attribute used for all sdcards
/system/sepolicy/prebuilts/api/27.0/public/
Dattributes2 # Attribute declarations
44 # Attribute used for all sdcards
/system/sepolicy/public/
Dattributes2 # Attribute declarations
60 # Attribute used for all sdcards
/system/sepolicy/prebuilts/api/30.0/public/
Dattributes2 # Attribute declarations
60 # Attribute used for all sdcards

12