Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java109 String commandOutput = getDevice().executeShellCommand(command); in startUser() local
110 CLog.logAndDisplay(LogLevel.INFO, "Output for command " + command + ": " + commandOutput); in startUser()
111 assertTrue(commandOutput + " expected to start with \"Success:\"", in startUser()
112 commandOutput.startsWith("Success:")); in startUser()
118 String commandOutput = getDevice().executeShellCommand(command); in getMaxNumberOfUsersSupported() local
119 CLog.i("Output for command " + command + ": " + commandOutput); in getMaxNumberOfUsersSupported()
122 return Integer.parseInt(commandOutput.substring(commandOutput.lastIndexOf(" ")).trim()); in getMaxNumberOfUsersSupported()
124 fail("Failed to parse result: " + commandOutput); in getMaxNumberOfUsersSupported()
131 String commandOutput = getDevice().executeShellCommand(command); in listUsers() local
132 CLog.i("Output for command " + command + ": " + commandOutput); in listUsers()
[all …]
DManagedProfileTest.java587 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local
589 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()
590 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()
599 commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets()
601 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()
602 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()
634 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeUserRestrictionForUser() local
636 "Output for command " + adbCommand + ": " + commandOutput); in changeUserRestrictionForUser()
637 return commandOutput; in changeUserRestrictionForUser()
647 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeCrossProfileWidgetForUser() local
[all …]
DDeviceAndProfileOwnerTest.java278 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeUserRestrictionForUser() local
280 "Output for command " + adbCommand + ": " + commandOutput); in changeUserRestrictionForUser()
281 assertTrue("Command was expected to succeed " + commandOutput, in changeUserRestrictionForUser()
282 commandOutput.contains("Status: ok")); in changeUserRestrictionForUser()
DCustomDeviceOwnerTest.java149 String commandOutput = getDevice().executeShellCommand(command); in testSilentPackageInstall() local
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java1707 String commandOutput = device.executeShellCommand(command); in queryDeviceFeatures() local
1711 for (String feature: commandOutput.split("\\s+")) { in queryDeviceFeatures()