tools/cygprofile/profile_android_startup.py
def RunCygprofileTests(self):
    """Run the cygprofile unit tests suite on the device.

    Returns:
      The exit code for the tests.
    """
    device_path = '/data/local/tmp/cygprofile_unittests'
    self._device.PushChangedFiles([(self._cygprofile_tests, device_path)])
    try:
      self._device.RunShellCommand(device_path, check_return=True)
    except (device_errors.CommandFailedError,
            device_errors.DeviceUnreachableError):
      # TODO(jbudorick): Let the exception propagate up once clients can
      # handle it.
      logging.exception('Failure while running cygprofile_unittests:')
      return 1
    return 0
Run the cygprofile unit tests suite on the device.

    Returns:
      The exit code for the tests.
    
Run the cygprofile unit tests suite on the device.
Run the cygprofile unit tests suite on the device .
def RunCygprofileTests(self):
    device_path = '/data/local/tmp/cygprofile_unittests'
    self._device.PushChangedFiles([(self._cygprofile_tests, device_path)])
    try:
      self._device.RunShellCommand(device_path, check_return=True)
    except (device_errors.CommandFailedError,
            device_errors.DeviceUnreachableError):
      logging.exception('Failure while running cygprofile_unittests:')
      return 1
    return 0
def RunCygprofileTests ( self ) : device_path = '/data/local/tmp/cygprofile_unittests' self . _device . PushChangedFiles ( [ ( self . _cygprofile_tests , device_path ) ] ) try : self . _device . RunShellCommand ( device_path , check_return = True ) except ( device_errors . CommandFailedError , device_errors . DeviceUnreachableError ) : logging . exception ( 'Failure while running cygprofile_unittests:' ) return 1 return 0
Run the cygprofile unit tests suite on the device.
Run the cygprofile unit tests suite on the device .
"""Run the cygprofile unit tests suite on the device.

    Returns:
      The exit code for the tests.
    """ # TODO(jbudorick): Let the exception propagate up once clients can # handle it.
The exit code for the tests.
The exit code for the tests .
self