Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java273 String commandOutput = getDevice().executeShellCommand(command); in executeShellCommand() local
274 CLog.d("Output for command " + command + ": " + commandOutput); in executeShellCommand()
327 String commandOutput = getDevice().executeShellCommand(command); in getUserFlags() local
328 CLog.i("Output for command " + command + ": " + commandOutput); in getUserFlags()
330 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags()
331 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags()
588 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local
589 CLog.i("Output for command " + command + ": " + commandOutput); in hasDeviceFeature()
593 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
630 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.java1000 String commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets() local
1002 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()
1003 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()
1014 commandOutput = changeCrossProfileWidgetForUser(WIDGET_PROVIDER_PKG, in testCrossProfileWidgets()
1016 assertTrue("Command was expected to succeed " + commandOutput, in testCrossProfileWidgets()
1017 commandOutput.contains("Status: ok")); in testCrossProfileWidgets()
1680 String commandOutput = getDevice().executeShellCommand(adbCommand); in changeCrossProfileWidgetForUser() local
1681 CLog.d("Output for command " + adbCommand + ": " + commandOutput); in changeCrossProfileWidgetForUser()
1682 return commandOutput; in changeCrossProfileWidgetForUser()
DDeviceAndProfileOwnerTest.java2103 String commandOutput = getDevice().executeShellCommand(command); in hasService() local
2104 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()
317 String commandOutput = executeShellCommand( in getSettings() local
319 if (commandOutput == null || commandOutput.isEmpty() || commandOutput.equals("null")) { in getSettings()
320 commandOutput = ""; in getSettings()
322 return commandOutput; in getSettings()
353 String commandOutput = getDevice().executeShellCommand(command); in hasDeviceFeature() local
[all …]
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRequiredServiceRule.java81 String commandOutput = SystemUtil.runShellCommand(
83 return !commandOutput.contains("not found");
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAudioRestrictionTest.java195 String commandOutput = runShellCommand("dumpsys audio"); in isFullVolumeDevice() local
197 for (String line : commandOutput.split("\\r?\\n")) { in isFullVolumeDevice()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java244 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getUserSerialNumber() local
245 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()