Home
last modified time | relevance | path

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

/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DSysUIMultiUserTests.java64 List<String> cmdOut; in testMultiUserCreate() local
67 cmdOut = mABvtHelper.executeShellCommand("pm list users"); in testMultiUserCreate()
68 assertTrue("There aren't exatcly 1 user", (cmdOut.size() - 1) == 1); in testMultiUserCreate()
71 cmdOut = mABvtHelper.executeShellCommand("pm create-user test"); in testMultiUserCreate()
72 assertTrue("Output should have 1 line", cmdOut.size() == 1); in testMultiUserCreate()
77 Matcher matcher = pattern.matcher(cmdOut.get(0)); in testMultiUserCreate()
86 cmdOut = mABvtHelper.executeShellCommand("pm list users"); in testMultiUserCreate()
91 assertTrue("There aren't exatcly 2 users", (cmdOut.size() - 1) == 2); in testMultiUserCreate()
96 matcher = pattern.matcher(cmdOut.get(2)); in testMultiUserCreate()
120 cmdOut = mABvtHelper.executeShellCommand("pm remove-user " + secondUserId); in testMultiUserCreate()
[all …]
DSysUIMultiWindowTests.java74 List<String> cmdOut = mABvtHelper.executeShellCommand("am stack list"); in testLaunchInMultiwindow() local
75 for (String line : cmdOut) { in testLaunchInMultiwindow()