Home
last modified time | relevance | path

Searched refs:FailureMode (Results 1 – 25 of 56) sorted by relevance

123

/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/
DAnnotationExecutorUtil.java23 import com.android.bedstead.harrier.annotations.FailureMode;
39 public static void checkFailOrSkip(String message, boolean value, FailureMode failureMode) { in checkFailOrSkip()
40 if (failureMode.equals(FailureMode.FAIL)) { in checkFailOrSkip()
42 } else if (failureMode.equals(FailureMode.SKIP)) { in checkFailOrSkip()
52 public static void failOrSkip(String message, FailureMode failureMode) { in failOrSkip()
/cts/common/device-side/bedstead/modules/root/src/main/kotlin/com/android/xts/root/annotations/
DRequireRootInstrumentation.kt19 import com.android.bedstead.harrier.annotations.FailureMode
30 val failureMode: FailureMode = FailureMode.SKIP,
53 failureMode: FailureMode
DRequireAdbRoot.kt19 import com.android.bedstead.harrier.annotations.FailureMode
39 val failureMode: FailureMode = FailureMode.SKIP,
61 failureMode: FailureMode
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DAnnotationLogicExtensions.kt24 import com.android.bedstead.harrier.annotations.FailureMode
59 FailureMode.SKIP in logic()
66 FailureMode.SKIP in logic()
84 FailureMode.SKIP in MostRestrictiveCoexistenceTest()
91 FailureMode.SKIP in MostRestrictiveCoexistenceTest()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DRequirePrivateSpaceSupported.java22 import com.android.bedstead.harrier.annotations.FailureMode;
41 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireTelephonySupport.java33 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireQuickSettingsSupport.java33 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireNotInstantApp.java35 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireSystemServiceAvailable.java37 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireInstantApp.java35 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireMultiUserSupport.java40 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireTargetSdkVersion.java38 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DRequireSdkVersion.java39 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/annotations/
DEnsureCanAddUser.kt19 import com.android.bedstead.harrier.annotations.FailureMode
42 val failureMode: FailureMode = FailureMode.SKIP,
/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/annotations/
DEnsureDoesNotHavePermission.kt19 import com.android.bedstead.harrier.annotations.FailureMode
42 val failureMode: FailureMode = FailureMode.FAIL,
DEnsureHasPermission.kt20 import com.android.bedstead.harrier.annotations.FailureMode
40 val failureMode: FailureMode = FailureMode.FAIL,
DEnsureDoesNotHaveAppOp.java22 import com.android.bedstead.harrier.annotations.FailureMode;
41 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
DEnsureHasAppOp.java22 import com.android.bedstead.harrier.annotations.FailureMode;
41 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
DEnsureCanGetPermission.java22 import com.android.bedstead.harrier.annotations.FailureMode;
49 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DRequireBooleanStepResult.java22 import com.android.bedstead.harrier.annotations.FailureMode;
50 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DRequireHasPolicyExemptApps.java23 import com.android.bedstead.harrier.annotations.FailureMode;
49 FailureMode failureMode() default FailureMode.SKIP; in failureMode()
DEnsureHasDeviceOwner.java23 import com.android.bedstead.harrier.annotations.FailureMode;
98 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DTestAppsComponent.kt24 import com.android.bedstead.harrier.annotations.FailureMode
58 failureMode: FailureMode in ensureTestAppHasPermission()
65 if (failureMode == FailureMode.SKIP && e.message!!.contains("Cannot grant") || in ensureTestAppHasPermission()
68 AnnotationExecutorUtil.failOrSkip(e.message, FailureMode.SKIP) in ensureTestAppHasPermission()
81 failureMode: FailureMode in ensureTestAppDoesNotHavePermission()
87 if (failureMode == FailureMode.SKIP) { in ensureTestAppDoesNotHavePermission()
88 AnnotationExecutorUtil.failOrSkip(e.message, FailureMode.SKIP) in ensureTestAppDoesNotHavePermission()
DAnnotationLogicExtensions.kt26 import com.android.bedstead.harrier.annotations.FailureMode
54 FailureMode.FAIL in RequireFactoryResetProtectionPolicySupported()
63 FailureMode.SKIP in RequireStorageEncryptionSupported()
72 FailureMode.SKIP in RequireStorageEncryptionUnsupported()
/cts/common/device-side/bedstead/modules/root/src/main/kotlin/com/android/xts/root/
DRootAnnotationExecutor.kt24 import com.android.bedstead.harrier.annotations.FailureMode
62 private fun requireAdbRoot(failureMode: FailureMode) { in requireAdbRoot()
70 private fun requireRootInstrumentation(failureMode: FailureMode) { in requireRootInstrumentation()

123