Home
last modified time | relevance | path

Searched refs:RunCommand (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_test.cpp571 EXPECT_EQ(-1, RunCommand("", {})); in TEST_F()
575 EXPECT_EQ(0, RunCommand("", {kSimpleCommand})); in TEST_F()
591 0, RunCommand("", {kSimpleCommand}, in TEST_F()
598 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, in TEST_F()
605 EXPECT_EQ(0, RunCommand("", {kEchoCommand, "one"})); in TEST_F()
628 EXPECT_EQ(0, RunCommand("", {kSimpleCommand})); in TEST_F()
1331 EXPECT_EQ(-1, RunCommand("", {})); in TEST_F()
1336 EXPECT_EQ(0, RunCommand("", {kSimpleCommand})); in TEST_F()
1365 0, RunCommand("", {kSimpleCommand}, in TEST_F()
1373 EXPECT_EQ(0, RunCommand("", {kSimpleCommand}, in TEST_F()
[all …]
/aosp12/system/apex/apexer/
H A Dapexer.py516 RunCommand(cmd, args.verbose,
524 RunCommand(cmd, args.verbose)
562 RunCommand(cmd, args.verbose)
572 RunCommand(cmd, args.verbose)
616 RunCommand(cmd, args.verbose)
633 RunCommand(cmd, args.verbose)
642 RunCommand(cmd, args.verbose)
706 RunCommand(cmd, args.verbose)
717 RunCommand(cmd, args.verbose)
725 RunCommand(cmd, args.verbose)
[all …]
/aosp12/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp983 RunCommand( in DoKernelLogcat()
994 RunCommand("SYSTEM LOG", in DoSystemLogcat()
1002 RunCommand( in DoRadioLogcat()
1013 RunCommand("SYSTEM LOG", in DoLogcat()
1017 RunCommand( in DoLogcat()
1022 RunCommand( in DoLogcat()
1493 RunCommand( in DumpstateLimitedOnly()
2434 RunCommand("", am, in SendBroadcast()
2447 RunCommand("", args, in Vibrate()
3045 int res = RunCommand( in MaybeSnapshotSystemTrace()
[all …]
H A Ddumpstate.h238 int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand,
/aosp12/art/tools/jfuzz/
H A Drun_dex_fuzz_test.py32 from common.common import RunCommand
115 if RunCommand(['javac', '--release=8', dbg, 'Test.java'],
121 if RunCommand([dx, '--dex', '--output=classes.dex'] + cfiles,
141 if RunCommand(['jfuzz'], out='Test.java', err=None) != RetCode.SUCCESS:
H A Drun_jfuzz_test.py37 from common.common import RunCommand
133 if RunCommand(['javac', '--release=8', dbg, 'Test.java'],
136 retc = RunCommand([dx, '--dex', '--output=classes.dex'] + glob('*.class'),
166 if RunCommand(['javac', '--release=8', dbg, 'Test.java'],
168 retc = RunCommand(['java', 'Test'], self.output_file, err=None)
196 retc = RunCommand(self._art_cmd, self.output_file, 'arterr.txt')
276 (output, retc) = self._test_env.RunCommand(
463 if (RunCommand(['jfuzz'] + self._jfuzz_args, out='Test.java', err=None)
582 if RunCommand([bisection_search_path] + args, out=outfile_path,
/aosp12/system/vold/
H A DAppFuseUtil.cpp73 static android::status_t RunCommand(const std::string& command, uid_t uid, const std::string& path, in RunCommand() function
136 return RunCommand("mount", uid, path, device_fd->get()); in MountAppFuse()
149 return RunCommand("unmount", uid, path, -1 /* device_fd */); in UnmountAppFuse()
/aosp12/system/apex/tools/
H A Dapex_compression_tool.py48 def RunCommand(cmd, verbose=False, env=None, expected_return_values=None): function
123 RunCommand(cmd, verbose=True)
135 root_digest = RunCommand(avbtool_cmd, True)[0].decode().split(': ')[1].strip()
/aosp12/system/extras/ext4_utils/
H A Dmkuserimg_mke2fs.py26 def RunCommand(cmd, env): function
243 output, ret = RunCommand(mke2fs_cmd, mke2fs_env)
254 output, ret = RunCommand(e2fsdroid_cmd, e2fsdroid_env)
/aosp12/art/tools/common/
H A Dcommon.py176 def RunCommand(cmd, out, err, timeout=5): function
255 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): member in ITestEnv
335 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): member in HostTestEnv
434 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): member in DeviceTestEnv
/aosp12/system/core/init/
H A Dsubcontext.cpp68 void RunCommand(const SubcontextCommand::ExecuteCommand& execute_command,
78 void SubcontextProcess::RunCommand(const SubcontextCommand::ExecuteCommand& execute_command, in RunCommand() function in android::init::__anona1e497da0110::SubcontextProcess
151 RunCommand(subcontext_command.execute_command(), &reply); in MainLoop()
/aosp12/art/tools/bisection_search/
H A Dbisection_search.py115 (output, ret_code) = self._test_env.RunCommand(
136 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
156 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
/aosp12/art/runtime/
H A Dnative_stack_dump.cc287 static bool RunCommand(const std::string& cmd) { in RunCommand() function
349 use_addr2line = (gAborting > 0) && RunCommand(FindAddr2line() + " -h"); in DumpNativeStack()