Lines Matching refs:format
88 mkcmd = lambda lib: "'{}={}'".format(lib, ','.join(out.fields))
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')
121 targetdir = str('/data/data/{}/code_cache'.format(str(name).strip()))
122 print("Will place agents in {}".format(targetdir))
123 target32 = device.shell('mktemp -p {}'.format(targetdir).split())[0].strip()
124 print("{} -> {}".format(bit32, target32))
125 target64 = device.shell('mktemp -p {}'.format(targetdir).split())[0].strip()
126 print("{} -> {}".format(bit64, target64))
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())
136 device.shell('kill -3 {}'.format(pid).split())
139 print("Removing agent copies at {}, {}".format(target32, target64))
144 lc_cmd = "logcat -d -b main --pid={} -e '^\\t.*\\t.*\\t[0-9]*\\t[0-9]*$'".format(pid).split(' ')