Lines Matching refs:host
97 def __init__(self, host, bitness): argument
99 self.host = host
102 self.host.run('killall %s' % self.binary, ignore_status=True)
104 return self.host.run(self.binary, background=True)
107 def __init__(self, host, bitness): argument
109 self.host = host
112 self.host.run('killall %s' % self.binary, ignore_status=True)
114 result = self.host.run(self.binary + ' --gtest_color=yes', ignore_status=True)
120 def __init__(self, host, native_bitness): argument
122 self.host = host
125 host.run('setenforce 1')
126 self.host.run('killall android.aidl.tests', ignore_status=True)
128 host.run('setenforce 0') # Java app needs selinux off
129 result = self.host.run('am instrument -w --no-hidden-api-checks '
136 def supported_bitnesses(host): argument
140 if host.run('ls %s' % native_client, ignore_status=True).exit_status == 0:
161 host = AdbHost() variable
162 bitnesses = supported_bitnesses(host)
171 clients += [NativeClient(host, bitness)]
172 servers += [NativeServer(host, bitness)]
176 clients += [JavaClient(host, bitnesses[-1])]