HomeSort by relevance Sort by last modified time
    Searched refs:_adb (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/build/android/pylib/device/
adb_wrapper_test.py 21 self._adb = devices[0]
22 self._adb.WaitForDevice()
40 output = self._adb.Shell('echo test', expect_rc=0)
42 output = self._adb.Shell('echo test')
44 self.assertRaises(device_errors.AdbCommandFailedError, self._adb.Shell,
51 self._adb.Push(path, device_path)
52 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo')
53 self._adb.Pull(device_path, local_tmpdir)
59 self.assertRaises(device_errors.AdbCommandFailedError, self._adb.Install,
63 self.assertRaises(device_errors.AdbCommandFailedError, self._adb.Forward
    [all...]
  /external/chromium_org/build/android/pylib/
system_properties.py 18 self._adb = android_commands
30 self._adb.SendShellCommand('setprop %s "%s"' % (key, value), retry_count=3)
40 return self._adb.SendShellCommand('getprop %s' % key, retry_count=3).strip()
android_commands.py 307 self._adb = adb_interface.AdbInterface()
309 self._adb.SetTargetSerial(device)
346 return self._adb
359 #out = self._adb.SendCommand('get-state')
362 out = self._adb.SendCommand('devices')
384 return_value = self._adb.EnableAdbRoot()
388 self._adb.SendCommand('wait-for-device')
417 self._adb.WaitForDevicePm(wait_time=timeout)
443 self._adb.SendCommand('reboot')
461 self._adb.SendCommand('reboot -p'
    [all...]
android_commands_unittest.py 99 self.ac._adb.Push('%s/%d.txt' % (self.host_data_dir, i),
111 self.ac._adb.Push('%s/%d.txt' % (self.host_data_dir, i),
123 self.ac._adb.Push('%s/%d.txt' % (self.host_data_dir, i),
146 self.ac._adb.Push('%s/%d.txt' % (self.host_data_dir, i),
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
android_browser_backend.py 50 def PushProfile(self, _new_profile_dir, _adb):
201 self._saved_sslflag = self._adb.device().GetProp('socket.relaxsslcheck')
202 self._adb.device().SetProp('socket.relaxsslcheck', 'yes')
207 if self._adb.device().old_interface.CanAccessProtectedFileContents():
210 self._adb)
212 self._backend_settings.RemoveProfile(self._adb)
215 self._adb, use_rndis_forwarder)
225 if self._adb.IsUserBuild():
227 self._adb.device().RunShellCommand(
231 def _adb(self) member in class:AndroidBrowserBackend
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
tcpdump_profiler.py 27 self._adb = adb
29 self._adb.RunShellCommand('mkdir -p ' +
32 ['adb', '-s', self._adb.device_serial(),
38 tcpdump_pid = self._adb.ExtractPid('tcpdump')
43 self._adb.RunShellCommand('kill -term ' + tcpdump_pid[0])
47 self._adb.device().old_interface.Adb().Pull(self._DEVICE_DUMP_FILE,
android_profiling_helper_unittest.py 97 self._device = browser_backend._adb.device()
  /development/testrunner/
runtest.py 92 self._adb = None
193 self._adb = adb_interface.AdbInterface()
195 self._adb.SetEmulatorTarget()
197 self._adb.SetDeviceTarget()
199 self._adb.SetTargetSerial(self._options.serial)
265 self._adb.EnableAdbRoot()
327 logger.Log(self._adb.Install(abs_install_path))
337 self._adb.SendShellCommand("mkdir -p %s" % remote_dir)
340 self._adb.Push(abs_install_path, remote_path)
432 output = self._adb.SendShellCommand("cat /data/local.prop"
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/forwarders/
android_forwarder.py 30 self._adb = adb
33 self._rndis_configurator = AndroidRndisConfigurator(self._adb)
37 return AndroidRndisForwarder(self._adb, self._rndis_configurator,
39 return AndroidForwarder(self._adb, port_pairs)
73 self._adb = adb
97 self._adb.RunShellCommand('iptables -F -t nat') # Flush any old nat rules.
102 self._adb.RunShellCommand(
113 self._adb.RunShellCommand('route add default gw %s dev %s' %
128 self._adb.device().SetProp('net.dns1', dns1)
129 self._adb.device().SetProp('net.dns2', dns2
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend.py 42 self._adb = adb_commands.AdbCommands(device=device.device_id)
43 installed_prebuilt_tools = adb_commands.SetupPrebuiltTools(self._adb)
51 if not self._adb.IsRootEnabled():
53 self._adb.EnableAdbRoot()
54 self._device = self._adb.device()
80 return self._adb
213 self._adb.device().ForceStop(application)
  /sdk/bash_completion/
adb.bash 18 _adb() { function
393 complete -F _adb adb
395 complete -o nospace -F _adb adb
  /development/testrunner/coverage/
coverage.py 65 self._adb = adb_interface
102 if self._adb.Pull(device_coverage_path, coverage_local_path):
  /external/openssl/crypto/asn1/
asn1t.h 321 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
322 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
324 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, tblname##_adb }
325 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, tblname##_adb }
403 static const ASN1_ADB name##_adb = {\
417 static const ASN1_ITEM *name##_adb(void) \
  /external/openssl/include/openssl/
asn1t.h 321 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
322 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
324 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, tblname##_adb }
325 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, tblname##_adb }
403 static const ASN1_ADB name##_adb = {\
417 static const ASN1_ITEM *name##_adb(void) \
  /external/oprofile/
oprofile_android 86 return self._adb('shell', command_args, echo)
89 return self._adb('pull', [source, dest], echo)
91 def _adb(self, command, command_args, echo):
  /external/chromium_org/third_party/boringssl/src/include/openssl/
asn1t.h 296 #define ASN1_ADB_OBJECT(tblname) { ASN1_TFLG_ADB_OID, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
297 #define ASN1_ADB_INTEGER(tblname) { ASN1_TFLG_ADB_INT, -1, 0, #tblname, (const ASN1_ITEM *)&(tblname##_adb) }
372 static const ASN1_ADB name##_adb = {\

Completed in 3019 milliseconds