Home
last modified time | relevance | path

Searched refs:fieldPath (Results 1 – 6 of 6) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/
DPolicy.kt82 val fieldPath: List<FieldName>, constant in com.android.libraries.pcc.chronicle.api.policy.PolicyField
93 fieldPath.size < subfield.fieldPath.size && in subfield()
94 subfield.fieldPath.subList(0, fieldPath.size) == fieldPath in subfield()
97 "but got parent: '$fieldPath', child: '${subfield.fieldPath}'." in subfield()
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyFieldBuilderTest.kt60 assertThat(actual.fieldPath).containsExactly("foo").inOrder() in <lambda>()
81 assertThat(actual.fieldPath).containsExactly("foo").inOrder() in <lambda>()
100 assertThat(actual.fieldPath).containsExactly("person").inOrder() in <lambda>()
104 PolicyField(fieldPath = listOf("person", "name"), rawUsages = setOf(UsageType.EGRESS)), in <lambda>()
117 assertThat(actual.fieldPath).containsExactly("person").inOrder() in <lambda>()
121 PolicyField(fieldPath = listOf("person", "name"), rawUsages = setOf(UsageType.EGRESS)), in <lambda>()
123 fieldPath = listOf("person", "pets"), in <lambda>()
126 fieldPath = listOf("person", "pets", "breed"), in <lambda>()
DChronicleApiPolicyTest.kt63 fieldPath = listOf("parent", "child"), in testPolicyAllRedactionLabels()
69 fieldPath = listOf("parent"), in testPolicyAllRedactionLabels()
76 fieldPath = listOf("other"), in testPolicyAllRedactionLabels()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt235 private val fieldPath: List<FieldName> in build() constant in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyFieldBuilder
265 return PolicyFieldBuilder(entityDataTypeDescriptor, fieldPath + listOf(this)) in build()
274 fieldPath = fieldPath, in build()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DCantripFactoryImpl.kt88 val pathToField = OpticalAccessPath(baseDtd, field.fieldPath) in <lambda>()
96 fieldType = dtds.findFieldTypeAsClass(baseDtd, field.fieldPath) in <lambda>()
DChroniclePolicyEngine.kt114 .find { it.fieldPath.last() == fieldName } in <lambda>()
186 .find { it.fieldPath.last() == fieldName } in <lambda>()