/development/gsi/gsi_util/gsi_util/utils/ |
D | adb_utils.py | 25 command = ['adb'] 27 command += ['-s', serial_num] 28 command += ['root'] 31 run_command(command, raise_on_error=False, read_stdout=True, log_stderr=True) 35 command = ['adb'] 37 command += ['-s', serial_num] 38 command += ['pull', remote_filename, local_filename] 42 command, raise_on_error=False, read_stdout=True)
|
D | cmd_utils.py | 32 def _update_command_for_local(command, kwargs): argument 37 prog = command[0] 41 command[0] = local_prog 44 def run_command(command, read_stdout=False, read_stderr=False, argument 72 _update_command_for_local(command, kwargs) 76 command = ['sudo', 'sh', '-c', command] 78 command = ['sudo'] + command 89 proc = subprocess.Popen(command, **kwargs) 96 command_in_log = command 98 command_in_log = ' '.join(arg for arg in command) [all …]
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetwork.java | 104 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 …]
|
D | MonkeySourceNetworkViews.java | 162 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 …]
|
/development/python-packages/fastboot/ |
D | device.py | 136 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/ |
D | battery_simulator.py | 35 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/ |
D | AdbMessage.java | 51 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/gsi/gsi_util/ |
D | gsi_util.py | 37 def _get_module_name(command): argument 38 return 'gsi_util.commands.' + command 55 for command in self._COMMANDS: 56 module_name = self._get_module_name(command)
|
/development/tools/repo_diff/service/repodiff/tools/ |
D | clear_service_account_keys.py | 7 def run_command(command): argument 8 return_code, output = commands.getstatusoutput(command) 10 raise ValueError("Failed to execute command: %s" % command)
|
D | upgrade_db.py | 22 def run_command(command): argument 23 exit_code, output = commands.getstatusoutput(command) 26 raise ValueError("Error running command: %s" % command)
|
/development/ide/emacs/ |
D | android-common.el | 160 (defun android-adb-command (command &optional product) 169 " " command) 171 (shell-command (concat (android-adb) " " command) 174 (defun android-adb-shell-command (command) 176 (android-adb-command (concat " shell " command)
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | BugreportParser.java | 75 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/vndk/tools/sourcedr/ninja/tests/testdata/ |
D | rule.ninja | 2 command = gcc -c -o $outs $ins 5 command = gcc -o $outs $ins
|
D | bad_after_good.ninja | 2 command = gcc -c -o $in $out
|
D | default.ninja | 2 command = gcc -c -o $outs $ins
|
/development/cmds/monkey/ |
D | README.NETWORK.txt | 28 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/vndk/tools/header-checker/ |
D | README.md | 8 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 For example, the command below creates reference ABI dumps for all VNDK shared 95 To create reference ABI dumps for a specific library, run the command below: 113 For more command line options, run `utils/create_reference_dumps.py --help`.
|
/development/samples/JetBoy/ |
D | JETBOY_content_README.txt | 5 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/ |
D | DumpActivity.java | 495 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/ |
D | git_commits_not_upstreamed.py | 31 command = ['git'] 32 command.extend(args) 34 return subprocess.check_output(command, stderr=devull)
|
D | repo_diff_android.py | 88 command = "repo sync --jobs=24 --current-branch --quiet" 89 command += " --no-tags --no-clone-bundle" 91 command += " --force-broken" 92 subprocess.check_output(command, cwd=workspace, shell=True)
|
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
D | LoyaltyCardReader.java | 78 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/samples/training/testingfun/ |
D | gradlew.bat | 27 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/ |
D | gradlew.bat | 27 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/devbytes/telephony/SmsSampleProject/ |
D | gradlew.bat | 27 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
|