Home | History | Annotate | Download | only in ndk

Lines Matching refs:retcode

402     retcode = int(output.pop())
403 return retcode,'\n'.join(output)
423 retcode,output = adb_cmd(False, ['shell', 'readlink $(which ps)'])
428 retcode,output = adb_cmd(False,['shell', ps_command])
561 retcode,ADB_TEST = adb_cmd(True,['shell', 'ls'])
562 if retcode != 0:
569 retcode,API_LEVEL = adb_var_shell(['getprop', 'ro.build.version.sdk'])
570 if retcode != 0 or API_LEVEL == '':
630 retcode,DEVICE_GDBSERVER = adb_var_shell2(['ls', '/data/data/%s/lib/gdbserver' % (PACKAGE_NAME)])
631 if retcode:
637 retcode,DATA_DIR = adb_var_shell2(['run-as', PACKAGE_NAME, '/system/bin/sh', '-c', 'pwd'])
638 if retcode or DATA_DIR == '':
657 retcode,LAUNCH_OUTPUT=adb_cmd(True,
660 if retcode:
670 retcode,PID = get_pid_of(PACKAGE_NAME)
672 if retcode or PID == 0:
687 retcode,GDBSERVER_PID = get_pid_of('lib/gdbserver')
688 if not retcode and not GDBSERVER_PID == 0:
703 # retcode,GDBSERVER_PID = get_pid_of('lib/gdbserver')
704 # if retcode or GDBSERVER_PID == 0:
710 retcode,_ = adb_cmd(False,
713 if retcode:
731 retcode,_ = adb_cmd(False,
735 if retcode: