Searched refs:commandOutput (Results 1 – 8 of 8) sorted by relevance
149 String commandOutput = getDevice().executeShellCommand(command); in switchUser() local150 CLog.d("Output for command " + command + ": " + commandOutput); in switchUser()159 String commandOutput = getDevice().executeShellCommand(command); in getUserFlags() local160 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() local297 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 …]
114 String commandOutput = getDevice().executeShellCommand(command); in testCreateEphemeralWithoutUserSplitFails() local117 "Error: couldn't create User.", commandOutput.trim()); in testCreateEphemeralWithoutUserSplitFails()121 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getGuestUsersEphemeral() local122 String[] outputLines = commandOutput.split("\n"); in getGuestUsersEphemeral()
564 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local566 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() local743 return commandOutput; in changeUserRestrictionForUser()753 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeCrossProfileWidgetForUser() local754 CLog.d("Output for command " + adbCommand + ": " + commandOutput); in changeCrossProfileWidgetForUser()[all …]
581 String commandOutput = getDevice().executeShellCommand(adbCommand); in changePolicy() local582 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()
153 String commandOutput = getDevice().executeShellCommand(command); in testSilentPackageInstall() local
135 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local136 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()140 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
209 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getUserSerialNumber() local210 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
1781 String commandOutput = device.executeShellCommand(command); in queryDeviceFeatures() local1785 for (String feature: commandOutput.split("\\s+")) { in queryDeviceFeatures()