Loading android/pandora/mmi2grpc/mmi2grpc/sm.py +25 −0 Original line number Diff line number Diff line Loading @@ -54,9 +54,11 @@ class SMProxy(ProfileProxy): """ Please start pairing process. """ def secure(): if self.connection: self.security.Secure(connection=self.connection, le=LE_LEVEL3) Thread(target=secure).start() return "OK" Loading Loading @@ -96,6 +98,7 @@ class SMProxy(ProfileProxy): connectable=True, own_address_type=PUBLIC, ) return "OK" @assert_description Loading Loading @@ -165,6 +168,28 @@ class SMProxy(ProfileProxy): """ return "OK" @assert_description def MMI_IUT_INITIATE_CONNECTION_BR_EDR_PAIRING(self, test: str, pts_addr: bytes, **kwargs): """ Please initiate a connection over BR/EDR to the PTS, and initiate pairing process. Description: Verify that the Implementation Under Test (IUT) can initiate a connect request over BR/EDR to PTS, and initiate pairing process. """ self.connection = self.host.Connect(address=pts_addr).connection return "OK" @assert_description def MMI_ASK_IUT_PERFORM_FEATURE_EXCHANGE_OVER_BR(self, **kwargs): """ Please start pairing feature exchange over BR/EDR. """ return "OK" def _handle_pairing_requests(self): def task(): Loading android/pandora/server/configs/pts_bot_tests_config.json +6 −6 Original line number Diff line number Diff line Loading @@ -631,6 +631,8 @@ "SM/CEN/PKE/BI-02-C", "SM/CEN/PKE/BV-04-C", "SM/CEN/PROT/BV-01-C", "SM/CEN/SCCT/BV-03-C", "SM/CEN/SCCT/BV-05-C", "SM/CEN/SCJW/BI-01-C", "SM/CEN/SCJW/BV-04-C", "SM/CEN/SCPK/BI-01-C", Loading @@ -650,6 +652,10 @@ "SM/PER/PKE/BV-02-C", "SM/PER/PKE/BV-05-C", "SM/PER/PROT/BV-02-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", "SM/PER/SCJW/BI-02-C", "SM/PER/SCJW/BV-03-C", "SM/PER/SCPK/BI-03-C", Loading Loading @@ -916,8 +922,6 @@ "RFCOMM/DEVA-DEVB/RFC/BV-21-C", "RFCOMM/DEVA-DEVB/RFC/BV-22-C", "SM/CEN/PKE/BV-01-C", "SM/CEN/SCCT/BV-03-C", "SM/CEN/SCCT/BV-05-C", "SM/CEN/SCCT/BV-07-C", "SM/CEN/SCCT/BV-09-C", "SM/CEN/SCJW/BV-01-C", Loading @@ -925,10 +929,6 @@ "SM/CEN/SCPK/BV-01-C", "SM/CEN/SCPK/BV-04-C", "SM/CEN/SIP/BV-02-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", "SM/PER/SCJW/BV-02-C", "SM/PER/SCPK/BI-04-C", "SM/PER/SCPK/BV-03-C", Loading Loading
android/pandora/mmi2grpc/mmi2grpc/sm.py +25 −0 Original line number Diff line number Diff line Loading @@ -54,9 +54,11 @@ class SMProxy(ProfileProxy): """ Please start pairing process. """ def secure(): if self.connection: self.security.Secure(connection=self.connection, le=LE_LEVEL3) Thread(target=secure).start() return "OK" Loading Loading @@ -96,6 +98,7 @@ class SMProxy(ProfileProxy): connectable=True, own_address_type=PUBLIC, ) return "OK" @assert_description Loading Loading @@ -165,6 +168,28 @@ class SMProxy(ProfileProxy): """ return "OK" @assert_description def MMI_IUT_INITIATE_CONNECTION_BR_EDR_PAIRING(self, test: str, pts_addr: bytes, **kwargs): """ Please initiate a connection over BR/EDR to the PTS, and initiate pairing process. Description: Verify that the Implementation Under Test (IUT) can initiate a connect request over BR/EDR to PTS, and initiate pairing process. """ self.connection = self.host.Connect(address=pts_addr).connection return "OK" @assert_description def MMI_ASK_IUT_PERFORM_FEATURE_EXCHANGE_OVER_BR(self, **kwargs): """ Please start pairing feature exchange over BR/EDR. """ return "OK" def _handle_pairing_requests(self): def task(): Loading
android/pandora/server/configs/pts_bot_tests_config.json +6 −6 Original line number Diff line number Diff line Loading @@ -631,6 +631,8 @@ "SM/CEN/PKE/BI-02-C", "SM/CEN/PKE/BV-04-C", "SM/CEN/PROT/BV-01-C", "SM/CEN/SCCT/BV-03-C", "SM/CEN/SCCT/BV-05-C", "SM/CEN/SCJW/BI-01-C", "SM/CEN/SCJW/BV-04-C", "SM/CEN/SCPK/BI-01-C", Loading @@ -650,6 +652,10 @@ "SM/PER/PKE/BV-02-C", "SM/PER/PKE/BV-05-C", "SM/PER/PROT/BV-02-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", "SM/PER/SCJW/BI-02-C", "SM/PER/SCJW/BV-03-C", "SM/PER/SCPK/BI-03-C", Loading Loading @@ -916,8 +922,6 @@ "RFCOMM/DEVA-DEVB/RFC/BV-21-C", "RFCOMM/DEVA-DEVB/RFC/BV-22-C", "SM/CEN/PKE/BV-01-C", "SM/CEN/SCCT/BV-03-C", "SM/CEN/SCCT/BV-05-C", "SM/CEN/SCCT/BV-07-C", "SM/CEN/SCCT/BV-09-C", "SM/CEN/SCJW/BV-01-C", Loading @@ -925,10 +929,6 @@ "SM/CEN/SCPK/BV-01-C", "SM/CEN/SCPK/BV-04-C", "SM/CEN/SIP/BV-02-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", "SM/PER/SCJW/BV-02-C", "SM/PER/SCPK/BI-04-C", "SM/PER/SCPK/BV-03-C", Loading