Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java229 String commandOutput = getDevice().executeShellCommand(command); in executeShellCommand() local
230 CLog.d("Output for command " + command + ": " + commandOutput); in executeShellCommand()
260 String commandOutput = getDevice().executeShellCommand(command); in getUserFlags() local
261 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() local
522 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 …]
DBaseDeviceAdminServiceTest.java200 final String commandOutput = getDevice().executeShellCommand(command); in rumpDumpSysService() local
201 CLog.d("Output for command " + command + ":\n" + commandOutput); in rumpDumpSysService()
202 return commandOutput; in rumpDumpSysService()
206 final String commandOutput = rumpDumpSysService(component); in assertServiceBound() local
207 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() local
217 for (String line : commandOutput.split("\r*\n")) { in assertServiceNotBound()
219 fail("Service " + OWNER_SERVICE + " is bound. Output was:\n" + commandOutput); in assertServiceNotBound()
DEphemeralUserTest.java108 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getGuestUsersEphemeral() local
109 String[] outputLines = commandOutput.split("\n"); in getGuestUsersEphemeral()
DManagedProfileTest.java1011 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local
1013 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() local
1692 CLog.d("Output for command " + adbCommand + ": " + commandOutput); in changeCrossProfileWidgetForUser()
1693 return commandOutput; in changeCrossProfileWidgetForUser()
DDeviceAndProfileOwnerTest.java1981 String commandOutput = getDevice().executeShellCommand(command); in hasService() local
1982 return !commandOutput.contains("not found"); in hasService()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java177 String commandOutput = getDevice().executeShellCommand(command); in executeShellCommand() local
178 CLog.d("Output for command " + command + ": " + commandOutput); in executeShellCommand()
179 return commandOutput != null ? commandOutput.trim() : ""; in executeShellCommand()
184 String commandOutput = executeShellCommand(command); in createAndStartUser() local
186 String[] tokens = commandOutput.split("\\s+"); in createAndStartUser()
316 String commandOutput = executeShellCommand( in getSettings() local
318 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 …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRequiredServiceRule.java70 String commandOutput = SystemUtil.runShellCommand(
72 return !commandOutput.contains("not found");
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DRequiredServiceRule.java70 String commandOutput = SystemUtil.runShellCommand(
72 return !commandOutput.contains("not found");
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java134 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local
135 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()
139 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java241 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getUserSerialNumber() local
242 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
/cts/hostsidetests/incident/src/com/android/server/cts/
DNetstatsIncidentTest.java392 final String commandOutput = getDevice().executeShellCommand("pm list features"); in hasWiFiFeature() local
393 return commandOutput.contains(FEATURE_WIFI); in hasWiFiFeature()