Home
last modified time | relevance | path

Searched refs:CommandFailedError (Results 1 – 24 of 24) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Ddecorators_test.py48 raise device_errors.CommandFailedError('testCommand failed')
50 with self.assertRaises(device_errors.CommandFailedError):
96 raise device_errors.CommandFailedError('Command failed :(')
98 with self.assertRaises(device_errors.CommandFailedError):
147 raise device_errors.CommandFailedError('testCommand failed')
149 with self.assertRaises(device_errors.CommandFailedError):
154 with self.assertRaises(device_errors.CommandFailedError):
211 raise device_errors.CommandFailedError('testCommand failed')
213 with self.assertRaises(device_errors.CommandFailedError):
257 raise device_errors.CommandFailedError('testCommand failed')
[all …]
Ddevice_errors.py33 class CommandFailedError(base_error.BaseError): class
41 super(CommandFailedError, self).__init__(message)
44 return (super(CommandFailedError, self).__eq__(other)
51 class _BaseCommandFailedError(CommandFailedError):
130 class DeviceVersionError(CommandFailedError):
137 class AdbVersionError(CommandFailedError):
229 class DeviceChargingError(CommandFailedError):
236 class RootUserBuildError(CommandFailedError):
Ddevice_utils.py688 raise device_errors.CommandFailedError('$EXTERNAL_STORAGE is not set',
756 raise device_errors.CommandFailedError('Unable to fetch IMEI.')
847 raise device_errors.CommandFailedError(
875 raise device_errors.CommandFailedError(
903 raise device_errors.CommandFailedError(
937 raise device_errors.CommandFailedError('%s is not installed' % package,
945 raise device_errors.CommandFailedError(
1034 except device_errors.CommandFailedError:
1040 except device_errors.CommandFailedError:
1058 except device_errors.CommandFailedError:
[all …]
Dinstall_commands.py34 raise device_errors.CommandFailedError(
40 raise device_errors.CommandFailedError(
Dforwarder.py62 except (device_errors.CommandFailedError,
74 except (device_errors.CommandFailedError,
172 except (device_errors.CommandFailedError,
394 except device_errors.CommandFailedError:
Ddevice_utils_test.py241 side_effect=device_errors.CommandFailedError(msg, str(self.device)))
373 with self.assertRaises(device_errors.CommandFailedError):
413 with self.assertRaises(device_errors.CommandFailedError):
436 with self.assertRaises(device_errors.CommandFailedError):
521 with self.assertRaises(device_errors.CommandFailedError):
539 with self.assertRaises(device_errors.CommandFailedError):
568 with self.assertRaises(device_errors.CommandFailedError):
593 with self.assertRaises(device_errors.CommandFailedError):
638 with self.assertRaises(device_errors.CommandFailedError):
646 with self.assertRaises(device_errors.CommandFailedError):
[all …]
Dbattery_utils.py240 raise device_errors.CommandFailedError('Unable to find fuel gauge.')
281 raise device_errors.CommandFailedError(
581 raise device_errors.CommandFailedError(
Ddevice_test_case.py24 except (device_errors.CommandFailedError, device_errors.CommandTimeoutError,
Ddevice_errors_test.py33 original = device_errors.CommandFailedError('sample command failed')
Dcrash_handler_devicetest.py61 except device_errors.CommandFailedError:
Dlogcat_monitor.py289 class LogcatMonitorCommandError(device_errors.CommandFailedError):
Dfastboot_utils.py280 raise device_errors.CommandFailedError(
Dbattery_utils_test.py249 with self.assertRaises(device_errors.CommandFailedError):
505 with self.assertRaises(device_errors.CommandFailedError):
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py175 except (device_errors.CommandFailedError,
238 except device_errors.CommandFailedError:
299 except device_errors.CommandFailedError:
322 except device_errors.CommandFailedError as e:
413 raise device_errors.CommandFailedError(
436 except device_errors.CommandFailedError:
460 except device_errors.CommandFailedError:
503 raise device_errors.CommandFailedError(
530 except device_errors.CommandFailedError:
Ddevice_recovery.py100 except (device_errors.CommandTimeoutError, device_errors.CommandFailedError,
120 except (device_errors.CommandTimeoutError, device_errors.CommandFailedError,
145 except (device_errors.CommandFailedError,
160 except (device_errors.CommandFailedError,
Ddevice_status.py53 except (device_errors.CommandFailedError,
117 except device_errors.CommandFailedError:
135 except (device_errors.CommandFailedError,
Dsystem_app.py163 raise device_errors.CommandFailedError(
179 except device_errors.CommandFailedError:
210 raise device_errors.CommandFailedError(
Dwebview_app.py53 raise device_errors.CommandFailedError(
81 raise device_errors.CommandFailedError(
Ddevice_monitor.py154 except device_errors.CommandFailedError:
/external/chromium-trace/catapult/devil/docs/
Ddevice_utils.md99 CommandFailedError if root could not be enabled.
131 CommandFailedError if device_path cannot be found on the device, or
182 CommandFailedError if the external storage path could not be determined.
198 CommandFailedError if the package's data directory can't be found,
233 CommandFailedError if at_most_one=True and more than one PID is found
294 CommandFailedError on failure.
315 CommandFailedError if the external storage path could not be determined.
559 CommandFailedError if the installation fails.
584 CommandFailedError if the installation fails.
639 device_errors.CommandFailedError: If screen state cannot be found.
[all …]
/external/chromium-trace/catapult/devil/devil/android/perf/
Dperf_control.py226 except device_errors.CommandFailedError:
250 except device_errors.CommandFailedError:
/external/libchrome/build/android/pylib/
Dvalgrind_tools.py73 except device_errors.CommandFailedError as e:
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper.py153 raise device_errors.CommandFailedError('Failed to start adb server')
1171 except device_errors.CommandFailedError:
Dshared_prefs.py317 raise device_errors.CommandFailedError(