Searched refs:PolicyContextRule (Results 1 – 5 of 5) sorted by relevance
27 interface PolicyContextRule { interface29 val operands: List<PolicyContextRule>39 object All : PolicyContextRule { in invoke()41 override val operands: List<PolicyContextRule> = emptyList() in invoke()46 infix fun PolicyContextRule.and(other: PolicyContextRule): PolicyContextRule = And(this, other) in and()49 class And(private val lhs: PolicyContextRule, private val rhs: PolicyContextRule) : in and()50 PolicyContextRule { in and()52 override val operands: List<PolicyContextRule> = listOf(lhs, rhs) in and()57 infix fun PolicyContextRule.or(other: PolicyContextRule): PolicyContextRule = Or(this, other) in or()60 class Or(private val lhs: PolicyContextRule, private val rhs: PolicyContextRule) : in or()[all …]
19 import com.android.libraries.pcc.chronicle.api.policy.contextrules.PolicyContextRule27 object UnicornAccount : PolicyContextRule {29 override val operands: List<PolicyContextRule> = emptyList()35 object UserOptsInLimitedAdsTracking : PolicyContextRule {37 override val operands: List<PolicyContextRule> = emptyList()
24 import com.android.libraries.pcc.chronicle.api.policy.contextrules.PolicyContextRule in <lambda>()50 var allowedContext: PolicyContextRule by basePolicyBuilder::allowedContext in <lambda>()
32 import com.android.libraries.pcc.chronicle.api.policy.contextrules.PolicyContextRule124 var allowedContext: PolicyContextRule = All
23 import com.android.libraries.pcc.chronicle.api.policy.contextrules.PolicyContextRule in <lambda>()36 val allowedContext: PolicyContextRule = All in <lambda>()