/external/autotest/site_utils/ |
D | deploy_production_local_unittest.py | 89 def test_verify_repo_clean(self, run_cmd): argument 95 run_cmd.return_value = 'nothing to commit (working directory clean)\n' 99 run_cmd.return_value = self.PROD_STATUS 104 run_cmd.return_value = "That's a very dirty repo you've got." 109 def test_repo_versions(self, run_cmd): argument 123 run_cmd.return_value = self.PROD_VERSIONS 127 run_cmd.assert_called_with( 132 def test_repo_sync(self, run_cmd): argument 138 run_cmd.assert_called_with(['repo', 'sync']) 152 def test_update_command(self, run_cmd): argument [all …]
|
D | bind_mysql_to_cpuset.sh | 56 function run_cmd() { function 122 run_cmd "mkdir -p ${MOUNT_DIR}" 123 run_cmd "mount -t cpuset none ${MOUNT_DIR}" 146 run_cmd "kill -9 ${proc}" 149 run_cmd "rmdir ${MOUNT_DIR}/${MYSQL_CPUSET}" 151 run_cmd "umount ${MOUNT_DIR}" 225 run_cmd "mkdir -p ${MOUNT_DIR}/${MYSQL_CPUSET}" 228 run_cmd "cd ${MOUNT_DIR}/${MYSQL_CPUSET}" 233 run_cmd "bash -c \"/bin/echo ${MYSQL_CPUS} > cpus\"" 239 run_cmd "bash -c \"/bin/echo ${MYSQL_PID} > tasks\""
|
/external/autotest/cli/ |
D | acl_unittest.py | 81 self.run_cmd(argv=['atest', 'acl', 'list', '-v'], 92 self.run_cmd(argv=['atest', 'acl', 'list', 'acl0'], 103 self.run_cmd(argv=['atest', 'acl', 'list', '-v', '--user', 'user0'], 114 self.run_cmd(argv=['atest', 'acl', 'list', '-m', 'host0'], 127 self.run_cmd(argv=['atest', 'acl', 'list', '-m', 'host0', '-v'], 180 self.run_cmd(argv=['atest', 'acl', 'create', 'acl0', 191 self.run_cmd(argv=['atest', 'acl', 'create', 'acl0', 206 self.run_cmd(argv=['atest', 'acl', 'delete', 'acl0', 213 self.run_cmd(argv=['atest', 'acl', 'delete', 'acl0', 224 self.run_cmd(argv=['atest', 'acl', 'delete', [all …]
|
D | atomicgroup_unittest.py | 17 def run_cmd(self, argv, *args, **kwargs): member in atomicgroup_unittest 19 super(atomicgroup_unittest, self).run_cmd( 41 self.run_cmd(argv=['list'], 50 self.run_cmd(argv=['list', '--show-invalid'], 58 self.run_cmd(argv=['create', '-n', '33', '-d', 'Fruits', 'ag-name'], 67 self.run_cmd(argv=['create', '--max_number_of_machines', '33', 78 self.run_cmd(argv=['delete', 'ag-name', '--no-confirmation'], 86 self.run_cmd(argv=['add', '--label', 'One', 'ag-name'], 94 self.run_cmd(argv=['remove', '--label', 'One', 'ag-name'],
|
D | label_unittest.py | 48 self.run_cmd(argv=['atest', 'label', 'list', '--ignore_site_file'], 55 self.run_cmd(argv=['atest', 'label', 'list', '-d', 63 self.run_cmd(argv=['atest', 'label', 'list', '--all', 71 self.run_cmd(argv=['atest', 'label', 'list', '-t', 79 self.run_cmd(argv=['atest', 'label', 'list', 89 self.run_cmd(argv=['atest', 'label', 'create', 'label0', 'label1', 103 self.run_cmd(argv=['atest', 'label', 'create', 'label0', 'label1', 123 self.run_cmd(argv=['atest', 'label', 'delete', 'label0', 'label1', 132 self.run_cmd(argv=['atest', 'label', 'add', 'label0', 142 self.run_cmd(argv=['atest', 'label', 'remove', 'label0',
|
D | job_unittest.py | 109 self.run_cmd(argv=['atest', 'job', 'list', '--ignore_site_file'], 119 self.run_cmd(argv=['atest', 'job', 'list', '-u', 'Cringer', 130 self.run_cmd(argv=['atest', 'job', 'list', '--all', 140 self.run_cmd(argv=['atest', 'job', 'list', '5964', 161 self.run_cmd(argv=['atest', 'job', 'list', '5964', '-v', 183 self.run_cmd(argv=['atest', 'job', 'list', 'myt*', 204 self.run_cmd(argv=['atest', 'job', 'list', '--all', '--verbose', 228 self.run_cmd(argv=['atest', 'job', 'stat', '180', 261 self.run_cmd(argv=['atest', 'job', 'stat', '6761', 300 self.run_cmd(argv=['atest', 'job', 'stat', '6761', [all …]
|
D | test_unittest.py | 60 self.run_cmd(argv=['atest', 'test', 'list'], 69 self.run_cmd(argv=['atest', 'test', 'list', '--all'], 78 self.run_cmd(argv=['atest', 'test', 'list', '--experimental'], 95 self.run_cmd(argv=['atest', 'test', 'list', 'test3'], 107 self.run_cmd(argv=['atest', 'test', 'list', 'test3,test1'], 119 self.run_cmd(argv=['atest', 'test', 'list', 'test3', 'test1'], 129 self.run_cmd(argv=['atest', 'test', 'list', '-v'], 139 self.run_cmd(argv=['atest', 'test', 'list', '-d'], 148 self.run_cmd(argv=['atest', 'test', 'list', '-d', '-v'],
|
D | user_unittest.py | 64 self.run_cmd(argv=['atest', 'user', 'list'], 81 self.run_cmd(argv=['atest', 'user', 'list', 'user0'], 92 self.run_cmd(argv=['atest', 'user', 'list', '--acl', 'acl0'], 103 self.run_cmd(argv=['atest', 'user', 'list', '--access_level', '2'], 114 self.run_cmd(argv=['atest', 'user', 'list', '--verbose'], 131 self.run_cmd(argv=['atest', 'user', 'list', '--ulist', ufile.name, 146 self.run_cmd(argv=['atest', 'user', 'list', '--acl', 'acl0', '-v'], 156 self.run_cmd(argv=['atest', 'user', 'list',
|
D | host_unittest.py | 118 self.run_cmd(argv=['atest', 'host', 'list', '--ignore_site_file'], 150 self.run_cmd(argv=['atest', 'host', 'list', '--ignore_site_file'], 183 self.run_cmd(argv=['atest', 'host', 'list', 'host1', 207 self.run_cmd(argv=['atest', 'host', 'list', 'host1', 245 self.run_cmd(argv=['atest', 'host', 'list', 'host1', 270 self.run_cmd(argv=['atest', 'host', 'list', 282 self.run_cmd(argv=['atest', 'host', 'list', 317 self.run_cmd(argv=['atest', 'host', 'list', 352 self.run_cmd(argv=['atest', 'host', 'list', 378 self.run_cmd(argv=['atest', 'host', 'list', [all …]
|
D | shard_unittest.py | 22 self.run_cmd(argv=['atest', 'shard', 'list'], 30 self.run_cmd(argv=['atest', 'shard', 'create', 39 self.run_cmd(argv=['atest', 'shard', 'create', 52 self.run_cmd(argv=['atest', 'shard', 'delete',
|
D | atest_unittest.py | 28 outputs = self.run_cmd(argv + [help], exit_code=0, 62 self.run_cmd(['atest'], exit_code=1, 69 self.run_cmd(['atest', 'bad_topic'], exit_code=1, 76 self.run_cmd(['atest', 'host', 'bad_action'], exit_code=1,
|
/external/autotest/server/site_tests/firmware_Mosys/ |
D | firmware_Mosys.py | 37 lines = self.run_cmd('mosys help') 49 def run_cmd(self, command): member in firmware_Mosys 72 lines = self.run_cmd('fwtool ec version') 74 lines = self.run_cmd('ectool version') 104 lines = self.run_cmd('ectool --dev 1 version') 135 lines = self.run_cmd(lsb_info) 181 output = self.run_cmd(command)[0] 196 output = self.run_cmd(command)[0] 209 output = self.run_cmd(command)[0] 217 lines = self.run_cmd(command) [all …]
|
/external/autotest/client/site_tests/hardware_ch7036/ |
D | hardware_ch7036.py | 23 def run_cmd(cmd): function 33 ups_str = run_cmd('initctl status %s' % (server)) 44 run_cmd("%s xset dpms force %s" % (_XENV, dpms_verb)) 46 run_cmd("%s xset dpms force on" % (_XENV)) 52 lsof_out = run_cmd('lsof -c /ch7036_monitor/ ' + \
|
/external/netperf/doc/examples/ |
D | runemomniaggdemo.sh | 14 function run_cmd { function 185 run_cmd 193 run_cmd 202 run_cmd 215 run_cmd
|
/external/iproute2/tipc/ |
D | peer.c | 72 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer_rm() 92 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer()
|
D | media.c | 153 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_get() 234 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_set() 259 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media()
|
D | node.c | 220 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_set() 242 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_get() 266 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node()
|
D | link.c | 156 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_get() 409 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_stat() 492 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_set() 519 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link()
|
D | cmdl.h | 41 int run_cmd(struct nlmsghdr *nlh, const struct cmd *caller,
|
D | tipc.c | 95 if ((res = run_cmd(NULL, &cmd, cmds, &cmdl, NULL)) != 0) in main()
|
D | nametable.c | 108 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_nametable()
|
D | cmdl.c | 100 int run_cmd(struct nlmsghdr *nlh, const struct cmd *caller, in run_cmd() function
|
D | bearer.c | 526 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_bearer_set() 655 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_bearer_get() 724 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_bearer()
|
/external/autotest/client/common_lib/ |
D | base_packages.py | 49 run_cmd = None 58 run_cmd = 'ssh %s@%s "%s%s"' % (username, host, cd_str, cmd) 60 run_cmd = 'ssh %s "%s%s"' % (host, cd_str, cmd) 65 run_cmd = "%s%s" % (cd_str, cmd) 67 if run_cmd: 68 return utils.run(run_cmd, ignore_status=ignore_status)
|
/external/autotest/server/site_tests/firmware_FMap/ |
D | firmware_FMap.py | 79 def run_cmd(self, command): member in firmware_FMap 99 lines = self.run_cmd("mosys eeprom map")
|