| /development/cmds/monkey/src/com/android/commands/monkey/ |
| MonkeyTouchEvent.java | 17 package com.android.commands.monkey;
|
| MonkeyTrackballEvent.java | 17 package com.android.commands.monkey;
|
| MonkeyNoopEvent.java | 17 package com.android.commands.monkey;
|
| /development/vndk/tools/sourcedr/sourcedr/commands/ |
| __init__.py | 8 from sourcedr.commands import collect, init, scan, review 12 """Register sub-commands, parse command line options, and delegate.""" 16 commands = {} 19 commands[name] = init_argparse(subparsers) 29 func = commands[args.subcmd]
|
| /external/ltp/testcases/network/nfsv4/acl/ |
| cleangroups.py | 3 import commands
|
| cleanusers.py | 3 import commands
|
| test_acl.py | 6 import commands 18 u = commands.getoutput('mkdir ' + path + "/" + testdir) 19 u = commands.getoutput('getfacl ' + path + "/" + testdir) 27 u = commands.getoutput('touch ' + path + "/" + testdir + testfile) 29 u = commands.getoutput('getfacl ' + path + "/" + testdir + testfile) 58 u = commands.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + test_file) 72 u = commands.getoutput('touch ' + path + "/" + testfile) 77 u = commands.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + testfile) 88 u = commands.getoutput('rm ' + path + "/*") # clean directory 96 u = commands.getoutput('touch ' + path + "/" + testfile [all...] |
| /frameworks/base/cmds/am/ |
| am | 8 exec app_process $base/bin com.android.commands.am.Am "$@"
|
| /frameworks/base/core/java/android/nfc/ |
| ApduList.java | 14 private ArrayList<byte[]> commands = new ArrayList<byte[]>(); field in class:ApduList 20 commands.add(command); 24 return commands; 48 commands.add(cmd); 59 dest.writeInt(commands.size()); 61 for (byte[] cmd : commands) {
|
| /test/vts-testcase/kernel/ltp/shell_environment/definitions/ |
| directory_exists.py | 62 commands = ["ls %s" % path for path in self._paths] 63 results = self.ExecuteShellCommand(commands)[const.EXIT_CODE] 76 commands = ["mkdir -p %s" % path for path in self._failed_paths] 78 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE]) 81 commands = ["rm -rf %s" % path for path in self._failed_paths] 82 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE])
|
| path_permission.py | 66 commands = ["stat -c {}a {}".format('%', path) for path in self._paths] 67 results = self.ExecuteShellCommand(commands)[const.STDOUT] 84 commands = ["chmod {} {}".format(permission, path) 87 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE]) 90 commands = ["chmod {} {}".format(original, path) 92 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE])
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_commands.py | 2 Tests for commands module
12 commands = import_module('commands', deprecated=True)
variable 27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy')
28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy'))
38 status, output = commands.getstatusoutput('cat ' + name)
63 with check_warnings((".*commands.getstatus.. is deprecated",
65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
| /external/python/cpython2/Lib/test/ |
| test_commands.py | 2 Tests for commands module 12 commands = import_module('commands', deprecated=True) variable 27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy') 28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy')) 38 status, output = commands.getstatusoutput('cat ' + name) 63 with check_warnings((".*commands.getstatus.. is deprecated", 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| test_commands.py | 2 Tests for commands module 12 commands = import_module('commands', deprecated=True) variable 27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy') 28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy')) 38 status, output = commands.getstatusoutput('cat ' + name) 63 with check_warnings((".*commands.getstatus.. is deprecated", 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
| /prebuilts/gdb/linux-x86/lib/python2.7/test/ |
| test_commands.py | 2 Tests for commands module 12 commands = import_module('commands', deprecated=True) variable 27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy') 28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy')) 38 status, output = commands.getstatusoutput('cat ' + name) 63 with check_warnings((".*commands.getstatus.. is deprecated", 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_commands.py | 2 Tests for commands module 12 commands = import_module('commands', deprecated=True) variable 27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy') 28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy')) 38 status, output = commands.getstatusoutput('cat ' + name) 63 with check_warnings((".*commands.getstatus.. is deprecated", 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_commands.py | 2 Tests for commands module 12 commands = import_module('commands', deprecated=True) variable 27 self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy') 28 self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy')) 38 status, output = commands.getstatusoutput('cat ' + name) 63 with check_warnings((".*commands.getstatus.. is deprecated", 65 self.assertTrue(re.match(pat, commands.getstatus("/."), re.VERBOSE))
|
| /tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/ |
| BundleToolMain.java | 43 List<String> commands = flagParser.getCommands(); local 45 if (commands.isEmpty()) { 52 switch (commands.get(0)) { 62 if (commands.size() > 1) { 63 help(commands.get(1));
|
| /external/brotli/c/enc/ |
| compress_fragment_two_pass.c | 117 uint32_t insertlen, uint32_t** commands) { 119 **commands = insertlen; 126 **commands = inscode | (extra << 8); 132 **commands = code | (extra << 8); 135 **commands = 21 | (extra << 8); 138 **commands = 22 | (extra << 8); 141 **commands = 23 | (extra << 8); 143 ++(*commands); 146 static BROTLI_INLINE void EmitCopyLen(size_t copylen, uint32_t** commands) { 148 **commands = (uint32_t)(copylen + 38) 538 uint32_t* commands = command_buf; local [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
| LargeNumAidsService.java | 13 CommandApdu[] commands = new CommandApdu[256]; local 15 commands[i] = HceUtils.buildSelectApdu(HceUtils.LARGE_NUM_AIDS_PREFIX + String.format("%02X", i) + 18 return commands;
|
| /system/netd/server/ |
| StrictController.cpp | 154 const std::string commands = Join(commandList, '\n'); local 155 return execIptablesRestore(V4V6, commands); 162 // exist, put each UID's rules in a chain specific to that UID. That way, the commands we need 167 std::vector<std::string> commands; local 170 commands = { 181 commands.push_back("*filter"); 182 commands.push_back(StringPrintf(":%s -", perUidChain.c_str())); 183 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s", 185 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s", 189 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(), LOCAL_PENALTY_LOG)) [all...] |
| FirewallController.cpp | 267 std::string commands; local 270 StringAppendF(&commands, "-A %s -p icmpv6 --icmpv6-type %s -j RETURN\n", 274 return commands; 279 std::string commands; local 280 StringAppendF(&commands, "*filter\n:%s -\n", name); 285 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j RETURN\n", name, uid); 289 StringAppendF(&commands, 294 StringAppendF(&commands, 298 StringAppendF(&commands, "-A %s -p esp -j RETURN\n", name); 302 StringAppendF(&commands, "-A %s -i lo -j RETURN\n", name) [all...] |
| /external/selinux/sandbox/ |
| start | 5 from commands import getstatusoutput
|
| /external/autotest/client/tests/iozone/ |
| postprocessing.py | 383 commands that will create a parametric surface with file size vs. 389 commands = "" 390 commands += "set title 'Iozone performance: %s'\n" % label 391 commands += "set logscale x\n" 392 commands += "set xlabel 'File size (KB)'\n" 393 commands += "set ylabel 'Througput (MB/s)'\n" 394 commands += "set terminal png small size 450 350\n" 395 commands += "set output '%s'\n" % os.path.join(self.output_dir, 397 commands += ("plot '%s' using 1:%s title '%s' with lines \n" % 400 commands_file.write(commands) [all...] |
| /external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
| VersionTest.java | 12 package org.jacoco.cli.internal.commands;
|