Home
last modified time | relevance | path

Searched refs:runShellCmd (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DDpcCommander.java53 runShellCmd("cmd device_policy set-profile-owner --user %s %s", mUser, ADMIN); in setProfileOwner()
57 runShellCmd("cmd device_policy remove-active-admin --user %s %s", mUser, ADMIN); in removeActiveAdmin()
89 return runShellCmd("dumpsys activity --user %s service %s %s", mUser, SERVICE, in dumpDpc()
96 private CommandResult runShellCmd(String format, Object... args) in runShellCmd() method in DpcCommander
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBaseBroadcastTest.java145 protected String runShellCmd(String cmdFormat, Object... args) { in runShellCmd() method in BaseBroadcastTest
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java25 import static com.android.utils.blob.Utils.runShellCmd;
144 runShellCmd("cmd blob_store clear-all-sessions -u " + mUserId); in tearDown()
145 runShellCmd("cmd blob_store clear-all-blobs -u " + mUserId); in tearDown()
148 runShellCmd("cmd package clear " + pkg + " -u " + mUserId); in tearDown()
1743 return "1".equals(runShellCmd(cmd)); in blobExists()