parameters: (self, package)
docstring: Get the installation time of a package.
docstring_summary: Get the installation time of a package.
docstring_tokens: Get the installation time of a package .
function: def GetInstallTime(self, package):
      """Get the installation time of a package."""
      _, stdout, _, _ = self._Shell("dumpsys package %s" % package)
      match = re.search("firstInstallTime=(.*)$", stdout, re.MULTILINE)
      if match:
        return match.group(1)
      else:
        return None
function_tokens: def GetInstallTime ( self , package ) : _ , stdout , _ , _ = self . _Shell ( "dumpsys package %s" % package ) match = re . search ( "firstInstallTime=(.*)$" , stdout , re . MULTILINE ) if match : return match . group ( 1 ) else : return None