Loading android/pandora/mmi2grpc/mmi2grpc/__init__.py +0 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ from mmi2grpc.hfp import HFPProxy from mmi2grpc.hogp import HOGPProxy from mmi2grpc.sdp import SDPProxy from mmi2grpc.sm import SMProxy from mmi2grpc._rootcanal import RootCanal from mmi2grpc._helpers import format_proxy from pandora.host_grpc import Host Loading Loading @@ -70,7 +69,6 @@ class IUT: """Resets the IUT when starting a PTS test.""" # Note: we don't keep a single gRPC channel instance in the IUT class # because reset is allowed to close the gRPC server. RootCanal().reconnect_phone() with grpc.insecure_channel(f'localhost:{self.port}') as channel: self._retry(Host(channel).HardReset)(wait_for_ready=True) Loading Loading
android/pandora/mmi2grpc/mmi2grpc/__init__.py +0 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ from mmi2grpc.hfp import HFPProxy from mmi2grpc.hogp import HOGPProxy from mmi2grpc.sdp import SDPProxy from mmi2grpc.sm import SMProxy from mmi2grpc._rootcanal import RootCanal from mmi2grpc._helpers import format_proxy from pandora.host_grpc import Host Loading Loading @@ -70,7 +69,6 @@ class IUT: """Resets the IUT when starting a PTS test.""" # Note: we don't keep a single gRPC channel instance in the IUT class # because reset is allowed to close the gRPC server. RootCanal().reconnect_phone() with grpc.insecure_channel(f'localhost:{self.port}') as channel: self._retry(Host(channel).HardReset)(wait_for_ready=True) Loading