Home
last modified time | relevance | path

Searched refs:dataTypeDescriptor (Results 1 – 9 of 9) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt102 dataTypeDescriptor: DataTypeDescriptor, in target()
106 PolicyTargetBuilder(dataTypeDescriptor, requireNotNull(dataTypeDescriptor.name), maxAge)
145 dataTypeDescriptor: DataTypeDescriptor, in target()
149 return PolicyTargetBuilder(dataTypeDescriptor, requireNotNull(dataTypeDescriptor.name), maxAge) in target()
176 private val dataTypeDescriptor: DataTypeDescriptor, constant in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyTargetBuilder
213 PolicyFieldBuilder.validateAndGetDataTypeDescriptor(this, dataTypeDescriptor) in retention()
234 private val dataTypeDescriptor: DataTypeDescriptor?, in build() constant in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyFieldBuilder
263 requireNotNull(dataTypeDescriptor) { "Trying to lookup field '$this' in a non-entity type." } in build()
288 dataTypeDescriptor: DataTypeDescriptor in build()
292 requireNotNull(dataTypeDescriptor.fields.get(fieldName)) { in build()
[all …]
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyBuilderTest.kt38 import com.android.libraries.pcc.chronicle.api.dataTypeDescriptor
48 val FOOBAR_DTD = dataTypeDescriptor("Foobar", Foobar::class) { in <lambda>()
52 val SIMPLE_DATA_DTD = dataTypeDescriptor("SimpleData", SimpleData::class) { in <lambda>()
59 target(dataTypeDescriptor = FOOBAR_DTD, maxAge = Duration.ofMinutes(15)) { in <lambda>()
64 target(dataTypeDescriptor = SIMPLE_DATA_DTD, maxAge = Duration.ofDays(2)) { in <lambda>()
79 target(dataTypeDescriptor = FOOBAR_DTD, maxAge = Duration.ofMinutes(15)) { in testPolicyBuilder()
83 target(dataTypeDescriptor = SIMPLE_DATA_DTD, maxAge = Duration.ofDays(2)) { in testPolicyBuilder()
DChronicleApiPolicyTargetBuilderTest.kt34 import com.android.libraries.pcc.chronicle.api.dataTypeDescriptor
44 val FOOBAR_DTD = dataTypeDescriptor("Foobar", Foobar::class) { in <lambda>()
48 val FOOBAR_TARGET = target(dataTypeDescriptor = FOOBAR_DTD, maxAge = Duration.ofMinutes(15)) { in <lambda>()
DDefaultPolicyConformanceCheckTest.kt20 import com.android.libraries.pcc.chronicle.api.dataTypeDescriptor
27 import com.android.libraries.pcc.chronicle.api.dataTypeDescriptor
38 val FOOBAR_DTD = dataTypeDescriptor("Foobar", Foobar::class) { in <lambda>()
DChronicleApiPolicyFieldBuilderTest.kt36 import com.android.libraries.pcc.chronicle.api.dataTypeDescriptor in <lambda>()
47 val NESTED_PERSON_GENERATED_DTD = dataTypeDescriptor("NestedPerson", NestedPerson::class) { in <lambda>()
50 "pets" to dataTypeDescriptor("NestedPet", NestedPet::class) { in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/data/
DGeneratedDTD.kt21 import com.android.libraries.pcc.chronicle.api.dataTypeDescriptor
24 public val USER_DATA_GENERATED_DTD: DataTypeDescriptor = dataTypeDescriptor(name =
33 "appInfos" to FieldType.List(dataTypeDescriptor(name = in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DDefaultPolicySet.kt41 dataTypeDescriptor: DataTypeDescriptor in <lambda>()
42 ): Set<ManagementStrategy> = managementStrategies[dataTypeDescriptor.name] ?: emptySet() in <lambda>()
DPolicySet.kt38 fun findManagementStrategies(dataTypeDescriptor: DataTypeDescriptor): Set<ManagementStrategy>
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptor.kt36 fun dataTypeDescriptor( in dataTypeDescriptor() method
68 fun dataTypeDescriptor( in dataTypeDescriptor() method in com.android.libraries.pcc.chronicle.api.DataTypeDescriptor.Builder