Home
last modified time | relevance | path

Searched refs:_adb (Results 1 – 25 of 25) sorted by relevance

/external/skia/tools/skpbench/
D_hardware_android.py15 self._adb = adb
18 if self._adb.root():
19 self._adb.remount()
23 if not self._adb.is_root() and self._adb.root():
24 self._adb.remount()
26 self._adb.shell('\n'.join([
37 if self._adb.is_root():
42 self._adb.shell('\n'.join([
73 self._adb.reboot() # some devices struggle waking up; just hard reboot.
80 self._adb.shell('''\
[all …]
D_hardware_nexus_6p.py18 if not self._adb.is_root():
22 self._adb.shell('''\
32 self._adb.shell('''\
39 self._adb.shell('''\
53 self._adb.shell('''\
66 if not self._adb.is_root():
69 result = self._adb.check('''\
D_hardware_pixel2.py20 if not self._adb.is_root():
23 self._adb.shell('\n'.join([
77 assert('msm_therm' == self._adb.check(\
79 assert('pm8998_tz' == self._adb.check(\
87 if not self._adb.is_root():
90 result = self._adb.check(' '.join(
D_hardware_pixel.py18 if not self._adb.is_root():
21 self._adb.shell('\n'.join([
67 if not self._adb.is_root():
70 result = self._adb.check(' '.join(
D_hardware_pixel_c.py21 if not self._adb.is_root():
24 self._adb.shell('\n'.join([
58 if not self._adb.is_root():
62 result = self._adb.check('''\
D_adb_path.py6 from _adb import Adb
Dskpbench.py9 from _adb import Adb
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper_devicetest.py21 self._adb = adb_wrapper.AdbWrapper(self.serial)
22 self._adb.WaitForDevice()
45 output = self._adb.Shell('echo test', expect_status=0)
47 output = self._adb.Shell('echo test')
50 self._adb.Shell('echo test', expect_status=1)
55 serial = self._adb.GetDeviceSerial() # pylint: disable=protected-access
56 with self._adb.PersistentShell(serial) as pshell:
69 self._adb.Push(path, device_path)
70 files = dict(self._adb.Ls('/data/local/tmp'))
73 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo')
[all …]
/external/skqp/tools/skpbench/
D_hardware_android.py15 self._adb = adb
17 if self._adb.root():
18 self._adb.remount()
22 if not self._adb.is_root() and self._adb.root():
23 self._adb.remount()
25 self._adb.shell('\n'.join([
36 if self._adb.is_root():
37 self._adb.shell('\n'.join([
62 self._adb.reboot() # some devices struggle waking up; just hard reboot.
69 self._adb.shell('''\
D_hardware_nexus_6p.py18 if not self._adb.is_root():
22 self._adb.shell('''\
32 self._adb.shell('''\
39 self._adb.shell('''\
53 self._adb.shell('''\
66 if not self._adb.is_root():
69 result = self._adb.check('''\
D_hardware_pixel2.py20 if not self._adb.is_root():
23 self._adb.shell('\n'.join([
77 assert('msm_therm' == self._adb.check(\
79 assert('pm8998_tz' == self._adb.check(\
87 if not self._adb.is_root():
90 result = self._adb.check(' '.join(
D_hardware_pixel.py18 if not self._adb.is_root():
21 self._adb.shell('\n'.join([
67 if not self._adb.is_root():
70 result = self._adb.check(' '.join(
D_hardware_pixel_c.py21 if not self._adb.is_root():
24 self._adb.shell('\n'.join([
58 if not self._adb.is_root():
62 result = self._adb.check('''\
D_adb_path.py6 from _adb import Adb
Dskpbench.py9 from _adb import Adb
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_temp_file.py50 self._adb = adb
61 self._adb.Shell(
73 name='delete_temporary_file(%s)' % self._adb.GetDeviceSerial()).start()
99 self._adb = adb
108 self._adb.Shell('rm -rf %s' % self.name, expect_status=None)
114 name='delete_temporary_dir(%s)' % self._adb.GetDeviceSerial()).start()
117 self._adb.Shell('mkdir -p %s' % self.name)
Dlogcat_monitor.py55 self._adb = adb
106 device_serial=str(self._adb))
159 device_serial=str(self._adb))
189 for data in self._adb.Logcat(
227 self._adb.Logcat(clear=True)
286 return self._adb
/external/skqp/infra/bots/recipe_modules/flavor/
Dchromecast.py57 self._adb('mkdir ' + self.device_dirs.bin_dir,
60 def _adb(self, title, *cmd, **kwargs): member in ChromecastFlavor
76 self._adb('rm %s' % path, 'shell', 'rm', '-r', path)
77 self._adb('mkdir %s' % path, 'shell', 'mkdir', '-p', path)
111 self._adb('disconnect', 'disconnect')
133 self._adb('disconnect', 'disconnect')
134 self._adb('kill adb server', 'kill-server')
151 self._adb('push %s' % cmd[0],
Dandroid.py81 def _adb(self, title, *cmd, **kwargs): member in AndroidFlavor
349 self._adb('mkdir ' + self.device_dirs.resource_dir,
489 self._adb('kill adb server', 'kill-server')
497 self._adb('push %s' % cmd[0],
505 self._adb('push %s' % sh,
508 self._adb('clear log', 'logcat', '-c')
525 self._adb('push %s %s' % (host, device), 'push', host, device)
552 self._adb('pull %s' % device, 'pull', device, tmp)
562 rv = self._adb('read %s' % path,
568 self._adb('rm %s' % path, 'shell', 'rm', '-f', path)
[all …]
/external/skia/infra/bots/recipe_modules/flavor/
Dandroid.py80 def _adb(self, title, *cmd, **kwargs): member in AndroidFlavor
358 self._adb('mkdir ' + self.device_dirs.resource_dir,
362 self._adb('cp libGLES_mali.so to ' + self.device_dirs.bin_dir,
451 self._adb('push %s' % self.app_name,
509 self._adb('kill adb server', 'kill-server')
518 self._adb('push %s' % sh,
521 self._adb('clear log', 'logcat', '-c')
538 self._adb('push %s %s' % (host, device), 'push', host, device)
545 self._adb('push %s/* %s' % (host, device), 'push', *args)
552 self._adb('pull %s' % device, 'pull', device, tmp)
[all …]
/external/skqp/infra/bots/recipes/
Dskpbench.py34 def _adb(api, title, *cmd, **kwargs): function
47 _adb(api, 'push skpbench', 'push', app, api.flavor.device_dirs.bin_dir)
/external/skia/infra/bots/recipes/
Dskpbench.py35 def _adb(api, title, *cmd, **kwargs): function
57 _adb(api, 'push skpbench', 'push', app, api.flavor.device_dirs.bin_dir)
/external/boringssl/src/include/openssl/
Dasn1t.h259 …SN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
260 …N1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
327 static const ASN1_ADB name##_adb = {\
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dasn1t.h295 …SN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
296 …N1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
371 static const ASN1_ADB name##_adb = {\
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_agent.py166 self._adb = None