Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/packet/tests/avrcp/
Dget_current_player_application_setting_value_test.cc34 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST()
35 PlayerAttribute::SHUFFLE}; in TEST()
69 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST()
70 PlayerAttribute::SHUFFLE}; in TEST()
Dregister_notification_packet_test.cc131 std::vector<PlayerAttribute> attrs = { in TEST()
132 PlayerAttribute::EQUALIZER, PlayerAttribute::REPEAT, in TEST()
133 PlayerAttribute::SHUFFLE, PlayerAttribute::SCAN}; in TEST()
147 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST()
148 PlayerAttribute::SHUFFLE}; in TEST()
Dlist_player_application_setting_attributes_test.cc31 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST()
32 PlayerAttribute::SHUFFLE}; in TEST()
Dset_player_application_setting_value_test.cc33 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST()
34 PlayerAttribute::SHUFFLE}; in TEST()
Dlist_player_application_setting_values_test.cc38 ASSERT_EQ(test_packet->GetRequestedAttribute(), PlayerAttribute::REPEAT); in TEST()
/packages/modules/Bluetooth/system/include/hardware/avrcp/
Davrcp.h83 std::vector<PlayerAttribute> attributes, std::vector<uint8_t> values) = 0;
180 base::Callback<void(std::vector<PlayerAttribute> attributes)>;
184 PlayerAttribute setting, std::vector<uint8_t> values)>;
185 virtual void ListPlayerSettingValues(PlayerAttribute setting,
189 std::vector<PlayerAttribute> attributes, std::vector<uint8_t> values)>;
191 std::vector<PlayerAttribute> attributes,
195 virtual void SetPlayerSettings(std::vector<PlayerAttribute> attributes,
Davrcp_logging_helper.h244 inline std::string PlayerAttributeText(const PlayerAttribute& attr) { in PlayerAttributeText()
246 CASE_RETURN_TEXT(PlayerAttribute::EQUALIZER); in PlayerAttributeText()
247 CASE_RETURN_TEXT(PlayerAttribute::REPEAT); in PlayerAttributeText()
248 CASE_RETURN_TEXT(PlayerAttribute::SHUFFLE); in PlayerAttributeText()
249 CASE_RETURN_TEXT(PlayerAttribute::SCAN); in PlayerAttributeText()
254 inline std::ostream& operator<<(std::ostream& os, const PlayerAttribute& attr) {
316 struct formatter<bluetooth::avrcp::PlayerAttribute> : ostream_formatter {};
Davrcp_common.h150 enum class PlayerAttribute : uint8_t { enum
/packages/modules/Bluetooth/system/packet/avrcp/
Dget_current_player_application_setting_value.h32 MakeBuilder(std::vector<PlayerAttribute> attributes,
40 std::vector<PlayerAttribute> attributes_;
44 std::vector<PlayerAttribute> attributes, std::vector<uint8_t> values) in GetCurrentPlayerApplicationSettingValueResponseBuilder()
78 std::vector<PlayerAttribute> GetRequestedAttributes() const;
Dget_current_player_application_setting_value.cc24 std::vector<PlayerAttribute> attributes, std::vector<uint8_t> values) { in MakeBuilder()
64 std::vector<PlayerAttribute>
68 std::vector<PlayerAttribute> attribute_list; in GetRequestedAttributes()
70 attribute_list.push_back((PlayerAttribute)it.extract8()); in GetRequestedAttributes()
102 ss << " └ " << static_cast<PlayerAttribute>(*it) << std::endl; in ToString()
Dlist_player_application_setting_attributes.h32 MakeBuilder(std::vector<PlayerAttribute> attributes);
39 std::vector<PlayerAttribute> attributes_;
42 std::vector<PlayerAttribute> attributes) in ListPlayerApplicationSettingAttributesResponseBuilder()
Dset_player_application_setting_value.cc52 std::vector<PlayerAttribute>
56 std::vector<PlayerAttribute> attribute_list; in GetRequestedAttributes()
59 attribute_list.push_back(static_cast<PlayerAttribute>(*it)); in GetRequestedAttributes()
109 ss << " └ " << static_cast<PlayerAttribute>(attribute_list_.at(i)) in ToString()
Dlist_player_application_setting_values.cc54 PlayerAttribute
57 return static_cast<PlayerAttribute>(it.extract8()); in GetRequestedAttribute()
Dregister_notification_packet.h73 std::vector<PlayerAttribute> attributes,
101 PlayerAttribute attributes[4];
Dlist_player_application_setting_attributes.cc24 std::vector<PlayerAttribute> attributes) { in MakeBuilder()
Dset_player_application_setting_value.h71 std::vector<PlayerAttribute> GetRequestedAttributes() const;
Dlist_player_application_setting_values.h71 PlayerAttribute GetRequestedAttribute() const;
/packages/modules/Bluetooth/system/profile/avrcp/
Ddevice.cc263 PlayerAttribute attribute = in VendorPacketHandler()
265 if (attribute < PlayerAttribute::EQUALIZER || in VendorPacketHandler()
266 attribute > PlayerAttribute::SCAN) { in VendorPacketHandler()
300 std::vector<PlayerAttribute> attributes = in VendorPacketHandler()
303 if (attribute < PlayerAttribute::EQUALIZER || in VendorPacketHandler()
304 attribute > PlayerAttribute::SCAN) { in VendorPacketHandler()
338 std::vector<PlayerAttribute> attributes = in VendorPacketHandler()
345 if (attributes[i] < PlayerAttribute::EQUALIZER || in VendorPacketHandler()
346 attributes[i] > PlayerAttribute::SCAN) { in VendorPacketHandler()
352 if (attributes[i] == PlayerAttribute::REPEAT) { in VendorPacketHandler()
[all …]
Ddevice.h195 std::vector<PlayerAttribute> attributes, std::vector<uint8_t> values);
197 uint8_t label, bool interim, std::vector<PlayerAttribute> attributes,
276 uint8_t label, std::vector<PlayerAttribute> attributes);
280 uint8_t label, PlayerAttribute setting, std::vector<uint8_t> values);
284 uint8_t label, std::vector<PlayerAttribute> attributes,
/packages/modules/Bluetooth/system/profile/avrcp/tests/avrcp_device_fuzz/
Davrcp_device_fuzz.cc53 virtual void ListPlayerSettingValues(PlayerAttribute setting, in ListPlayerSettingValues()
56 std::vector<PlayerAttribute> attributes, in GetCurrentPlayerSettingValue()
58 virtual void SetPlayerSettings(std::vector<PlayerAttribute> attributes, in SetPlayerSettings()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_avrcp_target.cpp71 static void listPlayerSettingValues(PlayerAttribute setting,
76 static void getPlayerSettings(std::vector<PlayerAttribute> attributes,
81 static void setPlayerSettings(std::vector<PlayerAttribute> attributes,
192 void ListPlayerSettingValues(PlayerAttribute setting, in ListPlayerSettingValues()
197 void GetCurrentPlayerSettingValue(std::vector<PlayerAttribute> attributes, in GetCurrentPlayerSettingValue()
202 void SetPlayerSettings(std::vector<PlayerAttribute> attributes, in SetPlayerSettings()
939 std::vector<PlayerAttribute> attributes_vector; in listPlayerSettingsResponseNative()
946 static void listPlayerSettingValues(PlayerAttribute attribute, in listPlayerSettingValues()
963 PlayerAttribute player_attribute = static_cast<PlayerAttribute>(attribute); in listPlayerSettingValuesResponseNative()
970 static void getPlayerSettings(std::vector<PlayerAttribute> attributes, in getPlayerSettings()
[all …]
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.cc333 std::vector<PlayerAttribute> attributes) { in ListPlayerSettings()
343 void ListPlayerSettingValues(PlayerAttribute setting, in ListPlayerSettingValues()
346 PlayerAttribute setting, std::vector<uint8_t> values) { in ListPlayerSettingValues()
359 std::vector<PlayerAttribute> attributes, in GetCurrentPlayerSettingValue()
362 std::vector<PlayerAttribute> attributes, in GetCurrentPlayerSettingValue()
375 void SetPlayerSettings(std::vector<PlayerAttribute> attributes, in SetPlayerSettings()
567 std::vector<PlayerAttribute> attributes, std::vector<uint8_t> values) { in SendPlayerSettingsChanged()
576 if (attributes.at(i) == PlayerAttribute::REPEAT) { in SendPlayerSettingsChanged()
578 } else if (attributes.at(i) == PlayerAttribute::SHUFFLE) { in SendPlayerSettingsChanged()
Davrcp_service.h76 void SendPlayerSettingsChanged(std::vector<PlayerAttribute> attributes,
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_test_helper.h68 void(PlayerAttribute, ListPlayerSettingValuesCallback));
70 void(std::vector<PlayerAttribute>,
73 void(std::vector<PlayerAttribute>, std::vector<uint8_t>,
Davrcp_device_test.cc195 std::vector<PlayerAttribute> attributes = {PlayerAttribute::REPEAT, in TEST_F()
196 PlayerAttribute::SHUFFLE}; in TEST_F()
1769 std::vector<PlayerAttribute> attributes = {PlayerAttribute::REPEAT, in TEST_F()
1770 PlayerAttribute::SHUFFLE}; in TEST_F()
1815 PlayerAttribute attribute = PlayerAttribute::REPEAT; in TEST_F()
1904 std::vector<PlayerAttribute> attributes = {PlayerAttribute::REPEAT, in TEST_F()
1905 PlayerAttribute::SHUFFLE}; in TEST_F()
1996 std::vector<PlayerAttribute> attributes = {PlayerAttribute::REPEAT, in TEST_F()
1997 PlayerAttribute::SHUFFLE}; in TEST_F()

12