Home
last modified time | relevance | path

Searched refs:executeShellCmd (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java170 executeShellCmd("cmd deviceidle whitelist +" + TEST_PACKAGE1_NAME); in testDisableServiceRestartBackoff()
171 executeShellCmd("cmd deviceidle whitelist +" + TEST_PACKAGE2_NAME); in testDisableServiceRestartBackoff()
172 executeShellCmd("cmd deviceidle whitelist +" + TEST_PACKAGE3_NAME); in testDisableServiceRestartBackoff()
175 executeShellCmd("am service-restart-backoff enable " + TEST_PACKAGE2_NAME); in testDisableServiceRestartBackoff()
184 executeShellCmd("am service-restart-backoff disable " + TEST_PACKAGE2_NAME); in testDisableServiceRestartBackoff()
194 executeShellCmd("am service-restart-backoff enable " + TEST_PACKAGE2_NAME); in testDisableServiceRestartBackoff()
203 executeShellCmd("cmd deviceidle whitelist -" + TEST_PACKAGE1_NAME); in testDisableServiceRestartBackoff()
204 executeShellCmd("cmd deviceidle whitelist -" + TEST_PACKAGE2_NAME); in testDisableServiceRestartBackoff()
205 executeShellCmd("cmd deviceidle whitelist -" + TEST_PACKAGE3_NAME); in testDisableServiceRestartBackoff()
206 executeShellCmd("am service-restart-backoff enable " + TEST_PACKAGE2_NAME); in testDisableServiceRestartBackoff()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderMultiUsersTest.java246 return executeShellCmd(GET_SHELL_COMMAND + userId + " " + type + " " + name); in getSetting()
256 executeShellCmd(DELETE_SHELL_COMMAND + type + " " + name); in setSetting()
259 executeShellCmd(SET_SHELL_COMMAND + type + " " + name + " " + setting); in setSetting()
263 private String executeShellCmd(String command) throws IOException { in executeShellCmd() method in SettingsProviderMultiUsersTest