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

Commit 6d015787 authored by bidsharma's avatar bidsharma Committed by Automerger Merge Worker
Browse files

[PANDORA_TEST] Implement SMP/PER/SCCT test on pts-bot am: a0e4ac02 am:...

[PANDORA_TEST] Implement SMP/PER/SCCT test on pts-bot am: a0e4ac02 am: 7a1f246a am: 74efeffe am: 7a384c23 am: b4258221

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2235175



Change-Id: I0f16cd37a54b73df25a2aabb78c16b7f6ae70725
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 768e85a4 b4258221
Loading
Loading
Loading
Loading
+20 −1
Original line number Diff line number Diff line
@@ -140,12 +140,31 @@ class SMProxy(ProfileProxy):

        return "OK"

    @assert_description
    def MMI_IUT_ACCEPT_CONNECTION_BR_EDR(self, **kwargs):
        """
        Please prepare IUT into a connectable mode in BR/EDR.

        Description:
        Verify that the Implementation Under Test (IUT) can accept a connect
        request from PTS.
        """

        return "OK"

    @assert_description
    def _mmi_2001(self, **kwargs):
        """
        Please verify the passKey is correct: 000000
        """
        return "OK"

    def _handle_pairing_requests(self):

        def task():
            pairing_events = self.security.OnPairing()
            for event in pairing_events:
                if event.just_works:
                if event.just_works or event.numeric_comparison:
                    pairing_events.send(event=event, confirm=True)
                if event.passkey_entry_request:
                    try:
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@
        <option name="profile" value="SM/PER/KDU" />
        <option name="profile" value="SM/PER/SCJW" />
        <option name="profile" value="SM/PER/SCPK" />
        <option name="profile" value="SM/PER/SCCT" />
        <option name="profile" value="HOGP/RH" />
    </test>
</configuration>
+5 −1
Original line number Diff line number Diff line
@@ -413,7 +413,11 @@
    "SM/CEN/SCPK/BV-04-C",
    "SM/PER/SCJW/BV-02-C",
    "SM/PER/SCPK/BI-04-C",
    "SM/PER/SCPK/BV-03-C"
    "SM/PER/SCPK/BV-03-C",
    "SM/PER/SCCT/BV-04-C",
    "SM/PER/SCCT/BV-06-C",
    "SM/PER/SCCT/BV-08-C",
    "SM/PER/SCCT/BV-10-C"
  ],
  "ics": {
    "TSPC_4.0HCI_1a_2": true,