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

1 2

  /external/chromium_org/build/android/pylib/perf/
cache_control.py 10 self._adb = adb
14 self._adb.RunShellCommandWithSU('sync')
15 self._adb.SetProtectedFileContents(CacheControl._DROP_CACHES, '3')
perf_control.py 16 self._adb = adb
17 kernel_max = self._adb.GetFileContents(PerfControl._KERNEL_MAX,
22 self._original_scaling_governor = self._adb.GetFileContents(
32 product_model = self._adb.GetProductModel()
49 if self._adb.FileExistsOnDevice(scaling_governor_file):
52 self._adb.SetProtectedFileContents(scaling_governor_file, value)
thermal_throttle.py 18 self._adb = adb
31 tempdata = self._adb.GetFileContents(OmapThrottlingDetector.OMAP_TEMP_FILE)
67 self._adb = adb
90 serial_number = self._adb.Adb().GetSerialNumber()
91 log = self._adb.RunShellCommand('dmesg -c')
117 dumpsys_log = self._adb.RunShellCommand('dumpsys battery')
surface_stats_collector.py 32 self._adb = adb
212 results = self._adb.RunShellCommand(
255 results = self._adb.RunShellCommand(
293 results = self._adb.RunShellCommand('service call SurfaceFlinger 1013')
  /external/chromium_org/build/android/pylib/device/
adb_wrapper_test.py 21 self._adb = devices[0]
22 self._adb.WaitForDevice()
39 output = self._adb.Shell('echo test', expect_rc=0)
41 output = self._adb.Shell('echo test')
43 self.assertRaises(adb_wrapper.CommandFailedError, self._adb.Shell,
50 self._adb.Push(path, device_path)
51 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo')
52 self._adb.Pull(device_path, local_tmpdir)
58 self.assertRaises(adb_wrapper.CommandFailedError, self._adb.Install, path)
61 self.assertRaises(adb_wrapper.CommandFailedError, self._adb.Forward, 0, 0
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/backends/
adb_commands.py 60 self._adb = android_commands.AndroidCommands(device, api_strict_mode=True)
68 return self._adb.system_properties
71 return self._adb
74 ret = self._adb.Adb().SendCommand('forward %s %s' % (local, remote))
91 return self._adb.RunShellCommand(command, timeout_time, log_result)
94 return self._adb.RunShellCommandWithSU(command, timeout_time, log_result)
103 self._adb.CloseApplication(package)
114 return self._adb.KillAll(process)
127 return self._adb.ExtractPid(process_name)
144 return self._adb.ManagedInstall(apk_path, package_name=apk_package_name
    [all...]
android_rndis.py 44 self._adb = adb.Adb()
71 self._adb.RunShellCommand('route add default gw %s dev %s' %
77 return self._adb.FileExistsOnDevice(
81 self._adb.Adb().SendCommand('wait-for-device')
85 config = self._adb.RunShellCommand('netcfg')
102 ether_address = self._adb.GetFileContents(
116 self._adb.system_properties['sys.usb.config'] = 'adb'
155 self._adb.SetFileContents('%s.sh' % script_prefix, script)
157 self._adb.RunShellCommand('rm %s.log' % script_prefix)
158 self._adb.RunShellCommand('. %s.sh' % script_prefix
    [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)
39 return self._adb.SendShellCommand('getprop %s' % key, retry_count=3).strip()
valgrind_tools.py 92 self._adb = adb
109 self._adb.PushIfNeeded(os.path.join(DIR_SOURCE_ROOT, f),
126 self._adb.EnableAdbRoot()
128 self._adb.RunShellCommand('setprop %s "logwrapper %s"' % (
130 SetChromeTimeoutScale(self._adb, self.GetTimeoutScale())
134 self._adb.RunShellCommand('setprop %s ""' % (prop,))
135 SetChromeTimeoutScale(self._adb, None)
149 self._adb = adb
156 self._adb.RunShellCommand('rm -r %s; mkdir %s' %
158 self._adb.RunShellCommand('rm -r %s; mkdir %s'
    [all...]
screenshot.py 54 self._adb = adb
64 if self._adb.GetDevice():
65 self._args += ['-s', self._adb.GetDevice()]
80 self._recorder_pids = self._adb.ExtractPid('screenrecord')
99 self._adb.RunShellCommand('kill -SIGINT ' + ' '.join(self._recorder_pids))
108 self._adb.PullFileFromDevice(self._device_file, self._host_file)
109 self._adb.RunShellCommand('rm -f "%s"' % self._device_file)
flag_changer.py 28 self._adb = adb
32 self._orig_line = self._adb.GetFileContents(self._cmdline_file)
102 self._adb.SetProtectedFileContents(self._cmdline_file, cmd_line)
103 file_contents = self._adb.GetProtectedFileContents(self._cmdline_file)
105 self._adb.SetFileContents(self._cmdline_file, cmd_line)
106 file_contents = self._adb.GetFileContents(self._cmdline_file)
111 self._adb.RunShellCommandWithSU('rm ' + self._cmdline_file)
113 self._adb.RunShellCommand('rm ' + self._cmdline_file)
114 assert not self._adb.FileExistsOnDevice(self._cmdline_file), (
android_commands.py 248 self._adb = adb_interface.AdbInterface()
250 self._adb.SetTargetSerial(device)
286 return self._adb
298 out = self._adb.SendCommand('get-state')
317 return_value = self._adb.EnableAdbRoot()
321 self._adb.SendCommand('wait-for-device')
347 self._adb.WaitForDevicePm()
373 self._adb.SendCommand('reboot')
391 self._adb.SendCommand('reboot -p')
406 return self._adb.SendCommand(uninstall_command, timeout_time=60
    [all...]
  /external/chromium_org/chrome/test/chromedriver/test/
test_environment.py 90 self._adb = None
97 self._adb = android_commands.AndroidCommands()
101 self._adb)
105 forwarder.Forwarder.UnmapAllDevicePorts(self._adb)
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend.py 38 self._adb = adb
40 self._perf_tests_setup = perf_control.PerfControl(self._adb)
41 self._thermal_throttle = thermal_throttle.ThermalThrottle(self._adb)
46 self._adb.CanAccessProtectedFileContents()
60 surface_stats_collector.SurfaceStatsCollector(self._adb)
95 for line in self._adb.RunShellCommand('dumpsys meminfo', log_result=False):
113 self._adb.PurgeUnpinnedAshmem()
114 memory_usage = self._adb.GetMemoryUsageForPid(pid)[0]
146 return self._adb.GetBuildId()[0]
152 cache = cache_control.CacheControl(self._adb)
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
tcpdump_profiler.py 28 self._adb = adb
30 self._adb.RunShellCommand('mkdir -p ' +
33 ['adb', '-s', self._adb.device(),
39 tcpdump_pid = self._adb.ExtractPid('tcpdump')
44 self._adb.RunShellCommand('kill -term ' + tcpdump_pid[0])
48 self._adb.Adb().Adb().Pull(self._DEVICE_DUMP_FILE, host_dump)
  /development/testrunner/
runtest.py 91 self._adb = None
189 self._adb = adb_interface.AdbInterface()
191 self._adb.SetEmulatorTarget()
193 self._adb.SetDeviceTarget()
195 self._adb.SetTargetSerial(self._options.serial)
260 self._adb.EnableAdbRoot()
299 logger.Log(self._adb.Install(abs_install_path))
309 self._adb.SendShellCommand("mkdir -p %s" % remote_dir)
312 self._adb.Push(abs_install_path, remote_path)
353 logger.Log(self._adb.Install(abs_install_path)
    [all...]
  /external/chromium_org/build/android/
adb_profile_chrome.py 99 self._adb = adb
109 self._adb.StartMonitoringLogcat(clear=False)
116 self._adb.SyncLogCat()
117 self._adb.BroadcastIntent(self._package_info.package, 'GPU_PROFILER_START',
128 self._trace_file = self._adb.WaitForLogMatch(self._trace_start_re,
138 self._adb.BroadcastIntent(self._package_info.package, 'GPU_PROFILER_STOP')
139 self._adb.WaitForLogMatch(self._trace_finish_re, None, timeout=120)
147 self._adb.PullFileFromDevice(trace_file, host_file)
164 self._adb = adb
197 device = ['-s', self._adb.GetDevice()] if self._adb.GetDevice() else [
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
android_browser_backend.py 190 self._adb = backend_settings.adb
196 self._adb.CloseApplication(self._backend_settings.package)
198 if self._adb.Adb().CanAccessProtectedFileContents():
207 self._rndis_forwarder = android_rndis.RndisForwarderWithRoot(self._adb)
236 if self._adb.Adb().FileExistsOnDevice(name):
237 return not self._adb.Adb().IsFileWritableOnDevice(name)
246 if not self._adb.Adb().CanAccessProtectedFileContents():
250 self._saved_cmdline = ''.join(self._adb.Adb().GetProtectedFileContents(
252 self._adb.Adb().SetProtectedFileContents(
255 self._saved_cmdline = ''.join(self._adb.Adb().GetFileContents
    [all...]
  /sdk/bash_completion/
adb.bash 18 _adb() { function
379 complete -F _adb adb
381 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/chromium_org/third_party/openssl/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/chromium_org/third_party/openssl/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/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):

Completed in 544 milliseconds

1 2