Home
last modified time | relevance | path

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

12

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetwork.java104 MonkeyCommandReturn translateCommand(List<String> command, CommandQueue queue); in translateCommand() argument
113 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
115 if (command.size() > 1) { in translateCommand()
116 String direction = command.get(1); in translateCommand()
137 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
139 if (command.size() == 4) { in translateCommand()
140 String actionName = command.get(1); in translateCommand()
144 x = Integer.parseInt(command.get(2)); in translateCommand()
145 y = Integer.parseInt(command.get(3)); in translateCommand()
181 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
[all …]
DMonkeySourceNetworkViews.java162 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
198 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
200 if (command.size() > 2) { in translateCommand()
201 String idType = command.get(1); in translateCommand()
207 node = getNodeByViewId(command.get(2)); in translateCommand()
208 viewQuery = command.get(3); in translateCommand()
209 args = command.subList(4, command.size()); in translateCommand()
215 node = getNodeByAccessibilityIds(command.get(2), command.get(3)); in translateCommand()
216 viewQuery = command.get(4); in translateCommand()
217 args = command.subList(5, command.size()); in translateCommand()
[all …]
DMonkeySourceNetworkVars.java174 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
190 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand() argument
192 if (command.size() == 2) { in translateCommand()
193 VarGetter getter = VAR_MAP.get(command.get(1)); in translateCommand()
/development/python-packages/fastboot/
Ddevice.py136 command = [self.path, 'flashall']
138 command.extend(['--slot', slot])
140 command.append("--skip-secondary")
142 command.append('-w')
143 func(command, stderr=subprocess.STDOUT)
155 command = [self.path, 'flash', partition]
157 command.append(img)
159 command.extend(['--slot', slot])
161 command.append("--skip-secondary")
162 func(command, stderr=subprocess.STDOUT)
[all …]
/development/scripts/
Dbattery_simulator.py35 def echo_run(command): argument
36 print("\x1b[36m[Running: %s]\x1b[0m" % command)
37 os.system(command)
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java51 public void set(int command, int arg0, int arg1, byte[] data) { in set() argument
52 mMessageBuffer.putInt(0, command); in set()
57 mMessageBuffer.putInt(20, command ^ 0xFFFFFFFF); in set()
63 public void set(int command, int arg0, int arg1) { in set() argument
64 set(command, arg0, arg1, (byte[])null); in set()
66 public void set(int command, int arg0, int arg1, String data) { in set() argument
69 set(command, arg0, arg1, data.getBytes()); in set()
/development/tools/repo_diff/service/repodiff/tools/
Dclear_service_account_keys.py7 def run_command(command): argument
8 return_code, output = commands.getstatusoutput(command)
10 raise ValueError("Failed to execute command: %s" % command)
Dupgrade_db.py22 def run_command(command): argument
23 exit_code, output = commands.getstatusoutput(command)
26 raise ValueError("Error running command: %s" % command)
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DBugreportParser.java75 public void parse(String section, String command, Lines<? extends Line> lines); in parse() argument
113 String command = null; in parse() local
121 parseSection(section, lines.copy(pos, lines.pos-1), command, durationMs); in parse()
147 command = (m.groupCount() > 1) ? command = m.group(2) : null; in parse()
158 private void parseSection(String section, Lines<? extends Line> lines, String command, in parseSection() argument
165 parser.parse(section, command, lines); in parseSection()
190 public void parse(String section, String command, Lines<? extends Line> lines) {
211 public void parse(String section, String command, Lines<? extends Line> lines) {
/development/tools/otagui/
Dota_interface.py221 def ota_run(self, command, id, stdout_path, stderr_path): argument
237 command, stderr=ferr, stdout=fout, shell=False, env=env, cwd=self.otatools_dir)
267 command = ['ota_from_target_files']
274 command.append('-v')
279 command += args['extra'].strip().split(' ')
283 command.append('-i')
284 command.append(os.path.realpath(args['incremental']))
286 command.append('--partial')
287 command.append(' '.join(args['partial']))
288 command.append(os.path.realpath(args['target']))
[all …]
/development/vndk/tools/sourcedr/ninja/tests/testdata/
Drule.ninja2 command = gcc -c -o $outs $ins
5 command = gcc -o $outs $ins
Dbad_after_good.ninja2 command = gcc -c -o $in $out
Ddefault.ninja2 command = gcc -c -o $outs $ins
/development/cmds/monkey/
DREADME.NETWORK.txt28 respond to every command with a line starting with OK for commands
49 This command injects KeyEvent's into the input system. The keycode
63 This command injects a MotionEvent into the input system that
73 This command injects a MotionEvent into the input system that
84 This command will wake the device up from sleep and allow user input.
87 The tap command is a shortcut for the touch command. It will
92 The press command is a shortcut for the key command. The keycode
93 paramter works just like the key command and will automatically send
98 This command will simulate a user typing the given string on the
103 This command lists all the vars that the monkey knows about. They are
[all …]
/development/samples/JetBoy/
DJETBOY_content_README.txt5 1. Open a command prompt and go to the directory where the JetCreator tool is located.
9 3. Select the IMPORT command and import JETBOY.zip.
11 4. After importing the first time, you can use the OPEN command to open the .jtc file in the folder…
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java495 final String command = getCommandLine(); in doStartCommand() local
496 if (command.length() > 0) { in doStartCommand()
497 startCommand(command); in doStartCommand()
501 private void startCommand(String command) { in startCommand() argument
504 mCommandHistory.add(command); in startCommand()
506 (mRunningTask = new Dumper(command)).execute(); in startCommand()
511 final String command; field in DumpActivity.Dumper
514 public Dumper(String command) { in Dumper() argument
515 this.command = command; in Dumper()
527 buildCommandLine(command), in doInBackground()
[all …]
/development/tools/repo_diff/
Dgit_commits_not_upstreamed.py31 command = ['git']
32 command.extend(args)
34 return subprocess.check_output(command, stderr=devull)
Drepo_diff_android.py97 command = "repo sync --jobs=24 --current-branch --quiet"
98 command += " --no-tags --no-clone-bundle"
100 command += " --force-broken"
101 subprocess.check_output(command, cwd=workspace, shell=True)
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java78 byte[] command = BuildSelectApdu(SAMPLE_LOYALTY_CARD_AID); in onTagDiscovered()
80 Log.i(TAG, "Sending: " + ByteArrayToHexString(command)); in onTagDiscovered()
81 byte[] result = isoDep.transceive(command); in onTagDiscovered()
/development/tools/winscope/src/adb/
Dwinscope_proxy.py222 def command(self) -> str: member in SurfaceFlingerTraceConfig
431 command = ['adb'] + (['-s', device] if device else []) + params.split(' ')
433 log.debug("Call: " + ' '.join(command))
434 … return subprocess.check_output(command, stderr=subprocess.STDOUT, input=stdin).decode('utf-8')
437 ' '.join(command), repr(ex)))
439 ' '.join(command), repr(ex)))
442 ' '.join(command), ex.output.decode("utf-8")))
569 def __init__(self, device_id, command): argument
571 self.trace_command = command
686 command = StartTrace.TRACE_COMMAND.format(
[all …]
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew.bat27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
/development/samples/training/testingfun/
Dgradlew.bat27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
/development/tools/checkcolor/
Dgradlew.bat27 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
49 @rem Get command-line arguments, handling Windowz variants
55 @rem Slurp the command line arguments.
70 @rem Setup the command line
/development/vndk/tools/header-checker/
DREADME.md8 for shared libraries. The third command compares the ABI dumps with the
21 The `-I` command line option controls the scope of ABIs that must be dumped.
37 For more command line options, run `header-abi-dumper --help`.
55 For more command line options, run `header-abi-linker --help`.
70 For more command line options, run `header-abi-diff --help`.
88 config section by command line options `-target-version` and `-lib`.
157 The command below updates the reference ABI dumps for all monitored libraries
165 run the command below:
171 For more command line options, run:
207 The command should show 6 directories for different architectures.
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp58 unsigned int command; /* command identifier constant */ member
445 void DumpMessageArg0(unsigned int command, unsigned int arg0) { in DumpMessageArg0() argument
446 if (command == A_AUTH) { in DumpMessageArg0()
509 msg_send.command = A_CNXN; in DeviceHandShake()
514 msg_send.magic = msg_send.command ^ 0xffffffff; in DeviceHandShake()
537 char* cmd_ansi = reinterpret_cast<char*>(&msg_rcv.command); in DeviceHandShake()
538 printf("\n command = %08X (%c%c%c%c)", msg_rcv.command, in DeviceHandShake()
541 DumpMessageArg0(msg_rcv.command, msg_rcv.arg0); in DeviceHandShake()
546 printf(" (%s)", (msg_rcv.magic == (msg_rcv.command ^ 0xffffffff)) ? in DeviceHandShake()

12