/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 273 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 …]
|
D | BaseDeviceAdminServiceTest.java | 200 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()
|
D | EphemeralUserTest.java | 108 String commandOutput = getDevice().executeShellCommand("dumpsys user"); in getGuestUsersEphemeral() local 109 String[] outputLines = commandOutput.split("\n"); in getGuestUsersEphemeral()
|
D | ManagedProfileTest.java | 1000 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()
|
D | DeviceAndProfileOwnerTest.java | 2103 String commandOutput = getDevice().executeShellCommand(command); in hasService() local 2104 return !commandOutput.contains("not found"); in hasService()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 177 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/ |
D | RequiredServiceRule.java | 70 String commandOutput = SystemUtil.runShellCommand( 72 return !commandOutput.contains("not found");
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerHostTest.java | 134 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/ |
D | RequiredServiceRule.java | 81 String commandOutput = SystemUtil.runShellCommand( 83 return !commandOutput.contains("not found");
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AudioRestrictionTest.java | 195 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/ |
D | NumberBlockingTest.java | 244 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/ |
D | NetstatsIncidentTest.java | 392 final String commandOutput = getDevice().executeShellCommand("pm list features"); in hasWiFiFeature() local 393 return commandOutput.contains(FEATURE_WIFI); in hasWiFiFeature()
|