Home
last modified time | relevance | path

Searched full:runcmd (Results 1 – 25 of 101) sorted by relevance

12345

/aosp_15_r20/external/toolchain-utils/go/patch/go-1.10.2/
H A Dgo2.patch32 type runCmd func(...string) ([]byte, error)
34 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
42 return runcmd(cmd...)
45 …func compileInDir(runcmd runCmd, dir string, flags []string, names ...string) (out []byte, err err…
55 return runcmd(cmd...)
58 func linkFile(runcmd runCmd, goname string) (err error) {
65 - _, err = runcmd(cmd...)
66 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
70 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
79 + return runcmd(cmd...)
[all …]
H A Dgo3.patch863 @@ -222,16 +222,26 @@ func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out…
869 return runcmd(cmd...)
872 +func goRunTarget(runcmd runCmd, goname string, args ...string) (out []byte, err error) {
879 + return runcmd(cmd...)
920 + out, err := goRunTarget(runcmd, t.goFileName(), args...)
935 out, err := goRun(runcmd, nil, t.goFileName(), args...)
/aosp_15_r20/external/toolchain-utils/go/patch/go-1.11.2/
H A Dgo2.patch21 type runCmd func(...string) ([]byte, error)
23 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
31 return runcmd(cmd...)
34 …func compileInDir(runcmd runCmd, dir string, flags []string, localImports bool, names ...string) (…
48 @@ -234,15 +228,28 @@ func compileInDir(runcmd runCmd, dir string, flags []string, localImports boo…
50 func linkFile(runcmd runCmd, goname string) (err error) {
58 - _, err = runcmd(cmd...)
59 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
64 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
73 + return runcmd(cmd...)
[all …]
H A Dgo3.patch654 @@ -246,6 +246,16 @@ func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out …
658 +func goRunTarget(runcmd runCmd, goname string, args ...string) (out []byte, err error) {
665 + return runcmd(cmd...)
686 + out, err := goRunTarget(runcmd, t.goFileName(), args...)
/aosp_15_r20/external/toolchain-utils/go/patch/go-1.10.3/
H A Dgo2.patch17 type runCmd func(...string) ([]byte, error)
19 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
27 return runcmd(cmd...)
30 …func compileInDir(runcmd runCmd, dir string, flags []string, names ...string) (out []byte, err err…
40 @@ -217,15 +211,24 @@ func compileInDir(runcmd runCmd, dir string, flags []string, names ...string)…
42 func linkFile(runcmd runCmd, goname string) (err error) {
49 - _, err = runcmd(cmd...)
51 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
56 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
65 + return runcmd(cmd...)
[all …]
H A Dgo3.patch652 @@ -229,6 +229,16 @@ func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out …
653 return runcmd(cmd...)
656 +func goRunTarget(runcmd runCmd, goname string, args ...string) (out []byte, err error) {
663 + return runcmd(cmd...)
684 + out, err := goRunTarget(runcmd, t.goFileName(), args...)
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesShellCommandTest.java153 int result = runCmd((String[]) null); in testExec_nullShowsHelp()
164 int result = runCmd(""); in testExec_emptyShowsHelp()
175 int result = runCmd("help"); in testExec_help()
186 int result = runCmd("-h"); in testExec_helpShort()
205 int result = runCmd(cmd); in testExec_invalidCommand()
218 int result = runCmd(cmd); in testExec_adServicesCommand_throwsRemoteException()
229 int result = runCmd(cmd); in testExec_adServicesCommand_timeoutHappens()
239 int result = runCmd("is-system-service-enabled"); in testExec_isSystemServiceEnabled_true()
251 int result = runCmd("is-system-service-enabled"); in testExec_isSystemServiceEnabled_false()
263 int result = runCmd("is-system-service-enabled", "--verbose"); in testExec_isSystemServiceEnabled_true_verbose()
[all …]
/aosp_15_r20/external/iptables/iptables/
H A Diptables-apply5 # iptables-apply [-hV] [-t timeout] [-w savefile] {[rulesfile]|-c [runcmd]}
76 $PROGNAME [-hV] [-t timeout] [-w savefile] {[rulesfile]|-c [runcmd]}
101 -c runcmd, --command runcmd
102 Run command runcmd to configure iptables instead of applying a rulesfile
179 # Treat parameter as runcmd (run command mode)
180 RUNCMD="${1:-$DEF_RUNCMD}"
181 if [ ! -x "$RUNCMD" ]; then
182 echo "Error: runcmd not executable: $RUNCMD" >&2
187 COMMANDS=(mktemp "$SAVE" "$RESTORE" "$RUNCMD")
230 echo -n "Running command '$RUNCMD'... "
[all …]
H A Diptables-apply.8.in11 …\fP [\-\fBhV\fP] [\fB-t\fP \fItimeout\fP] [\fB-w\fP \fIsavefile\fP] {[\fIrulesfile]|-c [runcmd]}\fP
39 \fB\-c\fP \fIruncmd\fR, \fB\-\-command\fP \fIruncmd\fR
40 Run command runcmd to configure iptables instead of applying a rulesfile
/aosp_15_r20/external/skia/infra/bots/task_drivers/codesize/
H A Dcodesize.go361 runCmd := &exec.Command{
368 _, err := exec.RunCommand(ctx, runCmd)
372 runCmd = &exec.Command{
379 _, err = exec.RunCommand(ctx, runCmd)
383 runCmd = &exec.Command{
390 _, err = exec.RunCommand(ctx, runCmd)
401 runCmd := &exec.Command{
420 bloatyOutput, err = exec.RunCommand(ctx, runCmd)
426 return bloatyOutput, runCmd.Args, nil
440 runCmd := &exec.Command{
[all …]
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_utils_devicetest.py98 cmd_helper.RunCmd(['rm', host_file_path])
114 cmd_helper.RunCmd(['rm', host_file_path])
125 cmd_helper.RunCmd(['rm', host_file_path])
131 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
148 cmd_helper.RunCmd(['rm', host_file_path2])
160 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
167 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir1])
168 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir2])
192 cmd_helper.RunCmd(['rm', host_file_path2])
193 cmd_helper.RunCmd(['rm', host_file_path4])
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/testdir/
Dtestdir_test.go184 type runCmd func(...string) ([]byte, error) type
186 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) { argument
193 return runcmd(cmd...)
196 func compileInDir(runcmd runCmd, dir string, flags []string, importcfg string, pkgname string, name… argument
214 return runcmd(cmd...)
250 func linkFile(runcmd runCmd, goname string, importcfg string, ldflags []string) (err error) { argument
263 _, err = runcmd(cmd...)
618 runcmd := func(args ...string) ([]byte, error) {
761 out, err := runcmd(cmdline...)
781 _, err := compileFile(runcmd, long, flags)
[all …]
/aosp_15_r20/external/skia/infra/bots/task_drivers/check_generated_files/
H A Dcheck_generated_files.go154 runCmd := &sk_exec.Command{
162 _, err := sk_exec.RunCommand(ctx, runCmd)
220 runCmd := &sk_exec.Command{
228 if _, err := sk_exec.RunCommand(ctx, runCmd); err != nil {
238 runCmd := &sk_exec.Command{
246 if _, err := sk_exec.RunCommand(ctx, runCmd); err != nil {
256 runCmd := &sk_exec.Command{
264 if _, err := sk_exec.RunCommand(ctx, runCmd); err != nil {
275 runCmd := &sk_exec.Command{
283 rv, err := sk_exec.RunCommand(ctx, runCmd)
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/bootstrap_test/
Dexperiment_toolid_test.go66 runCmd(t, gorootSrc, env, makeScriptPath)
70 gotVersion := bytes.TrimSpace(runCmd(t, gorootSrc, env, goCmdPath, "tool", "compile", "-V=full"))
77 runCmd(t, gorootSrc, env, goCmdPath, "build", "-race", "archive/tar")
81 runCmd(t, gorootSrc, env, makeScriptPath)
84 gotVersion = bytes.TrimSpace(runCmd(t, gorootSrc, env, goCmdPath, "tool", "compile", "-V=full"))
91 runCmd(t, gorootSrc, env, goCmdPath, "build", "-race", "archive/tar")
94 func runCmd(t *testing.T, dir string, env []string, path string, args ...string) []byte { func
/aosp_15_r20/frameworks/av/media/module/service.mediatranscoding/tests/
H A Dmediatranscodingservice_simulated_tests.cpp372 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F()
373 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F()
433 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in TEST_F()
434 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in TEST_F()
489 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 3")); in TEST_F()
493 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 4")); in TEST_F()
497 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 2")); in TEST_F()
501 EXPECT_TRUE(ShellHelper::RunCmd("cmd thermalservice override-status 1")); in TEST_F()
H A DMediaTranscodingServiceTestHelper.h93 static bool RunCmd(const std::string& cmdStr) { in RunCmd() function
103 return RunCmd("am start -W " + std::string(packageName) + std::string(activityName) + in Start()
108 return RunCmd("am force-stop " + std::string(packageName)); in Stop()
537 EXPECT_TRUE(ShellHelper::RunCmd("input keyevent KEYCODE_WAKEUP")); in dismissKeyguard()
538 EXPECT_TRUE(ShellHelper::RunCmd("wm dismiss-keyguard")); in dismissKeyguard()
/aosp_15_r20/prebuilts/go/linux-x86/src/net/
Dnet_windows_test.go172 func runCmd(args ...string) ([]byte, error) { func
216 out, err := runCmd("netsh", "help")
229 out, err := runCmd("netsh", "interface", ipver, "show", "interface", "level=verbose")
443 outIPV4, err := runCmd("netsh", "interface", "ipv4", "show", "address")
447 outIPV6, err := runCmd("netsh", "interface", "ipv6", "show", "address", "level=verbose")
502 out, err := runCmd("getmac", "/?")
530 out, err := runCmd("getmac", "/fo", "list", "/v")
/aosp_15_r20/frameworks/base/core/jni/
H A Dandroid_os_VintfObject.cpp59 static std::string runCmd(JNIEnv* env, const char* cmd) { in runCmd() function
87 return fromXml<HalManifest>(runCmd(env, "vintf dm")); in getDeviceHalManifest()
91 return fromXml<HalManifest>(runCmd(env, "vintf fm")); in getFrameworkHalManifest()
95 return fromXml<CompatibilityMatrix>(runCmd(env, "vintf dcm")); in getDeviceCompatibilityMatrix()
99 return fromXml<CompatibilityMatrix>(runCmd(env, "vintf fcm")); in getFrameworkCompatibilityMatrix()
/aosp_15_r20/external/skia/infra/bots/task_drivers/toolchain_layering_check/
H A Dtoolchain_layering_check.go92 runCmd := &sk_exec.Command{
103 _, err := sk_exec.RunCommand(ctx, runCmd)
119 runCmd := &sk_exec.Command{
131 _, err := sk_exec.RunCommand(ctx, runCmd)
/aosp_15_r20/external/skia/infra/bots/task_drivers/go_linters/
H A Dgo_linters.go102 runCmd := &sk_exec.Command{
110 _, err := sk_exec.RunCommand(ctx, runCmd)
166 runCmd := &sk_exec.Command{
174 rv, err := sk_exec.RunCommand(ctx, runCmd)
/aosp_15_r20/external/skia/infra/bots/task_drivers/push_apps_from_skia_image/
H A Dpush_apps_from_skia_image.go75 runCmd := &sk_exec.Command{
87 _, err := sk_exec.RunCommand(ctx, runCmd)
138 runCmd := &sk_exec.Command{
150 _, err := sk_exec.RunCommand(ctx, runCmd)
/aosp_15_r20/external/skia/infra/bots/task_drivers/canvaskit_gold/
H A Dcanvaskit_gold.go121 runCmd := &sk_exec.Command{
132 _, err := sk_exec.RunCommand(ctx, runCmd)
186 runCmd := &sk_exec.Command{
192 _, err := sk_exec.RunCommand(ctx, runCmd)
/aosp_15_r20/frameworks/base/native/android/tests/activitymanager/nativeTests/src/
H A DActivityManagerNativeTest.cpp85 static bool RunCmd(const std::string& cmdStr) { in RunCmd() function
95 return RunCmd("am start -W " + std::string(packageName) + "/" + std::string(activityName) + in Start()
100 return RunCmd("am force-stop " + std::string(packageName)); in Stop()
/aosp_15_r20/external/cronet/build/android/
H A Dgenerate_jacoco_report.py247 device_exit_code = cmd_helper.RunCmd(device_cmd)
248 host_exit_code = cmd_helper.RunCmd(host_cmd)
253 exit_code = cmd_helper.RunCmd(cmd)
/aosp_15_r20/external/angle/build/android/
H A Dgenerate_jacoco_report.py247 device_exit_code = cmd_helper.RunCmd(device_cmd)
248 host_exit_code = cmd_helper.RunCmd(host_cmd)
253 exit_code = cmd_helper.RunCmd(cmd)

12345