Loading android/pandora/mmi2grpc/mmi2grpc/l2cap.py +43 −2 Original line number Diff line number Diff line Loading @@ -370,7 +370,18 @@ class L2CAPProxy(ProfileProxy): The Implementation Under Test(IUT) should disconnect ACL channel by sending a disconnect request to PTS. """ # Skipping disconnect for below test cases as host.disconnect grpc is not concluded (there is no profile disconnection). tests_to_skip_disconnect = [ "L2CAP/COS/CED/BV-01-C", "L2CAP/COS/CED/BV-04-C", "L2CAP/COS/CED/BV-09-C", "L2CAP/COS/CFD/BV-08-C", "L2CAP/CMC/BI-05-C", "L2CAP/CMC/BI-06-C", ] if test not in tests_to_skip_disconnect: self.host.Disconnect(connection=self.connection) return "OK" def MMI_TESTER_ENABLE_CONNECTION(self, **kwargs): Loading @@ -393,7 +404,7 @@ class L2CAPProxy(ProfileProxy): should create ACL connection request to PTS. """ self.pairing_events = self.security.OnPairing() self.connection = self.host.Connect(address=pts_addr, manually_confirm=True).connection self.connection = self.host.Connect(address=pts_addr).connection return "OK" @assert_description Loading Loading @@ -452,3 +463,33 @@ class L2CAPProxy(ProfileProxy): """ return "OK" @assert_description def MMI_IUT_DISABLE_CONNECTION(self, **kwargs): """ Initiate an L2CAP disconnection from the IUT to the PTS. Description : The Implementation Under Test(IUT) should disconnect the active L2CAP channel by sending a disconnect request to PTS. """ return "OK" @assert_description def MMI_IUT_SEND_CONFIGURE_CONNECTION_ACCORDING_TO_FEATURE(self, **kwargs): """ Please initiate Information Request procedure to discover supported features and configure connection. """ return "OK" @assert_description def MMI_IUT_REPORT_ERROR(self, **kwargs): """ Did the Implementation Under Test(IUT) inform the Upper Tester the connection attempt failed? """ return "OK" android/pandora/server/configs/PtsBotTest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ <option name="profile" value="HFP/HF" /> <option name="profile" value="HID/HOS" /> <option name="profile" value="HOGP" /> <option name="profile" value="L2CAP/CMC" /> <option name="profile" value="L2CAP/COS" /> <option name="profile" value="L2CAP/EXF" /> <option name="profile" value="L2CAP/LE" /> Loading android/pandora/server/configs/PtsBotTestMts.xml +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ <option name="profile" value="HFP/HF" /> <option name="profile" value="HID/HOS" /> <option name="profile" value="HOGP" /> <option name="profile" value="L2CAP/CMC" /> <option name="profile" value="L2CAP/COS" /> <option name="profile" value="L2CAP/EXF" /> <option name="profile" value="L2CAP/LE" /> Loading android/pandora/server/configs/pts_bot_tests_config.json +25 −4 Original line number Diff line number Diff line Loading @@ -318,11 +318,19 @@ "HOGP/RH/HGRF/BV-08-I", "HOGP/RH/HGRF/BV-10-I", "HOGP/RH/HGRF/BV-12-I", "L2CAP/CMC/BI-05-C", "L2CAP/CMC/BI-06-C", "L2CAP/CMC/BV-09-C", "L2CAP/CMC/BV-12-C", "L2CAP/CMC/BV-13-C", "L2CAP/COS/CED/BI-01-C", "L2CAP/COS/CED/BV-01-C", "L2CAP/COS/CED/BV-03-C", "L2CAP/COS/CED/BV-04-C", "L2CAP/COS/CED/BV-05-C", "L2CAP/COS/CED/BV-07-C", "L2CAP/COS/CED/BV-08-C", "L2CAP/COS/CED/BV-09-C", "L2CAP/COS/CED/BV-11-C", "L2CAP/COS/CFC/BV-01-C", "L2CAP/COS/CFC/BV-02-C", Loading @@ -330,6 +338,7 @@ "L2CAP/COS/CFC/BV-04-C", "L2CAP/COS/CFD/BV-02-C", "L2CAP/COS/CFD/BV-03-C", "L2CAP/COS/CFD/BV-08-C", "L2CAP/COS/CFD/BV-11-C", "L2CAP/COS/CFD/BV-12-C", "L2CAP/COS/CFD/BV-14-C", Loading Loading @@ -768,16 +777,28 @@ "HFP/HF/ECC/BV-02-I", "HFP/HF/ECS/BV-01-I", "HID/HOS/HCR/BV-01-I", "L2CAP/CMC/BI-01-C", "L2CAP/CMC/BI-02-C", "L2CAP/CMC/BI-03-C", "L2CAP/CMC/BI-04-C", "L2CAP/CMC/BV-01-C", "L2CAP/CMC/BV-02-C", "L2CAP/CMC/BV-03-C", "L2CAP/CMC/BV-04-C", "L2CAP/CMC/BV-05-C", "L2CAP/CMC/BV-06-C", "L2CAP/CMC/BV-07-C", "L2CAP/CMC/BV-08-C", "L2CAP/CMC/BV-10-C", "L2CAP/CMC/BV-11-C", "L2CAP/CMC/BV-14-C", "L2CAP/CMC/BV-15-C", "L2CAP/COS/CED/BI-02-C", "L2CAP/COS/CED/BV-01-C", "L2CAP/COS/CED/BV-04-C", "L2CAP/COS/CED/BV-09-C", "L2CAP/COS/CED/BV-10-C", "L2CAP/COS/CED/BV-12-C", "L2CAP/COS/CED/BV-13-C", "L2CAP/COS/CFD/BV-01-C", "L2CAP/COS/CFD/BV-09-C", "L2CAP/COS/CFD/BV-08-C", "L2CAP/COS/CFD/BV-10-C", "L2CAP/COS/CFD/BV-13-C", "L2CAP/COS/CFC/BV-05-C", Loading Loading
android/pandora/mmi2grpc/mmi2grpc/l2cap.py +43 −2 Original line number Diff line number Diff line Loading @@ -370,7 +370,18 @@ class L2CAPProxy(ProfileProxy): The Implementation Under Test(IUT) should disconnect ACL channel by sending a disconnect request to PTS. """ # Skipping disconnect for below test cases as host.disconnect grpc is not concluded (there is no profile disconnection). tests_to_skip_disconnect = [ "L2CAP/COS/CED/BV-01-C", "L2CAP/COS/CED/BV-04-C", "L2CAP/COS/CED/BV-09-C", "L2CAP/COS/CFD/BV-08-C", "L2CAP/CMC/BI-05-C", "L2CAP/CMC/BI-06-C", ] if test not in tests_to_skip_disconnect: self.host.Disconnect(connection=self.connection) return "OK" def MMI_TESTER_ENABLE_CONNECTION(self, **kwargs): Loading @@ -393,7 +404,7 @@ class L2CAPProxy(ProfileProxy): should create ACL connection request to PTS. """ self.pairing_events = self.security.OnPairing() self.connection = self.host.Connect(address=pts_addr, manually_confirm=True).connection self.connection = self.host.Connect(address=pts_addr).connection return "OK" @assert_description Loading Loading @@ -452,3 +463,33 @@ class L2CAPProxy(ProfileProxy): """ return "OK" @assert_description def MMI_IUT_DISABLE_CONNECTION(self, **kwargs): """ Initiate an L2CAP disconnection from the IUT to the PTS. Description : The Implementation Under Test(IUT) should disconnect the active L2CAP channel by sending a disconnect request to PTS. """ return "OK" @assert_description def MMI_IUT_SEND_CONFIGURE_CONNECTION_ACCORDING_TO_FEATURE(self, **kwargs): """ Please initiate Information Request procedure to discover supported features and configure connection. """ return "OK" @assert_description def MMI_IUT_REPORT_ERROR(self, **kwargs): """ Did the Implementation Under Test(IUT) inform the Upper Tester the connection attempt failed? """ return "OK"
android/pandora/server/configs/PtsBotTest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ <option name="profile" value="HFP/HF" /> <option name="profile" value="HID/HOS" /> <option name="profile" value="HOGP" /> <option name="profile" value="L2CAP/CMC" /> <option name="profile" value="L2CAP/COS" /> <option name="profile" value="L2CAP/EXF" /> <option name="profile" value="L2CAP/LE" /> Loading
android/pandora/server/configs/PtsBotTestMts.xml +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ <option name="profile" value="HFP/HF" /> <option name="profile" value="HID/HOS" /> <option name="profile" value="HOGP" /> <option name="profile" value="L2CAP/CMC" /> <option name="profile" value="L2CAP/COS" /> <option name="profile" value="L2CAP/EXF" /> <option name="profile" value="L2CAP/LE" /> Loading
android/pandora/server/configs/pts_bot_tests_config.json +25 −4 Original line number Diff line number Diff line Loading @@ -318,11 +318,19 @@ "HOGP/RH/HGRF/BV-08-I", "HOGP/RH/HGRF/BV-10-I", "HOGP/RH/HGRF/BV-12-I", "L2CAP/CMC/BI-05-C", "L2CAP/CMC/BI-06-C", "L2CAP/CMC/BV-09-C", "L2CAP/CMC/BV-12-C", "L2CAP/CMC/BV-13-C", "L2CAP/COS/CED/BI-01-C", "L2CAP/COS/CED/BV-01-C", "L2CAP/COS/CED/BV-03-C", "L2CAP/COS/CED/BV-04-C", "L2CAP/COS/CED/BV-05-C", "L2CAP/COS/CED/BV-07-C", "L2CAP/COS/CED/BV-08-C", "L2CAP/COS/CED/BV-09-C", "L2CAP/COS/CED/BV-11-C", "L2CAP/COS/CFC/BV-01-C", "L2CAP/COS/CFC/BV-02-C", Loading @@ -330,6 +338,7 @@ "L2CAP/COS/CFC/BV-04-C", "L2CAP/COS/CFD/BV-02-C", "L2CAP/COS/CFD/BV-03-C", "L2CAP/COS/CFD/BV-08-C", "L2CAP/COS/CFD/BV-11-C", "L2CAP/COS/CFD/BV-12-C", "L2CAP/COS/CFD/BV-14-C", Loading Loading @@ -768,16 +777,28 @@ "HFP/HF/ECC/BV-02-I", "HFP/HF/ECS/BV-01-I", "HID/HOS/HCR/BV-01-I", "L2CAP/CMC/BI-01-C", "L2CAP/CMC/BI-02-C", "L2CAP/CMC/BI-03-C", "L2CAP/CMC/BI-04-C", "L2CAP/CMC/BV-01-C", "L2CAP/CMC/BV-02-C", "L2CAP/CMC/BV-03-C", "L2CAP/CMC/BV-04-C", "L2CAP/CMC/BV-05-C", "L2CAP/CMC/BV-06-C", "L2CAP/CMC/BV-07-C", "L2CAP/CMC/BV-08-C", "L2CAP/CMC/BV-10-C", "L2CAP/CMC/BV-11-C", "L2CAP/CMC/BV-14-C", "L2CAP/CMC/BV-15-C", "L2CAP/COS/CED/BI-02-C", "L2CAP/COS/CED/BV-01-C", "L2CAP/COS/CED/BV-04-C", "L2CAP/COS/CED/BV-09-C", "L2CAP/COS/CED/BV-10-C", "L2CAP/COS/CED/BV-12-C", "L2CAP/COS/CED/BV-13-C", "L2CAP/COS/CFD/BV-01-C", "L2CAP/COS/CFD/BV-09-C", "L2CAP/COS/CFD/BV-08-C", "L2CAP/COS/CFD/BV-10-C", "L2CAP/COS/CFD/BV-13-C", "L2CAP/COS/CFC/BV-05-C", Loading