Example #1
0
 def __init__(self, deviceId):
     self.INTERVAL = DEFAULT_INTERVAL
     """ interval(seconds) between commands """
     self.deviceId = deviceId
     """ the serial number of the connected device """
     self.threadName = '<' + deviceId + '> '
     """ the string to represent the current test thread """
     self.resultFlag = True
     """ the test result flag (boolean) """
     AdbClient.__init__(self, serialno=self.deviceId)
     # Connect to the current device
     self.__connect()
Example #2
0
 def __del__(self):
     AdbClient.__del__(self)
     self.adbc = None
     self.deviceId = None