Searched refs:device_errors (Results 1 – 25 of 33) sorted by relevance
12
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators_test.py | 16 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 …]
|
D | battery_utils.py | 15 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(
|
D | device_utils.py | 30 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 …]
|
D | install_commands.py | 9 from devil.android import device_errors 35 raise device_errors.CommandFailedError( 41 raise device_errors.CommandFailedError(
|
D | decorators.py | 13 from devil.android import device_errors 59 raise device_errors.CommandTimeoutError(str(e)), None, ( 62 raise device_errors.CommandTimeoutError(str(e)), None, (
|
D | device_temp_file.py | 13 from devil.android import device_errors 42 except device_errors.AdbCommandFailedError:
|
D | device_utils_test.py | 17 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 …]
|
D | fastboot_utils.py | 15 from devil.android import device_errors 169 raise device_errors.FastbootCommandFailedError( 195 raise device_errors.CommandFailedError(
|
D | app_ui_test.py | 12 from devil.android import device_errors 79 xml_docs.append(device_errors.CommandTimeoutError('Timed out!')) 190 with self.assertRaises(device_errors.CommandTimeoutError):
|
D | md5sum.py | 10 from devil.android import device_errors 93 except device_errors.AdbShellCommandFailedError as e:
|
D | flag_changer.py | 7 from devil.android import device_errors 39 except device_errors.CommandFailedError:
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper_devicetest.py | 12 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:
|
D | adb_wrapper.py | 19 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 …]
|
D | gce_adb_wrapper.py | 17 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(
|
D | fastboot.py | 16 from devil.android import device_errors 63 raise device_errors.FastbootCommandFailedError(
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | android_device.py | 15 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/ |
D | android_temperature_monitor.py | 10 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/ |
D | script_common.py | 6 from devil.android import device_errors 17 raise device_errors.NoDevicesError() 23 raise device_errors.DeviceUnreachableError(next(iter(missing)))
|
D | script_common_test.py | 11 from devil.android import device_errors 46 with self.assertRaises(device_errors.DeviceUnreachableError): 52 with self.assertRaises(device_errors.NoDevicesError):
|
D | adb_run_shell_cmd.py | 12 from devil.android import device_errors 50 raise device_errors.NoDevicesError
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | chrome_controller.py | 12 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/ |
D | android_traceview_profiler.py | 13 from devil.android import device_errors # pylint: disable=import-error 15 device_errors = None variable 77 except device_errors.CommandFailedError:
|
D | java_heap_profiler.py | 17 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/ |
D | android_command_line_backend.py | 9 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/ |
D | reset_usb.py | 12 from devil.android import device_errors 47 raise device_errors.DeviceUnreachableError(
|
12