Home
last modified time | relevance | path

Searched refs:device_errors (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium-trace/catapult/devil/devil/android/
Ddecorators_test.py16 from devil.android import device_errors
36 with self.assertRaises(device_errors.CommandTimeoutError):
49 raise device_errors.CommandFailedError('testCommand failed')
51 with self.assertRaises(device_errors.CommandFailedError):
82 with self.assertRaises(device_errors.CommandTimeoutError) as e:
90 return not isinstance(exc, device_errors.NoAdbError)
97 raise device_errors.CommandFailedError('Command failed :(')
99 with self.assertRaises(device_errors.CommandFailedError):
105 return not isinstance(exc, device_errors.NoAdbError)
112 raise device_errors.NoAdbError()
[all …]
Dbattery_utils.py15 from devil.android import device_errors
182 raise device_errors.CommandFailedError(
213 except device_errors.AdbShellCommandFailedError:
218 except device_errors.AdbShellCommandFailedError:
255 raise device_errors.DeviceVersionError(
263 raise device_errors.CommandFailedError(
397 raise device_errors.DeviceVersionError('Device must be L or higher.')
471 raise device_errors.DeviceChargingError(
550 raise device_errors.CommandFailedError(
622 raise device_errors.CommandFailedError(
Ddevice_utils.py30 from devil.android import device_errors
152 raise device_errors.CommandFailedError('Failed to start adb server')
292 except device_errors.AdbCommandFailedError:
319 except device_errors.AdbCommandFailedError:
341 raise device_errors.CommandFailedError(
389 raise device_errors.CommandFailedError('$EXTERNAL_STORAGE is not set',
429 raise device_errors.CommandFailedError(
454 raise device_errors.CommandFailedError(
475 except device_errors.CommandFailedError:
502 except device_errors.AdbCommandFailedError:
[all …]
Dinstall_commands.py9 from devil.android import device_errors
35 raise device_errors.CommandFailedError(
41 raise device_errors.CommandFailedError(
Ddecorators.py13 from devil.android import device_errors
59 raise device_errors.CommandTimeoutError(str(e)), None, (
62 raise device_errors.CommandTimeoutError(str(e)), None, (
Ddevice_temp_file.py13 from devil.android import device_errors
42 except device_errors.AdbCommandFailedError:
Ddevice_utils_test.py17 from devil.android import device_errors
152 return mock.Mock(side_effect=device_errors.AdbCommandFailedError(
158 return mock.Mock(side_effect=device_errors.CommandFailedError(
163 raise device_errors.AdbShellCommandFailedError(
172 return mock.Mock(side_effect=device_errors.CommandTimeoutError(
281 with self.assertRaises(device_errors.CommandFailedError):
288 with self.assertRaises(device_errors.CommandFailedError):
315 with self.assertRaises(device_errors.CommandFailedError):
345 with self.assertRaises(device_errors.CommandFailedError):
375 with self.assertRaises(device_errors.CommandFailedError):
[all …]
Dfastboot_utils.py15 from devil.android import device_errors
169 raise device_errors.FastbootCommandFailedError(
195 raise device_errors.CommandFailedError(
Dapp_ui_test.py12 from devil.android import device_errors
79 xml_docs.append(device_errors.CommandTimeoutError('Timed out!'))
190 with self.assertRaises(device_errors.CommandTimeoutError):
Dmd5sum.py10 from devil.android import device_errors
93 except device_errors.AdbShellCommandFailedError as e:
Dflag_changer.py7 from devil.android import device_errors
39 except device_errors.CommandFailedError:
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper_devicetest.py12 from devil.android import device_errors
44 with self.assertRaises(device_errors.AdbCommandFailedError):
62 with self.assertRaises(device_errors.AdbCommandFailedError):
66 with self.assertRaises(device_errors.AdbCommandFailedError):
70 with self.assertRaises(device_errors.AdbCommandFailedError):
90 except device_errors.AdbCommandFailedError:
Dadb_wrapper.py19 from devil.android import device_errors
64 raise device_errors.NoAdbError()
68 return not isinstance(exc, device_errors.NoAdbError)
118 raise device_errors.NoAdbError(msg=str(e))
123 raise device_errors.AdbCommandFailedError(
129 raise device_errors.AdbCommandFailedError(args, output)
283 raise device_errors.AdbCommandFailedError(
319 raise device_errors.AdbShellCommandFailedError(
323 raise device_errors.AdbShellCommandFailedError(
361 raise device_errors.AdbCommandFailedError(
[all …]
Dgce_adb_wrapper.py17 from devil.android import device_errors
77 raise device_errors.AdbCommandFailedError(
102 raise device_errors.AdbCommandFailedError(
110 raise device_errors.AdbCommandFailedError(
140 raise device_errors.AdbCommandFailedError(
Dfastboot.py16 from devil.android import device_errors
63 raise device_errors.FastbootCommandFailedError(
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_device.py15 from devil.android import device_errors
142 except device_errors.NoAdbError:
176 except (device_errors.CommandFailedError, device_errors.CommandTimeoutError,
177 device_errors.NoAdbError, OSError):
195 except device_errors.NoAdbError as e:
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dandroid_temperature_monitor.py10 from devil.android import device_errors # pylint: disable=import-error
12 device_errors = None variable
51 except device_errors.CommandFailedError:
/external/chromium-trace/catapult/devil/devil/android/tools/
Dscript_common.py6 from devil.android import device_errors
17 raise device_errors.NoDevicesError()
23 raise device_errors.DeviceUnreachableError(next(iter(missing)))
Dscript_common_test.py11 from devil.android import device_errors
46 with self.assertRaises(device_errors.DeviceUnreachableError):
52 with self.assertRaises(device_errors.NoDevicesError):
Dadb_run_shell_cmd.py12 from devil.android import device_errors
50 raise device_errors.NoDevicesError
/external/chromium-trace/catapult/systrace/profile_chrome/
Dchrome_controller.py12 from devil.android import device_errors
47 except device_errors.CommandTimeoutError:
87 except device_errors.CommandTimeoutError:
110 except device_errors.AdbCommandFailedError:
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dandroid_traceview_profiler.py13 from devil.android import device_errors # pylint: disable=import-error
15 device_errors = None variable
77 except device_errors.CommandFailedError:
Djava_heap_profiler.py17 from devil.android import device_errors # pylint: disable=import-error
19 device_errors = None variable
96 except device_errors.CommandFailedError:
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_command_line_backend.py9 from devil.android import device_errors # pylint: disable=import-error
83 except device_errors.CommandFailedError:
88 except device_errors.CommandFailedError as exc:
/external/chromium-trace/catapult/devil/devil/utils/
Dreset_usb.py12 from devil.android import device_errors
47 raise device_errors.DeviceUnreachableError(

12