Home
last modified time | relevance | path

Searched refs:commandOutput (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java149 String commandOutput = getDevice().executeShellCommand(command); in switchUser() local
150 CLog.d("Output for command " + command + ": " + commandOutput); in switchUser()
159 String commandOutput = getDevice().executeShellCommand(command); in getUserFlags() local
160 CLog.i("Output for command " + command + ": " + commandOutput); in getUserFlags()
162 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags()
163 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags()
296 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local
297 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()
301 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
332 String commandOutput = getDevice().executeShellCommand(command); in createUser() local
[all …]
DEphemeralUserTest.java114 String commandOutput = getDevice().executeShellCommand(command); in testCreateEphemeralWithoutUserSplitFails() local
117 "Error: couldn't create User.", commandOutput.trim()); in testCreateEphemeralWithoutUserSplitFails()
121 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getGuestUsersEphemeral() local
122 String[] outputLines = commandOutput.split("\n"); in getGuestUsersEphemeral()
DManagedProfileTest.java564 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local
566 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()
567 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()
578 commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets()
580 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()
581 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()
742 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeUserRestrictionForUser() local
743 return commandOutput; in changeUserRestrictionForUser()
753 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeCrossProfileWidgetForUser() local
754 CLog.d("Output for command " + adbCommand + ": " + commandOutput); in changeCrossProfileWidgetForUser()
[all …]
DDeviceAndProfileOwnerTest.java581 String commandOutput = getDevice().executeShellCommand(adbCommand); in changePolicy() local
582 CLog.d("Output for command " + adbCommand + ": " + commandOutput); in changePolicy()
583 assertTrue("Command was expected to succeed " + commandOutput, in changePolicy()
584 commandOutput.contains("Status: ok")); in changePolicy()
DCustomDeviceOwnerTest.java153 String commandOutput = getDevice().executeShellCommand(command); in testSilentPackageInstall() local
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java135 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local
136 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()
140 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java209 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getUserSerialNumber() local
210 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java1781 String commandOutput = device.executeShellCommand(command); in queryDeviceFeatures() local
1785 for (String feature: commandOutput.split("\\s+")) { in queryDeviceFeatures()