Searched refs:HostError (Results 1 - 14 of 14) sorted by relevance

/external/devlib/devlib/module/
H A Dandroid.py23 from devlib.exception import HostError namespace
74 raise HostError('File {} is not a tarfile'.format(image_bundle))
78 HostError('Image bundle does not contain the required partition file (see documentation)')
112 raise HostError('{} does not exist.'.format(path))
122 HostError('partitions.txt is not properly formated')
125 HostError('file {} was not found in the bundle or was misplaced'.format(pair[1]))
H A Dvexpress.py22 from devlib.exception import TargetError, HostError namespace
361 raise HostError('Image bundle {} does not appear to be a valid TAR file.'.format(bundle))
370 raise HostError(msg.format(bundle))
/external/devlib/devlib/instrument/
H A Ddaq.py7 from devlib.exception import HostError namespace
37 raise HostError('Could not import "daqpower": {}'.format(import_error_mesg))
49 raise HostError('Problem querying DAQ server: {}'.format(result.message))
69 raise HostError(result.message)
102 raise HostError(message.format(site, tempdir))
H A Dmonsoon.py7 from devlib.exception import HostError namespace
46 raise HostError(INSTALL_INSTRUCTIONS)
86 raise HostError(
H A Denergy_probe.py24 from devlib.exception import HostError namespace
46 raise HostError('caiman must be installed on the host '
81 raise HostError(
/external/devlib/devlib/utils/
H A Dserial_port.py32 from devlib.exception import HostError namespace
50 raise HostError(e.message)
H A Dandroid.py29 from devlib.exception import TargetError, HostError, DevlibError namespace
183 raise HostError(
208 raise HostError('No such file "{}"'.format(source))
266 find any device connected, :class:`devlib.exceptions.HostError` is raised.
286 raise HostError(message.format(output_length - 2))
289 raise HostError('No device is connected and available')
314 raise HostError(message)
449 raise HostError('ANDROID_HOME is not set and adb is not in PATH. '
472 raise HostError(msg.format(env.android_home))
481 raise HostError('aap
[all...]
H A Dmisc.py39 from devlib.exception import HostError, TimeoutError namespace
175 :raises HostError: if an exception is raised while trying to import one of the
187 he = HostError('Could not load {}: {}'.format(path, str(e)))
H A Dssh.py36 from devlib.exception import HostError, TargetError, TimeoutError namespace
835 raise HostError('Must have sshpass installed on the host in order to use password-based auth.')
847 raise HostError('OpenSSH must be installed on the host.')
/external/devlib/devlib/
H A D__init__.py3 from devlib.exception import DevlibError, TargetError, HostError, TargetNotRespondingError namespace
H A Dexception.py33 class HostError(DevlibError): class in inherits:DevlibError
/external/devlib/devlib/instrument/netstats/
H A D__init__.py10 from devlib.exception import TargetError, HostError namespace
76 raise HostError('APK for netstats instrument does not exist ({})'.format(apk))
/external/devlib/devlib/trace/
H A Dftrace.py25 from devlib.exception import TargetError, HostError namespace
101 raise HostError('trace-cmd binary must be installed on the host if autoreport=True.')
103 raise HostError('kernelshark binary must be installed on the host if autoview=True.')
297 raise HostError('Could not find trace-cmd. Please make sure it is installed and is in PATH.')
/external/devlib/devlib/platform/
H A Darm.py24 from devlib.exception import TargetError, HostError namespace
272 raise HostError('Channel "{}" is not in {}'.format(chan.name, temp_file))

Completed in 855 milliseconds