OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Adb
(Results
1 - 13
of
13
) sorted by null
/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
explicit
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)) {
/system/extras/simpleperf/inferno/
adb_root.py
1
from
adb
import
Adb
4
class AdbRoot(
Adb
):
8
subprocess.call(["
adb
", "shell", "cd /data/local/tmp; " + process.cmd])
adb_non_root.py
1
from
adb
import
Adb
5
class AdbNonRoot(
Adb
):
6
# If
adb
cannot run as root, there is still a way to collect data but it is much more complicated.
18
subprocess.check_output(["
adb
", "shell", "run-as %s" % process.name, "cp", "/data/local/tmp/simpleperf", "."])
25
subprocess.call(["
adb
", "shell", process.cmd])
31
subprocess.call(["
adb
", "shell", "run-as %s cat perf.data | tee /data/local/tmp/perf.data >/dev/null" % (process.name)])
adb.py
16
class
Adb
:
23
err = subprocess.call(["
adb
", "shell", "rm", "-f", "/data/local/tmp/perf.data"])
27
piof_output = subprocess.check_output(["
adb
", "shell", "pidof", process_name])
36
err = subprocess.call(["
adb
", "pull", "/data/local/tmp/perf.data", "."])
47
output = subprocess.check_output(["
adb
", "shell", "getprop"])
88
subprocess.call(["
adb
", "push", exec_path, "/data/local/tmp/simpleperf"])
/external/skia/tools/skpbench/
_adb_path.py
6
from _adb import
Adb
14
__ADB =
Adb
(device_serial)
_adb.py
11
class
Adb
:
13
self.__invocation = ['
adb
']
skpbench.py
9
from _adb import
Adb
34
__argparse.add_argument('--
adb
',
35
action='store_true', help="execute skpbench over
adb
")
37
help="if using
adb
, ID of the specific device to target "
66
if FLAGS.
adb
:
111
if FLAGS.
adb
:
113
ARGV[:0] = ['
adb
', 'shell']
115
ARGV[:0] = ['
adb
', '-s', FLAGS.device_serial, 'shell']
280
if FLAGS.
adb
:
281
adb
= Adb(FLAGS.device_serial, echo=(FLAGS.verbosity >= 5)
[
all
...]
/cts/hostsidetests/aadb/
Android.mk
22
#
Adb
test cases, but name 'aadb' ensures
adb
tests run before all other modules depending on
adb
/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
/development/tools/
monkey
65
class
Adb
(object):
66
"""Encapsulates
adb
functionality."""
69
"""Initialize
adb
."""
70
self._command = ["
adb
"]
74
"""Runs an
adb
command, and prints that command to stdout.
77
ExecutionException: if the
adb
command returned an error.
80
adb
.Exec("shell", "ls") will run "
adb
shell ls"
86
raise ExecutionException("
adb
: %s returned %s" % (cmd, result))
98
ExecutionException: if the
adb
command returned an error
[
all
...]
Completed in 1523 milliseconds