Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f52f46a authored by Jakub Rotkiewicz's avatar Jakub Rotkiewicz
Browse files

PTS tests for AVRCP Player Application Settings

AVRCP/TG/PAS/BI-02-C ICS: 7_13
AVRCP/TG/PAS/BI-04-C ICS: 7_14
AVRCP/TG/PAS/BI-05-C ICS: 7_15
AVRCP/TG/PAS/BV-02-C ICS: 7_12
AVRCP/TG/PAS/BV-06-C ICS: 7_13
AVRCP/TG/PAS/BV-10-C ICS: 7_14

Test: atest pts-bot:AVRCP
Bug: 259590659
Change-Id: I7850cfbe9eac42ddabafa8f261ac0a3d57fe1b41
parent d2a8d1bc
Loading
Loading
Loading
Loading
+69 −0
Original line number Diff line number Diff line
@@ -617,6 +617,75 @@ class AVRCPProxy(ProfileProxy):

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_reject_list_player_application_setting_values_invalid_attribute(self, **kwargs):
        """
        PTS has sent a List Player Application Setting Values command with an
        invalid Attribute Id.  The IUT must respond with the error code: Invalid
        Parameter (0x01).

        Description: Verify that the IUT can properly reject
        a List Player Application Setting Values command that contains an
        invalid attribute id.
        """

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_reject_set_player_application_setting_value_invalid_pair(self, **kwargs):
        """
        PTS has sent a Set Player Application Setting Value command with an
        invalid Attribute and Value.  The IUT must respond with the error code:
        Invalid Parameter (0x01).

        Description: Verify that the IUT can properly
        reject a Set Player Application Setting Value command that contains an
        invalid attribute and value.
        """

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_reject_get_current_player_application_setting_value_invalid_attribute(self, **kwargs):
        """
        PTS has sent a Get Current Player Application Setting Value command with
        an invalid Attribute.  The IUT must respond with the error code: Invalid
        Parameter (0x01).

        Description: Verify that the IUT can properly reject
        an Get Current Player Application Setting Value command that contains an
        invalid attribute.
        """

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_accept_get_current_player_application_setting_value(self, **kwargs):
        """
        Take action to send a valid response to the [Get Current Player
        Application Setting Value] command sent by the PTS.
        """

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_accept_list_player_application_setting_attributes(self, **kwargs):
        """
        Take action to send a valid response to the [List Player Application
        Setting Attributes] command sent by the PTS.
        """

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_accept_list_player_application_setting_values(self, **kwargs):
        """
        Take action to send a valid response to the [List Player Application
        Setting Values] command sent by the PTS.
        """

        return "OK"

    @assert_description
    def TSC_AVRCP_mmi_iut_reject_set_addressed_player_invalid_player_id(self, **kwargs):
        """
+10 −0
Original line number Diff line number Diff line
@@ -155,6 +155,12 @@
    "AVRCP/TG/NFY/BV-02-C",
    "AVRCP/TG/NFY/BV-06-C",
    "AVRCP/TG/NFY/BV-07-C",
    "AVRCP/TG/PAS/BI-02-C",
    "AVRCP/TG/PAS/BI-04-C",
    "AVRCP/TG/PAS/BI-05-C",
    "AVRCP/TG/PAS/BV-02-C",
    "AVRCP/TG/PAS/BV-06-C",
    "AVRCP/TG/PAS/BV-10-C",
    "AVRCP/TG/PTT/BV-01-I",
    "AVRCP/TG/PTT/BV-05-I",
    "AVRCP/TG/RCR/BV-02-C",
@@ -1223,6 +1229,10 @@
    "TSPC_AVRCP_7_6": true,
    "TSPC_AVRCP_7_7": true,
    "TSPC_AVRCP_7_11": true,
    "TSPC_AVRCP_7_12": true,
    "TSPC_AVRCP_7_13": true,
    "TSPC_AVRCP_7_14": true,
    "TSPC_AVRCP_7_15": true,
    "TSPC_AVRCP_7_20": true,
    "TSPC_AVRCP_7_21": true,
    "TSPC_AVRCP_7_22": true,