Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DProfileTargetPreparer.java281 String commandOutput = device.executeShellCommand(command); in removeDeviceOwner() local
282 if (!commandOutput.startsWith("Success")) { in removeDeviceOwner()
284 "Error removing device owner", command, commandOutput, SHELL_COMMAND_ERROR); in removeDeviceOwner()
336 …private static RuntimeException commandError(String error, String command, String commandOutput, E… in commandError() argument
337 return commandError(error, command, commandOutput, /* exception= */ null, errorIdentifier); in commandError()
341 …String error, String command, String commandOutput, Exception exception, ErrorIdentifier errorIden… in commandError() argument
343 error + ". Command was '" + command + "', output was '" + commandOutput + "'", in commandError()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1580 String commandOutput = null; in tokenizeListUserPostT() local
1582 commandOutput = executeShellCommand(command); in tokenizeListUserPostT()
1583 if (commandOutput == null || commandOutput.trim().isEmpty()) { in tokenizeListUserPostT()
1601 Arrays.stream(commandOutput.split("\\r?\\n")) in tokenizeListUserPostT()
1606 if (commandOutput.contains("cmd: Can't find service: package")) { in tokenizeListUserPostT()
1609 "'%s' in not a valid output for 'user list -v'", commandOutput), in tokenizeListUserPostT()
1613 String.format("'%s' in not a valid output for 'user list -v'", commandOutput), in tokenizeListUserPostT()
1658 String commandOutput = null; in tokenizeListUsersPreT() local
1660 commandOutput = executeShellCommand(command); in tokenizeListUsersPreT()
1661 if (commandOutput == null || commandOutput.trim().isEmpty()) { in tokenizeListUsersPreT()
[all …]
/tools/tradefederation/contrib/src/com/android/aetest/tradefed/targetprep/
DAeTestManagedProfileCreator.java131 String commandOutput = device.executeShellCommand(command); in setUp() local
132 String[] cmdTokens = commandOutput.split("\\s+"); in setUp()