Lines Matching refs:shell
76 device.shell("setenforce 0".split())
79 lib32 = device.shell("mktemp".split())[0].strip()
80 lib64 = device.shell("mktemp".split())[0].strip()
102 device.shell("logcat -c".split())
109 device.shell('rm {}'.format(lib32).split())
110 device.shell('rm {}'.format(lib64).split())
120 name = device.shell('cat /proc/{}/cmdline'.format(pid).split())[0].strip('\0')
123 target32 = device.shell('mktemp -p {}'.format(targetdir).split())[0].strip()
125 target64 = device.shell('mktemp -p {}'.format(targetdir).split())[0].strip()
128 device.shell('cp {} {}'.format(bit32, target32).split())
129 device.shell('cp {} {}'.format(bit64, target64).split())
130 device.shell('chmod 555 {}'.format(target32).split())
131 device.shell('chmod 555 {}'.format(target64).split())
133 device.shell(['am', 'attach-agent', str(pid), mkcmd(target32)])
134 device.shell(['am', 'attach-agent', str(pid), mkcmd(target64)])
136 device.shell('kill -3 {}'.format(pid).split())
140 device.shell(['rm', '-f', target32])
141 device.shell(['rm', '-f', target64])
145 for l in device.shell(lc_cmd)[0].strip().split('\n'):