/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/ |
D | PolicyBuilder.kt | 102 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/ |
D | ChronicleApiPolicyBuilderTest.kt | 38 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()
|
D | ChronicleApiPolicyTargetBuilderTest.kt | 34 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>()
|
D | DefaultPolicyConformanceCheckTest.kt | 20 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>()
|
D | ChronicleApiPolicyFieldBuilderTest.kt | 36 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/ |
D | GeneratedDTD.kt | 21 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/ |
D | DefaultPolicySet.kt | 41 dataTypeDescriptor: DataTypeDescriptor in <lambda>() 42 ): Set<ManagementStrategy> = managementStrategies[dataTypeDescriptor.name] ?: emptySet() in <lambda>()
|
D | PolicySet.kt | 38 fun findManagementStrategies(dataTypeDescriptor: DataTypeDescriptor): Set<ManagementStrategy>
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/ |
D | DataTypeDescriptor.kt | 36 fun dataTypeDescriptor( in dataTypeDescriptor() method 68 fun dataTypeDescriptor( in dataTypeDescriptor() method in com.android.libraries.pcc.chronicle.api.DataTypeDescriptor.Builder
|