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

1 2

  /cts/suite/audio_quality/lib/src/
Adb.h 22 /** ADB interface to set port forwarding and launch client app */
23 class Adb {
25 /// device: device number typically passed in adb's -s argument.
26 /// if device string is empty, adb command will be called without -s option.
27 Adb(const android::String8& device);
28 ~Adb();
Adb.cpp 19 #include "Adb.h"
21 Adb::Adb(const android::String8& device)
27 Adb::~Adb()
32 bool Adb::setPortForwarding(int hostPort, int devicePort)
44 bool Adb::launchClient(const android::String8& clientBinary, const android::String8& component)
63 /** @param command ADB command except adb -s XYZW */
64 int Adb::executeCommand(const android::String8& command
    [all...]
ClientImpl.cpp 19 #include "Adb.h"
36 Adb adb(param);
37 if (!adb.setPortForwarding(HOST_TCP_PORT, CLIENT_TCP_PORT)) {
38 LOGE("adb port forwarding failed");
43 if (!adb.launchClient(clientBinary, componentName)) {
  /external/chromium_org/chrome/test/chromedriver/chrome/
device_manager.h 17 class Adb;
38 Adb* adb,
48 Adb* adb_;
56 explicit DeviceManager(Adb* adb);
75 Adb* adb_;
adb.h 13 class Adb {
15 virtual ~Adb() {}
adb_impl.h 13 #include "chrome/test/chromedriver/chrome/adb.h"
21 class AdbImpl : public Adb {
28 // Overridden from Adb:
device_manager.cc 16 #include "chrome/test/chromedriver/chrome/adb.h"
20 const std::string& device_serial, Adb* adb,
23 adb_(adb),
132 DeviceManager::DeviceManager(Adb* adb) : adb_(adb) {
  /external/chromium_org/tools/cr/cr/actions/
adb.py 5 """A module to hold adb specific action implementations."""
12 class Adb(object):
13 """Exposes the functionality of the adb tool to the rest of cr.
16 adb command line, and expose it in neutral form to the rest of the code.
95 '--adb={CR_ADB}',
112 Adb.Kill(target, arguments)
115 Adb.Run(target, arguments)
136 Adb.Uninstall(target, arguments)
140 Adb.Install(target, arguments)
144 Adb.Reinstall(target, arguments
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
android_prebuilt_profiler_helper.py 35 def InstallOnDevice(adb, profiler_binary):
37 adb.Adb().PushIfNeeded(GetHostPath(profiler_binary),
39 adb.Adb().RunShellCommand('chmod 777 ' + GetDevicePath(profiler_binary))
netlog_profiler.py 38 self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file)
40 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
v8_profiler.py 40 self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file)
42 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
java_heap_profiler.py 42 self._browser_backend.adb.Adb().Adb().Pull(
44 self._browser_backend.adb.RunShellCommand(
59 if not self._browser_backend.adb.Adb().FileExistsOnDevice(
61 self._browser_backend.adb.RunShellCommand(
63 self._browser_backend.adb.RunShellCommand(
70 self._browser_backend.adb.RunShellCommand('am dumpheap %s %s' %
77 f = self._browser_backend.adb.Adb().ListPathContents(file_name
    [all...]
perf_profiler.py 35 cmd_prefix = ['adb', '-s', browser_backend.adb.device(), 'shell',
40 browser_backend.adb.RunShellCommand(
57 perf_pids = self._browser_backend.adb.Adb().ExtractPid('perf')
58 self._browser_backend.adb.Adb().RunShellCommand(
61 lambda: not self._browser_backend.adb.Adb().ExtractPid('perf'),
80 self._browser_backend.adb.Adb().Adb().Pull
    [all...]
tcmalloc_heap_profiler.py 36 # This profiler requires adb root to set properties.
37 self._browser_backend.adb.Adb().EnableAdbRoot()
39 device_property = self._browser_backend.adb.system_properties[values[0]]
41 self._browser_backend.adb.system_properties[values[0]] = values[1]
43 if not self._browser_backend.adb.Adb().FileExistsOnDevice(
45 self._browser_backend.adb.RunShellCommand(
47 self._browser_backend.adb.RunShellCommand(
54 self._browser_backend.adb.Adb().Adb().Pull
    [all...]
tcpdump_profiler.py 27 def __init__(self, adb, output_path):
28 self._adb = adb
33 ['adb', '-s', self._adb.device(),
48 self._adb.Adb().Adb().Pull(self._DEVICE_DUMP_FILE, host_dump)
102 browser_backend.adb, 'tcpdump')
104 browser_backend.adb, output_path)
  /external/chromium_org/tools/telemetry/telemetry/core/backends/
adb_commands.py 5 thin(ish) wrapper around adb."""
57 """A thin wrapper around ADB"""
70 def Adb(self):
74 ret = self._adb.Adb().SendCommand('forward %s %s' % (local, remote))
78 """Send a command to the adb shell and return the result.
106 """Android version of killall, connected via adb.
171 return self._adb.Adb().Push(local, remote)
174 return self._adb.Adb().Pull(remote, local)
201 def SetupPrebuiltTools(adb):
206 abi = adb.system_properties['ro.product.cpu.abi'
    [all...]
android_rndis.py 38 def __init__(self, adb):
40 adb: an instance of AdbCommands
42 is_root_enabled = adb.Adb().EnableAdbRoot()
44 self._adb = adb.Adb()
81 self._adb.Adb().SendCommand('wait-for-device')
116 self._adb.system_properties['sys.usb.config'] = 'adb'
138 # This function kills adb transport, so it has to be run "detached".
145 # For some combinations of devices and host kernels, adb won't work unless th
    [all...]
  /external/chromium_org/chrome/test/chromedriver/server/
http_handler.h 36 class Adb;
110 scoped_ptr<Adb> adb_;
  /external/chromium_org/build/android/
update_verification.py 18 def _SaveAppData(adb, package_name, from_apk=None, data_dir=None):
20 adb.Adb().SendCommand('backup %s' % package_name)
32 output = adb.Install(from_apk, reinstall=True)
41 def _VerifyAppUpdate(adb, to_apk, app_data, from_apk=None):
44 adb.Adb().SendCommand('restore %s' % app_data)
50 output = adb.Install(from_apk, reinstall=True)
60 output = adb.Install(to_apk)
68 output = adb.Install(to_apk, reinstall=True
    [all...]
  /external/chromium_org/build/android/pylib/
forwarder.py 65 def Map(port_pairs, adb, tool=None):
74 adb: An AndroidCommands instance.
82 tool = valgrind_tools.CreateTool(None, adb)
85 instance._InitDeviceLocked(adb, tool)
87 device_serial = adb.Adb().GetSerialNumber()
118 def UnmapDevicePort(device_port, adb):
122 adb: An AndroidCommands instance.
126 Forwarder._UnmapDevicePortLocked(device_port, adb)
129 def UnmapAllDevicePorts(adb)
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
android_browser_backend.py 21 def __init__(self, adb, activity, cmdline_file, package, pseudo_exec_name,
23 self.adb = adb
34 files = self.adb.RunShellCommandWithSU('ls "%s"' % self.profile_dir)
37 self.adb.RunShellCommandWithSU('rm -r %s' % ' '.join(paths))
57 def _GetCommandLineFile(adb):
58 if adb.IsUserBuild():
63 def __init__(self, adb, package):
65 adb=adb,
312 def adb(self): member in class:AndroidBrowserBackend
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/
messages.properties 20 DeviceView_ADB_Error=Adb Error
21 DeviceView_ADB_Failed_Restart=Adb failed to restart\!\n\nMake sure the plugin is properly configured.
36 DeviceView_Reset_ADB=Reset adb
37 DeviceView_Reset_ADB_Host_Deamon=Reset the adb host daemon
89 PreferencePage_ADB_Connection_Time_Out=ADB connection time out (ms):
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
messages.properties 42 RemoteAdtTestRunner_RunAdbCommandRejectedException_s=Adb rejected command: %s
  /external/chromium_org/build/android/pylib/gtest/
test_package_apk.py 42 def _CreateCommandLineFileOnDevice(self, adb, options):
47 adb.PushIfNeeded(command_line_file.name,
57 def _ClearFifo(self, adb):
58 adb.RunShellCommand('rm -f ' + self._GetFifo())
60 def _WatchFifo(self, adb, timeout, logfile=None):
62 if adb.FileExistsOnDevice(self._GetFifo()):
69 args = shlex.split(adb.Adb()._target_arg)
71 return pexpect.spawn('adb', args, timeout=timeout, logfile=logfile)
73 def _StartActivity(self, adb)
    [all...]
test_package_exe.py 36 def GetGTestReturnCode(self, adb):
41 if not adb.Adb().Pull(
56 def _AddNativeCoverageExports(self, adb):
71 adb.GetExternalStorage())
76 def ClearApplicationState(self, adb):
77 adb.KillAllBlocking(self.suite_name, 30)
80 def CreateCommandLineFileOnDevice(self, adb, test_filter, test_arguments):
83 # We need to capture the exit status from the script since adb shell won't
90 self._AddNativeCoverageExports(adb),
    [all...]

Completed in 188 milliseconds

1 2