Home
last modified time | relevance | path

Searched refs:adb_cmd (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/sepolicy/tools/
H A Dsepolicy_cleanup_check.sh18 adb_cmd="adb"
20 adb_cmd="$adb_cmd -s $1"
24 $adb_cmd shell id &>/dev/null
56 if [ -n "`$adb_cmd shell ls -lZ $path < /dev/null |& grep "No such file or directory"`" ]; then
72 if [ -n "`$adb_cmd shell ls -lZ $path < /dev/null |& grep "No such file or directory"`" ]; then
91 if [ -n "`$adb_cmd shell ls -lZ "$path" < /dev/null |& grep "No such file or directory"`" ]; then
/aosp12/packages/modules/adb/
H A Dbenchmark_device.py66 cmd = device.adb_cmd + ["raw", "sink:%d" % (size_mb * 1024 * 1024)]
85 cmd = device.adb_cmd + ["raw", "source:%d" % (size_mb * 1024 * 1024)]
H A Dtest_device.py152 serialno = subprocess.check_output(self.device.adb_cmd + ['get-serialno']).strip()
292 self.device.adb_cmd + ['shell'] + shell_args,
368 test_cmd = self.device.adb_cmd + ['shell'] + args + ['[ -t 0 ]']
456 self.device.adb_cmd + shlex.split('shell echo $$; sleep 60'),
487 proc = subprocess.Popen(self.device.adb_cmd + ['shell', 'cat'],
1397 output = subprocess.check_output(self.device.adb_cmd + ['devices'])
1412 serialno = subprocess.check_output(self.device.adb_cmd + ['get-serialno']).strip()
1422 subprocess.check_call(self.device.adb_cmd + ['kill-server'])
1442 serialno = subprocess.check_output(self.device.adb_cmd + ['get-serialno']).strip()
1449 subproc = subprocess.Popen(self.device.adb_cmd +
[all …]
/aosp12/art/tools/common/
H A Dcommon.py438 adb_cmd = ['adb']
440 adb_cmd += ['-s', self._specific_device]
441 logcat_cmd = adb_cmd + ['logcat', '-v', 'brief', '-s', '-b', 'main',
449 cmd = adb_cmd + ['shell', device_cmd]