コード例 #1
0
 def GetBisectionSearchArgs(self):
     cmd_str = CommandListToCommandString(
         self._dalvik_cmd + ['-cp', self._device_classpath, 'Test'])
     cmd = ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]
     if self._device:
         cmd += ['--device-serial', self._device]
     else:
         cmd.append('--device')
     return cmd
コード例 #2
0
 def GetBisectionSearchArgs(self):
     cmd_str = CommandListToCommandString(self._art_cmd[0:2] + ['{ARGS}'] +
                                          self._art_cmd[2:])
     return ['--raw-cmd={0}'.format(cmd_str), '--timeout', str(30)]