Home
last modified time | relevance | path

Searched refs:runCommand (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java46 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand() method in Utils
87 runCommand( in getReportList()
122 runCommand( in logAppBreadcrumb()
153 runCommand(outFileSdk, logger, in isAcceptableStatsd()
164 runCommand(outFileCode, logger, in isAcceptableStatsd()
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DExternalProtoCompiler.java50 public byte[] runCommand(ProcessBuilder processBuilder) throws IOException, CompilationException { in runCommand() method in ExternalProtoCompiler
66 byte[] result = runCommand(new ProcessBuilder(commandLine)); in buildAndRunCompilerProcess()
104 runCommand(builder); in encodeFromTextprotoFile()
123 runCommand(builder); in decodeToTextprotoFile()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/
DTestInterface.java94 void runCommand(int command) { in runCommand() method in TestInterface.LooperThread
433 mLT.runCommand(mLT.TestPowerManagement); in runPowerManagement()
437 mLT.runCommand(mLT.TestMemoryBandwidth); in runMemoryBandwidth()
441 mLT.runCommand(mLT.TestMemoryLatency); in runMemoryLatency()
445 mLT.runCommand(mLT.TestHeatSoak); in runCPUHeatSoak()
449 mLT.runCommand(mLT.TestGFlops); in runCPUGFlops()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java175 Utils.runCommand(null, sLogger, "adb", "shell", Utils.CMD_REMOVE_CONFIG, in updateConfig()
210 Utils.runCommand(null, sLogger, "adb", "push", configLocation, remotePath); in updateConfig()
211 Utils.runCommand(null, sLogger, "adb", "shell", "cat", remotePath, "|", in updateConfig()
312 Utils.runCommand(null, sLogger, "adb", "shell", Utils.CMD_REMOVE_CONFIG, in cmdRemove()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java128 Utils.runCommand(null, LOGGER, "adb", "shell", "rm", remoteConfigPath); in main()
209 Utils.runCommand(null, LOGGER, "adb", "push", configFile.getAbsolutePath(), remotePath); in pushConfig()
210 Utils.runCommand(null, LOGGER, in pushConfig()
218 Utils.runCommand(null, LOGGER, in removeConfig()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java163 public static List<String> runCommand(Instrumentation instrumentation, String command) { in runCommand() method in ShortcutManagerTestUtils
164 return runCommand(instrumentation, command, null); in runCommand()
166 public static List<String> runCommand(Instrumentation instrumentation, String command, in runCommand() method in ShortcutManagerTestUtils
183 runCommand(instrumentation, command, result -> result.size() == 0); in runCommandForNoOutput()
188 return runCommand(instrumentation, "cmd shortcut " + command, resultAsserter); in runShortcutCommand()
211 runCommand(instrumentation, "cmd package set-home-activity --user " in setDefaultLauncher()
214 runCommand(instrumentation, "cmd shortcut clear-default-launcher --user " in setDefaultLauncher()
259 runCommand(instrumentation, in enableComponent()
266 runCommand(instrumentation, "appops set " + packageName + " " + op + " " + mode); in appOps()
274 for (String s : runCommand(instrumentation, "dumpsys shortcut")) { in dumpsysShortcut()
[all …]
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java416 runCommand("cmd jobscheduler run -f android " + jobId); in runDynamicCodeLoggingJob()
420 String response = runCommand( in runDynamicCodeLoggingJob()
433 private static String runCommand(String command) throws Exception { in runCommand() method in DynamicCodeLoggerIntegrationTests
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/
DExternalProtoCompilerTest.java171 String result = new String(compiler.runCommand(builder), UTF_8); in runEchoCommand()