Searched refs:commandOutput (Results 1 – 11 of 11) sorted by relevance
229 String commandOutput = getDevice().executeShellCommand(command); in executeShellCommand() local230 CLog.d("Output for command " + command + ": " + commandOutput); in executeShellCommand()260 String commandOutput = getDevice().executeShellCommand(command); in getUserFlags() local261 CLog.i("Output for command " + command + ": " + commandOutput); in getUserFlags()263 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags()264 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags()521 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local522 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()526 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()557 String commandOutput = getDevice().executeShellCommand(command); in createUser() local[all …]
200 final String commandOutput = getDevice().executeShellCommand(command); in rumpDumpSysService() local201 CLog.d("Output for command " + command + ":\n" + commandOutput); in rumpDumpSysService()202 return commandOutput; in rumpDumpSysService()206 final String commandOutput = rumpDumpSysService(component); in assertServiceBound() local207 for (String line : commandOutput.split("\r*\n")) { in assertServiceBound()212 fail("Service " + OWNER_SERVICE + " not bound. Output was:\n" + commandOutput); in assertServiceBound()216 final String commandOutput = rumpDumpSysService(component); in assertServiceNotBound() local217 for (String line : commandOutput.split("\r*\n")) { in assertServiceNotBound()219 fail("Service " + OWNER_SERVICE + " is bound. Output was:\n" + commandOutput); in assertServiceNotBound()
108 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getGuestUsersEphemeral() local109 String[] outputLines = commandOutput.split("\n"); in getGuestUsersEphemeral()
1011 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local1013 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()1014 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()1025 commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets()1027 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()1028 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()1691 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeCrossProfileWidgetForUser() local1692 CLog.d("Output for command " + adbCommand + ": " + commandOutput); in changeCrossProfileWidgetForUser()1693 return commandOutput; in changeCrossProfileWidgetForUser()
1981 String commandOutput = getDevice().executeShellCommand(command); in hasService() local1982 return !commandOutput.contains("not found"); in hasService()
177 String commandOutput = getDevice().executeShellCommand(command); in executeShellCommand() local178 CLog.d("Output for command " + command + ": " + commandOutput); in executeShellCommand()179 return commandOutput != null ? commandOutput.trim() : ""; in executeShellCommand()184 String commandOutput = executeShellCommand(command); in createAndStartUser() local186 String[] tokens = commandOutput.split("\\s+"); in createAndStartUser()316 String commandOutput = executeShellCommand( in getSettings() local318 if (commandOutput == null || commandOutput.isEmpty() || commandOutput.equals("null")) { in getSettings()319 commandOutput = ""; in getSettings()321 return commandOutput; in getSettings()352 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local[all …]
70 String commandOutput = SystemUtil.runShellCommand(72 return !commandOutput.contains("not found");
134 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local135 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()139 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
241 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getUserSerialNumber() local242 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
392 final String commandOutput = getDevice().executeShellCommand("pm list features"); in hasWiFiFeature() local393 return commandOutput.contains(FEATURE_WIFI); in hasWiFiFeature()