1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 13:40:48 +00:00
This commit is contained in:
Sebastian Goscik 2016-02-15 15:21:40 +00:00
parent 880a0bcb7c
commit aab487c1ac
3 changed files with 4 additions and 7 deletions

View File

@ -88,4 +88,3 @@ class Platform(object):
if core != self.big_core: if core != self.big_core:
self.little_core = core self.little_core = core
break break

View File

@ -669,7 +669,6 @@ class AndroidTarget(Target):
else: else:
return (0, 0) return (0, 0)
def reset(self, fastboot=False): # pylint: disable=arguments-differ def reset(self, fastboot=False): # pylint: disable=arguments-differ
try: try:
self.execute('reboot {}'.format(fastboot and 'fastboot' or ''), self.execute('reboot {}'.format(fastboot and 'fastboot' or ''),
@ -856,7 +855,7 @@ class AndroidTarget(Target):
self.remove(on_device_executable, as_root=self.is_rooted) self.remove(on_device_executable, as_root=self.is_rooted)
def dump_logcat(self, filepath, filter=None, append=False, timeout=30): # pylint: disable=redefined-builtin def dump_logcat(self, filepath, filter=None, append=False, timeout=30): # pylint: disable=redefined-builtin
op = '>>' if append == True else '>' op = '>>' if append else '>'
filtstr = ' -s {}'.format(filter) if filter else '' filtstr = ' -s {}'.format(filter) if filter else ''
command = 'logcat -d{} {} {}'.format(filtstr, op, filepath) command = 'logcat -d{} {} {}'.format(filtstr, op, filepath)
adb_command(self.adb_name, command, timeout=timeout) adb_command(self.adb_name, command, timeout=timeout)
@ -1071,4 +1070,3 @@ def _get_part_name(section):
if name is None: if name is None:
name = '{}/{}/{}'.format(implementer, part, variant) name = '{}/{}/{}'.format(implementer, part, variant)
return name return name