示例#1
0
 def _create_client(self):
     """创建新的Client实例
     """
     sock = self._adb.create_tunnel(self._process_name, "localabstract")
     if sock == None:
         return None
     return DirectAndroidSpyClient(sock, timeout=360)
示例#2
0
 def _create_client(self, server_name, server_type):
     """创建Client实例
     """
     sock = self._adb.create_tunnel(server_name, server_type)
     if sock == None:
         return None
     return DirectAndroidSpyClient(sock, False, timeout=360)