parameters: (self, adb, suffix='', prefix='temp_file', dir='/data/local/tmp')
docstring: Find an unused temporary file path on the device.
  
      When this object is closed, the file will be deleted on the device.
  
      Args:
        adb: An instance of AdbWrapper
        suffix: The suffix of the name of the temp file.
        prefix: The prefix of the name of the temp file.
        dir: The directory on the device where to place the temp file.
docstring_summary: Find an unused temporary file path on the device.
docstring_tokens: Find an unused temporary file path on the device .
function: def __init__(self, adb, suffix='', prefix='temp_file', dir='/data/local/tmp'):
      """Find an unused temporary file path on the device.
  
      When this object is closed, the file will be deleted on the device.
  
      Args:
        adb: An instance of AdbWrapper
        suffix: The suffix of the name of the temp file.
        prefix: The prefix of the name of the temp file.
        dir: The directory on the device where to place the temp file.
      """
      self._adb = adb
      # Python's random module use 52-bit numbers according to its docs.
      random_hex = hex(random.randint(0, 2 ** 52))[2:]
      self.name = posixpath.join(dir, '%s-%s%s' % (prefix, random_hex, suffix))
      self.name_quoted = cmd_helper.SingleQuote(self.name)
function_tokens: def __init__ ( self , adb , suffix = '' , prefix = 'temp_file' , dir = '/data/local/tmp' ) : self . _adb = adb # Python's random module use 52-bit numbers according to its docs. random_hex = hex ( random . randint ( 0 , 2 ** 52 ) ) [ 2 : ] self . name = posixpath . join ( dir , '%s-%s%s' % ( prefix , random_hex , suffix ) ) self . name_quoted = cmd_helper . SingleQuote ( self . name )