parameters: (self, pid)
return_statement: return AndroidProcess(self, pid, proc['name'])
docstring: Returns an instance of |AndroidProcess| (None if not found).
docstring_summary: Returns an instance of |AndroidProcess| (None if not found).
docstring_tokens: Returns an instance of |AndroidProcess| ( None if not found ) .
function: def GetProcess(self, pid):
      """Returns an instance of |AndroidProcess| (None if not found)."""
      assert(isinstance(pid, int))
      sys_stats = self.UpdateAndGetSystemStats()
      proc = sys_stats['processes'].get(str(pid))
      if not proc:
        return None
      return AndroidProcess(self, pid, proc['name'])
function_tokens: def GetProcess ( self , pid ) : assert ( isinstance ( pid , int ) ) sys_stats = self . UpdateAndGetSystemStats ( ) proc = sys_stats [ 'processes' ] . get ( str ( pid ) ) if not proc : return None return AndroidProcess ( self , pid , proc [ 'name' ] )