/external/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils_test.py | 112 mock.ANY, shell=True, check_return=True, as_root=True, 122 mock.ANY, shell=True, check_return=True, as_root=True, 132 mock.ANY, shell=True, check_return=True, as_root=True, 148 ['dumpsys', 'battery', 'set', 'ac', '0'], check_return=True), []), 150 ['dumpsys', 'battery', 'set', 'usb', '0'], check_return=True), 154 ['dumpsys', 'battery', 'reset'], check_return=True), []), 157 ['dumpsys', 'battery'], check_return=True), ['UPDATES STOPPED']), 160 ['dumpsys', 'battery'], check_return=True), [])): 171 ['dumpsys', 'battery', 'set', 'ac', '0'], check_return=True), []), 173 ['dumpsys', 'battery', 'set', 'usb', '0'], check_return=True), [all …]
|
D | device_utils_test.py | 229 shell=True, check_return=True, large_output=True), ret) 406 ['pm', 'path', 'android'], check_return=True), 415 ['pm', 'path', 'not.installed.app'], check_return=True), 424 ['pm', 'path', 'android'], check_return=True), 433 ['pm', 'path', 'not.installed.app'], check_return=True), 442 ['pm', 'path', 'android'], check_return=True), 960 ['pm', 'list', 'packages'], check_return=True) 966 ['echo', 'hello world', '$10'], check_return=True) 972 'echo "$VAR"', shell=True, check_return=True) 979 'echo "$VAR"', shell=True, check_return=True, [all …]
|
D | battery_utils.py | 306 check_return=True, large_output=True) 356 ['dumpsys', 'battery'], check_return=True)[1:]: 410 check_return=True) 412 check_return=True) 430 ['dumpsys', 'battery'], check_return=True))) 433 check_return=True) 623 command, shell=True, check_return=True, as_root=True, large_output=True) 671 ['dumpsys', 'battery', 'set', 'usb', '1'], check_return=True) 673 ['dumpsys', 'battery', 'set', 'ac', '1'], check_return=True) 677 ['dumpsys', 'batterystats', '--reset'], check_return=True) [all …]
|
D | device_utils.py | 458 self.RunShellCommand(['ls', '/root'], check_return=True) 488 self.RunShellCommand(cmd, shell=True, check_return=True, 595 raw_output=True, check_return=True) 603 check_return=True) 648 ['pm', 'path', package], check_return=should_check_return) 681 ['dumpsys', 'package', package], check_return=True) 744 as_root=True, check_return=True): 770 cmd, check_return=True, shell=True, timeout=timeout, retries=retries) 794 check_return=True) 813 check_return=False) [all …]
|
D | settings.py | 147 check_return=True, as_root=True): 157 check_return=True, as_root=True, single_line=True) 171 check_return=True, as_root=True) 177 check_return=True, as_root=True) 183 check_return=True, as_root=True) 269 ['sqlite3', db, cmd], check_return=True, as_root=True)
|
D | md5sum.py | 92 out = device.RunShellCommand(md5sum_script, shell=True, check_return=True) 101 as_root=True, check_return=True) 106 device.RunShellCommand(mkdir_cmd, shell=True, check_return=True) 109 out = device.RunShellCommand(md5sum_script, shell=True, check_return=True)
|
D | install_commands.py | 46 ['mkdir', '-p', BIN_DIR, _FRAMEWORK_DIR], check_return=True) 53 ['chmod', '755', shell_file], check_return=True)
|
D | device_utils_devicetest.py | 92 ['cat', device_file_path], check_return=True, single_line=True) 107 ['cat', device_file_path], check_return=True, single_line=True) 149 ['cat', device_file_path1], check_return=True, single_line=True) 193 ['cat', device_file_path1], check_return=True, single_line=True) 203 ['cat', device_file_path3], check_return=True, single_line=True)
|
D | app_ui.py | 77 self._device.RunShellCommand(['input', 'tap', x, y], check_return=True) 201 check_return=True)
|
D | forwarder.py | 61 ps_out = device.RunShellCommand(['ps'], check_return=True) 408 check_return=True) 476 check_return=True)
|
D | crash_handler_devicetest.py | 42 trigger_cmd, shell=True, check_return=True, retries=1,
|
D | ports.py | 119 ['netstat', '-a'], check_return=True, large_output=True)
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | provision_devices.py | 223 shell=True, check_return=True) 225 shell=True, check_return=True) 237 shell=True, check_return=True) 245 ['pm', 'list', 'packages'], check_return=True) 248 ['pm', 'list', 'packages', '-s'], check_return=True)] 263 device.RunShellCommand(['rm', '-rf', path], check_return=True) 285 as_root=True, check_return=True) 306 as_root=True, check_return=True) 308 as_root=True, check_return=True) 311 as_root=True, check_return=True) [all …]
|
D | system_app.py | 103 device.RunShellCommand(['stop'], check_return=True) 127 check_return=True) 161 device.RunShellCommand(cmd, as_root=True, check_return=True, shell=True)
|
D | adb_run_shell_cmd.py | 38 args.cmd, large_output=True, as_root=args.as_root, check_return=True)
|
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
D | atrace_process_dump.py | 44 self._device.RunShellCommand(cmd, check_return=True, as_root=True) 51 shell=True, check_return=True, as_root=True) 54 check_return=True, as_root=True) 57 check_return=True, as_root=True)
|
D | atrace_agent.py | 56 LIST_CATEGORIES_ARGS, check_return=True) 76 LIST_CATEGORIES_ARGS, check_return=True) 194 self._tracer_args + ['--async_start'], check_return=True) 249 large_output=True, check_return=True, timeout=ADB_LARGE_OUTPUT_TIMEOUT) 256 self._tracer_args + ['-t 0'], check_return=True) 292 shell=True, check_return=True)[0].split(' ')
|
D | android_process_data_agent.py | 81 PS_COMMAND_PROC, check_return=True, as_root=True, shell=True) 90 PS_COMMAND_PROC_LEGACY, check_return=True, as_root=True, shell=True)
|
/external/ltp/testcases/kernel/syscalls/getrusage/ |
D | getrusage03.c | 62 static void check_return(int status, char *pass_msg, char *fail_msg); 116 check_return(WEXITSTATUS(status), "initial.self ~= child.self", in inherit_fork() 145 check_return(WEXITSTATUS(status), "child.children == 0", in inherit_fork2() 173 check_return(WEXITSTATUS(status), "initial.self + 50MB ~= child.self", in fork_malloc() 313 static void check_return(int status, char *pass_msg, char *fail_msg) in check_return() function
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | ddms_tracing_agent.py | 32 ['am', '--help'], check_return=True): 45 self._device.RunShellCommand(cmd, check_return=True) 51 ['am', 'profile', 'stop', self._package], check_return=True)
|
/external/chromium-trace/catapult/devil/devil/android/perf/ |
D | surface_stats_collector.py | 109 check_return=True) 121 ['dumpsys', 'SurfaceFlinger', '--list'], check_return=True) 169 results = self._device.RunShellCommand(command, check_return=True)
|
D | thermal_throttle.py | 102 ['dmesg', '-c'], large_output=True, check_return=True) 129 ['dumpsys', 'battery'], check_return=True)
|
D | cache_control.py | 14 self._device.RunShellCommand(['sync'], check_return=True, as_root=True)
|
D | perf_control.py | 227 script, cwd=self._CPU_PATH, check_return=True, as_root=True, shell=True) 318 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | util.py | 49 check_return=True, raw_output=True)
|