Home
last modified time | relevance | path

Searched refs:check_return (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium-trace/catapult/devil/devil/android/
Dbattery_utils_test.py128 check_return=True,
139 check_return=True,
150 check_return=True,
164 ['dumpsys', 'battery', 'set', 'ac', '0'], check_return=True), []),
166 ['dumpsys', 'battery', 'set', 'usb', '0'], check_return=True),
169 check_return=True), []),
172 ['dumpsys', 'battery'], check_return=True), ['UPDATES STOPPED']),
175 check_return=True), [])):
185 ['dumpsys', 'battery', 'set', 'ac', '0'], check_return=True), []),
187 ['dumpsys', 'battery', 'set', 'usb', '0'], check_return=True),
[all …]
Dbattery_utils.py266 ['dumpsys', 'batterystats', '-c'], check_return=True, large_output=True)
321 check_return=True)[1:]:
377 check_return=True)
379 check_return=True)
398 ['dumpsys', 'battery'], check_return=True)))
401 check_return=True)
591 command, shell=True, check_return=True, as_root=True, large_output=True)
639 check_return=True)
641 check_return=True)
645 check_return=True)
[all …]
Ddevice_utils_test.py264 check_return=True,
443 ['pm', 'list', 'packages', 'some.installed.app'], check_return=True),
450 ['pm', 'list', 'packages', 'not.installed.app'], check_return=True),
453 ['dumpsys', 'package'], check_return=True, large_output=True), [])):
460 check_return=True),
466 ['dumpsys', 'package'], check_return=True, large_output=True), [])):
474 check_return=True), []),
476 ['dumpsys', 'package'], check_return=True, large_output=True),
483 ['dumpsys', 'package'], check_return=True, large_output=True),
491 ['dumpsys', 'package'], check_return=True, large_output=True),
[all …]
Dsettings.py147 check_return=True,
160 check_return=True,
178 check_return=True,
187 check_return=True,
196 check_return=True,
283 check_return=True,
Ddevice_utils.py598 check_return=True,
736 check_return=True)
744 check_return=True)
778 ['pm', 'list', 'packages', package], check_return=True)
788 ['dumpsys', 'package'], check_return=True, large_output=True)
835 check_return=should_check_return)
868 check_return=True)
967 check_return=True):
993 cmd, check_return=True, shell=True, timeout=timeout, retries=retries)
1026 ['test', '-d', self.GetExternalStoragePath()], check_return=True)
[all …]
Dmd5sum.py117 md5sum_script, shell=True, check_return=True, large_output=True)
127 check_return=True)
132 device.RunShellCommand(mkdir_cmd, shell=True, check_return=True)
136 md5sum_script, shell=True, check_return=True, large_output=True)
Dinstall_commands.py45 check_return=True)
51 device.RunShellCommand(['chmod', '755', shell_file], check_return=True)
Ddevice_utils_devicetest.py94 check_return=True,
110 check_return=True,
153 check_return=True,
198 check_return=True,
209 check_return=True,
Dapp_ui.py75 self._device.RunShellCommand(['input', 'tap', x, y], check_return=True)
198 check_return=True)
Dforwarder.py69 ps_out = device.RunShellCommand(['ps'], check_return=True)
413 check_return=True)
508 check_return=True)
Dcrash_handler_devicetest.py46 check_return=True,
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py221 check_return=True)
223 'rm -rf /data/local/tmp/*', shell=True, check_return=True)
237 check_return=True)
245 check_return=True)
249 check_return=True)
265 device.RunShellCommand(['rm', '-rf', path], check_return=True)
286 device.RunShellCommand(['wipe', 'data'], as_root=True, check_return=True)
308 check_return=True)
311 check_return=True)
315 check_return=True)
[all …]
Dsystem_app_test.py91 _PM_LIST_PACKAGES_COMMAND, check_return=True)
104 _PM_LIST_PACKAGES_COMMAND, check_return=True)
116 _PM_LIST_PACKAGES_COMMAND, check_return=True)
129 _PM_LIST_PACKAGES_COMMAND[:-1] + [''], check_return=True)
Dsystem_app.py105 ['pm', 'list', 'packages', '-f', '-u', package], check_return=True)
177 device.RunShellCommand(['stop'], check_return=True)
265 device.RunShellCommand(['mkdir', '-p'] + relocation_dirs, check_return=True)
300 device.RunShellCommand(cmd, as_root=True, check_return=True, shell=True)
Dadb_run_shell_cmd.py38 check_return=True).pGet(None))
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_process_dump.py44 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)
Datrace_agent.py57 LIST_CATEGORIES_ARGS, check_return=True)
77 LIST_CATEGORIES_ARGS, check_return=True)
197 self._tracer_args + ['--async_start'], check_return=True)
257 large_output=True, check_return=True,
262 self._tracer_args + ['-t 0'], check_return=True)
267 large_output=True, check_return=True,
304 shell=True, check_return=True)[0].split(' ')
Dandroid_process_data_agent.py81 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/
Dgetrusage03.c62 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/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
Dswap_ranges.pass.cpp87 bool check_return = (actual_return == actual_e); in operator ()() local
88 EXPECT_TRUE(check_return, "wrong result of swap_ranges"); in operator ()()
89 if (check_return) in operator ()()
/external/chromium-trace/catapult/systrace/profile_chrome/
Dddms_tracing_agent.py32 ['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/
Dsurface_stats_collector.py118 check_return=True)
130 ['dumpsys', 'SurfaceFlinger', '--list'], check_return=True)
153 output = self._device.RunShellCommand(command, check_return=True)
Dthermal_throttle.py104 check_return=True)
131 check_return=True)
Dperf_control.py321 script, cwd=self._CPU_PATH, check_return=True, as_root=True, shell=True)
407 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
419 self._device.RunShellCommand(cmd, check_return=True, as_root=True)
Dcache_control.py14 self._device.RunShellCommand(['sync'], check_return=True, as_root=True)

12