Home
last modified time | relevance | path

Searched refs:cmdArgs (Results 1 – 12 of 12) sorted by relevance

/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/
DTestDeviceHelper.java70 @FormatString final String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
71 return runShellCommand(getTestDevice(), cmdFmt, cmdArgs); in runShellCommand()
79 ITestDevice device, @FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
80 String cmd = String.format(cmdFmt, cmdArgs); in runShellCommand()
99 @FormatString final String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommandRwe() argument
100 return runShellCommandRwe(TestDeviceHelper.getTestDevice(), cmdFmt, cmdArgs); in runShellCommandRwe()
109 ITestDevice device, @FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommandRwe() argument
110 String cmd = String.format(cmdFmt, cmdArgs); in runShellCommandRwe()
DHostSideDeviceConfigHelper.java34 @FormatString final String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
35 return TestDeviceHelper.runShellCommand(cmdFmt, cmdArgs); in runShellCommand()
DHostSideSystemPropertiesHelper.java46 @FormatString final String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
47 return TestDeviceHelper.runShellCommand(cmdFmt, cmdArgs); in runShellCommand()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesShellCommandHelper.java83 public String runCommand(@FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runCommand() argument
92 String.format(cmdFmt, cmdArgs)) in runCommand()
94 "cmd adservices_manager %s", String.format(cmdFmt, cmdArgs)); in runCommand()
99 CommandResult commandResult = runShellCommandRS(String.format(cmdFmt, cmdArgs)); in runCommand()
120 public CommandResult runCommandRwe(@FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runCommandRwe() argument
131 String.format(cmdFmt, cmdArgs)) in runCommandRwe()
133 "cmd adservices_manager %s", String.format(cmdFmt, cmdArgs)); in runCommandRwe()
139 return runShellCommandRS(String.format(cmdFmt, cmdArgs)); in runCommandRwe()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java353 List<String> cmdArgs = new ArrayList<>(); in compileProtoFileIntoDescriptorSet() local
354 cmdArgs.add(protoCompilerBinary); in compileProtoFileIntoDescriptorSet()
355 cmdArgs.add(descSetFlag); in compileProtoFileIntoDescriptorSet()
356 cmdArgs.add(dsFileName); in compileProtoFileIntoDescriptorSet()
357 cmdArgs.add(includeImportsFlag); in compileProtoFileIntoDescriptorSet()
358 cmdArgs.add(includeSourceInfoFlag); in compileProtoFileIntoDescriptorSet()
362 cmdArgs.add("-I"); in compileProtoFileIntoDescriptorSet()
363 cmdArgs.add(mAndroidBuildTop); in compileProtoFileIntoDescriptorSet()
366 cmdArgs.add("-I"); in compileProtoFileIntoDescriptorSet()
367 cmdArgs.add(protoBufSrcPath.toString()); in compileProtoFileIntoDescriptorSet()
[all …]
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/
DDpcService.java73 String[] cmdArgs = new String[args.length - 1]; in dump() local
74 System.arraycopy(args, 1, cmdArgs, 0, args.length - 1); in dump()
75 new DpcShellCommand(this, mDpcFactory, writer, cmdArgs).run(); in dump()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DDeviceSideSystemPropertiesHelper.java51 protected String runShellCommand(@FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
52 return ShellUtils.runShellCommand(cmdFmt, cmdArgs); in runShellCommand()
DDeviceSideDeviceConfigHelper.java80 protected String runShellCommand(@FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
81 return ShellUtils.runShellCommand(cmdFmt, cmdArgs); in runShellCommand()
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/remotedpm/
DRemoteDevicePolicyManager.java156 private void run(RemoteRunnable cmd, String cmdFormat, Object... cmdArgs) { in run() argument
158 String cmdString = String.format(cmdFormat, cmdArgs); in run()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DAbstractDeviceGateway.java28 protected String runShellCommand(@FormatString String cmdFmt, @Nullable Object... cmdArgs) { in runShellCommand() argument
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSink2Activity.java540 String[] cmdArgs = new String[args.length - 1]; in dump() local
541 System.arraycopy(args, 1, cmdArgs, 0, args.length - 1); in dump()
542 new KitchenSinkShellCommand(this, writer, cmdArgs, mNotificationId++).run(); in dump()
DKitchenSinkActivity.java571 String[] cmdArgs = new String[args.length - 1]; in dump() local
572 System.arraycopy(args, 1, cmdArgs, 0, args.length - 1); in dump()
573 new KitchenSinkShellCommand(this, writer, cmdArgs, mNotificationId++).run(); in dump()