Searched refs:PolicyCheckResult (Results 1 – 4 of 4) sorted by relevance
28 sealed class PolicyCheckResult { in toString() class30 object Pass : PolicyCheckResult() in toString()33 data class Fail(val failingChecks: List<PolicyCheck>) : PolicyCheckResult() { in toString()42 fun make(violations: List<PolicyCheck>): PolicyCheckResult { in toString()43 return if (violations.isEmpty()) PolicyCheckResult.Pass in toString()44 else PolicyCheckResult.Fail(violations) in toString()
21 import com.android.libraries.pcc.chronicle.api.policy.builder.PolicyCheckResult36 ): PolicyCheckResult51 fun checkWriteConnections(context: ChronicleContext): PolicyCheckResult
33 import com.android.libraries.pcc.chronicle.api.policy.builder.PolicyCheckResult in <lambda>()52 ): PolicyCheckResult { in <lambda>()60 return PolicyCheckResult.make(violations) in <lambda>()63 override fun checkWriteConnections(context: ChronicleContext): PolicyCheckResult { in <lambda>()67 return PolicyCheckResult.make(violations) in <lambda>()
39 import com.android.libraries.pcc.chronicle.api.policy.builder.PolicyCheckResult in <lambda>()68 if (writeConnectionCheckResult is PolicyCheckResult.Fail) { in <lambda>()133 PolicyCheckResult.Fail( in <lambda>()150 if (checkResult is PolicyCheckResult.Fail) { in <lambda>()163 private fun handlePolicyCheckFail(failure: PolicyCheckResult.Fail): ChronicleError? = in <lambda>()