/packages/modules/Bluetooth/system/packet/tests/avrcp/ |
D | get_current_player_application_setting_value_test.cc | 34 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()
|
D | register_notification_packet_test.cc | 131 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()
|
D | list_player_application_setting_attributes_test.cc | 31 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST() 32 PlayerAttribute::SHUFFLE}; in TEST()
|
D | set_player_application_setting_value_test.cc | 33 std::vector<PlayerAttribute> attrs = {PlayerAttribute::REPEAT, in TEST() 34 PlayerAttribute::SHUFFLE}; in TEST()
|
D | list_player_application_setting_values_test.cc | 38 ASSERT_EQ(test_packet->GetRequestedAttribute(), PlayerAttribute::REPEAT); in TEST()
|
/packages/modules/Bluetooth/system/include/hardware/avrcp/ |
D | avrcp.h | 83 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,
|
D | avrcp_logging_helper.h | 244 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 {};
|
D | avrcp_common.h | 150 enum class PlayerAttribute : uint8_t { enum
|
/packages/modules/Bluetooth/system/packet/avrcp/ |
D | get_current_player_application_setting_value.h | 32 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;
|
D | get_current_player_application_setting_value.cc | 24 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()
|
D | list_player_application_setting_attributes.h | 32 MakeBuilder(std::vector<PlayerAttribute> attributes); 39 std::vector<PlayerAttribute> attributes_; 42 std::vector<PlayerAttribute> attributes) in ListPlayerApplicationSettingAttributesResponseBuilder()
|
D | set_player_application_setting_value.cc | 52 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()
|
D | list_player_application_setting_values.cc | 54 PlayerAttribute 57 return static_cast<PlayerAttribute>(it.extract8()); in GetRequestedAttribute()
|
D | register_notification_packet.h | 73 std::vector<PlayerAttribute> attributes, 101 PlayerAttribute attributes[4];
|
D | list_player_application_setting_attributes.cc | 24 std::vector<PlayerAttribute> attributes) { in MakeBuilder()
|
D | set_player_application_setting_value.h | 71 std::vector<PlayerAttribute> GetRequestedAttributes() const;
|
D | list_player_application_setting_values.h | 71 PlayerAttribute GetRequestedAttribute() const;
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | device.cc | 263 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 …]
|
D | device.h | 195 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/ |
D | avrcp_device_fuzz.cc | 53 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/ |
D | com_android_bluetooth_avrcp_target.cpp | 71 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/ |
D | avrcp_service.cc | 333 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()
|
D | avrcp_service.h | 76 void SendPlayerSettingsChanged(std::vector<PlayerAttribute> attributes,
|
/packages/modules/Bluetooth/system/profile/avrcp/tests/ |
D | avrcp_test_helper.h | 68 void(PlayerAttribute, ListPlayerSettingValuesCallback)); 70 void(std::vector<PlayerAttribute>, 73 void(std::vector<PlayerAttribute>, std::vector<uint8_t>,
|
D | avrcp_device_test.cc | 195 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()
|