Searched refs:commandOutput (Results 1 – 5 of 5) sorted by relevance
109 String commandOutput = getDevice().executeShellCommand(command); in startUser() local110 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() local119 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() local132 CLog.i("Output for command " + command + ": " + commandOutput); in listUsers()[all …]
587 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local589 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() local636 "Output for command " + adbCommand + ": " + commandOutput); in changeUserRestrictionForUser()637 return commandOutput; in changeUserRestrictionForUser()647 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeCrossProfileWidgetForUser() local[all …]
278 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeUserRestrictionForUser() local280 "Output for command " + adbCommand + ": " + commandOutput); in changeUserRestrictionForUser()281 assertTrue("Command was expected to succeed " + commandOutput, in changeUserRestrictionForUser()282 commandOutput.contains("Status: ok")); in changeUserRestrictionForUser()
149 String commandOutput = getDevice().executeShellCommand(command); in testSilentPackageInstall() local
1707 String commandOutput = device.executeShellCommand(command); in queryDeviceFeatures() local1711 for (String feature: commandOutput.split("\\s+")) { in queryDeviceFeatures()