Lines Matching refs:device
70 device = adb.device.get_device(out.serial)
72 device.root()
75 device.shell("setenforce 0".split())
78 lib32 = device.shell("mktemp".split())[0].strip()
79 lib64 = device.shell("mktemp".split())[0].strip()
82 device.push(out.lib32, lib32)
85 device.push(out.lib64, lib64)
93 new_env["ANDROID_SERIAL"] = device.serial
94 p = subprocess.Popen([device.adb_path, "jdwp"], env=new_env, stdout=subprocess.PIPE)
102 device.shell("logcat -c".split())
106 res = check_single_process(p, device, cmd32, cmd64);
109 device.shell('rm {}'.format(lib32).split())
110 device.shell('rm {}'.format(lib64).split())
117 def check_single_process(pid, device, bit32, bit64): argument
120 device.shell(['am', 'attach-agent', str(pid), bit32])
121 device.shell(['am', 'attach-agent', str(pid), bit64])
123 device.shell('kill -3 {}'.format(pid).split())
128 for l in device.shell(lc_cmd)[0].strip().split('\n'):
144 except adb.device.ShellError as e: