Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 15 of 15) sorted by relevance

/cts/tests/backup/src/android/backup/cts/
DBackupQuotaTest.java83 exec("logcat --clear"); in testQuotaExceeded()
84 exec("setprop log.tag." + APP_LOG_TAG +" VERBOSE"); in testQuotaExceeded()
86 exec("am start -W -a android.intent.action.MAIN " + in testQuotaExceeded()
93 exec("bmgr backupnow " + BACKUP_APP_NAME); in testQuotaExceeded()
99 String output = exec("bmgr enabled"); in enableBackup()
108 exec("bmgr enable " + enable); in enableBackup()
113 String output = exec("bmgr transport " + transport); in setBackupTransport()
124 String output = exec("bmgr list transports"); in hasBackupTransport()
153 private String exec(String command) throws Exception { in exec() method in BackupQuotaTest
/cts/tools/vm-tests-tf/src/util/build/
DJillBuildStep.java61 ExecuteFile exec = new ExecuteFile(JackBuildDalvikSuite.JACK, commandLine); in build() local
62 exec.setErr(System.err); in build()
63 exec.setOut(System.out); in build()
64 if (!exec.run()) { in build()
DJackDexBuildStep.java68 ExecuteFile exec = new ExecuteFile(JackBuildDalvikSuite.JACK, in build() local
70 exec.setErr(System.err); in build()
71 exec.setOut(System.out); in build()
72 if (!exec.run()) { in build()
DExecuteFile.java107 public ExecuteFile(@Nonnull File exec, @Nonnull String[] args) { in ExecuteFile() argument
111 cmdLine[0] = exec.getAbsolutePath(); in ExecuteFile()
114 public ExecuteFile(@Nonnull String exec, @Nonnull String[] args) { in ExecuteFile() argument
118 cmdLine[0] = exec; in ExecuteFile()
121 public ExecuteFile(@Nonnull File exec) { in ExecuteFile() argument
123 cmdLine[0] = exec.getAbsolutePath(); in ExecuteFile()
178 proc = Runtime.getRuntime().exec(cmdLine, null, workDir); in run()
DJackBuildStep.java88 ExecuteFile exec = new ExecuteFile(JackBuildDalvikSuite.JACK, in build() local
90 exec.setErr(System.err); in build()
91 exec.setOut(System.out); in build()
92 if (!exec.run()) { in build()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java208 String output = exec("bmgr enabled"); in enableBackup()
217 exec("bmgr enable " + enable); in enableBackup()
222 exec("bmgr backupnow " + packageName); in runBackupFor()
226 exec("bmgr restore " + packageName); in runRestoreFor()
230 exec("settings put secure user_full_data_backup_aware " + status); in enableFullDataBackupAware()
234 String output = exec("bmgr transport " + transport); in setBackupTransport()
249 String output = exec("bmgr list transports"); in hasBackupTransport()
267 exec("bmgr wipe " + LOCAL_BACKUP_COMPONENT + " " + mCallLogBackupPackageName); in clearBackups()
334 private String exec(String command) throws Exception { in exec() method in CallLogBackupTest
/cts/tools/tradefed-host/src/com/android/cts/tradefed/util/
DReportLogUtil.java47 Process process = Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", in prepareReportLogContainers()
101 Process deviceProcess = Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", in pull()
/cts/tests/tests/permission/src/android/permission/cts/
DNoReadLogsPermissionTest.java50 logcatProc = Runtime.getRuntime().exec(new String[] in testLogcat()
/cts/tests/tests/media/src/android/media/cts/
DConnectionStatus.java96 Process p = Runtime.getRuntime().exec("ping -c 5 -w 20 " + server); in pingTest()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DResultFilePuller.java104 Process p = Runtime.getRuntime().exec(new String[] {"/bin/bash", "-c", command}); in pull()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerNegativeTest.java116 final Process p = Runtime.getRuntime().exec(command); in runCommand()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/
DDeviceInfoCollector.java148 Process p = Runtime.getRuntime().exec(new String[] {"/bin/bash", "-c", command}); in execute()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java135 Process proc = runtime.exec(commands); in printMemory()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java66 Process p = Runtime.getRuntime().exec(cm); in printCpuInfo()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex585 public void exec(
589 public void exec(
849 public void exec(
853 public void exec(
17382 static native int exec(
17399 java.lang.Process exec(
17478 public java.lang.Process exec(
17481 public java.lang.Process exec(
17485 public java.lang.Process exec(
17490 public java.lang.Process exec(
[all …]