def forward(self, local_port, device_port):
        return self.cmd("forward", "tcp:%d" % local_port, "tcp:%d" % device_port).wait()
adb port forward. return 0 if success, else non-zero.
dataset/ETHPy150Open xiaocong/uiautomator/uiautomator/__init__.py/Adb.forward