Home
last modified time | relevance | path

Searched refs:PolicyField (Results 1 – 7 of 7) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/
DPolicy.kt39 val allFields: List<PolicyField> = collectAllFields() in <lambda>()
44 private fun collectAllFields(): List<PolicyField> { in <lambda>()
45 fun getAllFields(field: PolicyField): List<PolicyField> { in <lambda>()
57 val fields: List<PolicyField> = emptyList(),
80 data class PolicyField( class
87 val subfields: List<PolicyField> = emptyList(),
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyTest.kt28 import com.android.libraries.pcc.chronicle.api.policy.PolicyField
43 val child = PolicyField(listOf("parent", "child")) in testPolicyAllFields()
44 val parent = PolicyField(listOf("parent"), subfields = listOf(child)) in testPolicyAllFields()
45 val other = PolicyField(listOf("other")) in testPolicyAllFields()
62 PolicyField( in testPolicyAllRedactionLabels()
68 PolicyField( in testPolicyAllRedactionLabels()
75 PolicyField( in testPolicyAllRedactionLabels()
DChronicleApiPolicyFieldBuilderTest.kt32 import com.android.libraries.pcc.chronicle.api.policy.PolicyField in <lambda>()
104 PolicyField(fieldPath = listOf("person", "name"), rawUsages = setOf(UsageType.EGRESS)), in <lambda>()
121 PolicyField(fieldPath = listOf("person", "name"), rawUsages = setOf(UsageType.EGRESS)), in <lambda>()
122 PolicyField( in <lambda>()
125 PolicyField( in <lambda>()
DChronicleApiPolicyBuilderTest.kt33 import com.android.libraries.pcc.chronicle.api.policy.PolicyField
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt25 import com.android.libraries.pcc.chronicle.api.policy.PolicyField
182 private val fields = mutableSetOf<PolicyField>()
211 operator fun String.invoke(block: PolicyFieldBuilder.() -> Unit): PolicyField { in retention()
239 private val subFields = mutableSetOf<PolicyField>() in build()
261 operator fun String.invoke(block: PolicyFieldBuilder.() -> Unit): PolicyField { in build()
272 fun build(): PolicyField = in build()
273 PolicyField( in build()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DChroniclePolicyEngine.kt30 import com.android.libraries.pcc.chronicle.api.policy.PolicyField in <lambda>()
137 policyField: PolicyField, in <lambda>()
138 hasPolicyViolation: (PolicyField) -> Boolean, in <lambda>()
179 policyField: PolicyField, in <lambda>()
180 hasPolicyViolation: (PolicyField) -> Boolean, in <lambda>()
DCantripFactoryImpl.kt33 import com.android.libraries.pcc.chronicle.api.policy.PolicyField in <lambda>()
83 field: PolicyField, in <lambda>()