Home
last modified time | relevance | path

Searched refs:cmdResult (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2021_39706.java42 boolean cmdResult = false; in testPocCVE_2021_39706()
52 cmdResult = result.startsWith("Success"); in testPocCVE_2021_39706()
53 assumeTrue("Device admin not set", cmdResult); in testPocCVE_2021_39706()
59 if (cmdResult) { in testPocCVE_2021_39706()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DMeteredDataRestrictionTest.java225 String cmdResult = null; in assertWifiMeteredStatus() local
227 cmdResult = executeCmd(cmd); in assertWifiMeteredStatus()
228 if (cmdResult.contains(expectedResult)) { in assertWifiMeteredStatus()
234 + ", actual status=" + cmdResult); in assertWifiMeteredStatus()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java1021 String cmdResult = runShellCommandOrThrow(cmd); in testDeviceOwner() local
1022 assertWithMessage("Result of '%s'", cmd).that(cmdResult).contains("Success"); in testDeviceOwner()
1027 String cmdResult = runShellCommandOrThrow("pm list user"); in testDeviceOwner()
1028 Log.d(TAG, "users: " + cmdResult); in testDeviceOwner()
1029 cmdResult = runShellCommandOrThrow("dpm list-owner"); in testDeviceOwner()
1030 Log.d(TAG, "device owners: " + cmdResult); in testDeviceOwner()