Home
last modified time | relevance | path

Searched refs:runCommand (Results 1 – 6 of 6) 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/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()
212 runCommand(instrumentation, "cmd package set-home-activity --user " in setDefaultLauncher()
215 runCommand(instrumentation, "cmd shortcut clear-default-launcher --user " in setDefaultLauncher()
260 runCommand(instrumentation, in enableComponent()
267 runCommand(instrumentation, "appops set " + packageName + " " + op + " " + mode); in appOps()
275 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