Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt181 private val retentions = mutableSetOf<PolicyRetention>() constant
196 PolicyRetention(medium, encryptionRequired).also(retentions::add) in retention()
225 retentions = retentions.toList(), in build()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DManagementStrategyValidation.kt70 if (failedRetentions.size < retentions.size) return emptyList() in verifyRetentionSatisfiedBy()
72 return retentions.map { in verifyRetentionSatisfiedBy()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/
DPolicy.kt56 val retentions: List<PolicyRetention> = emptyList(), constant in com.android.libraries.pcc.chronicle.api.policy.PolicyTarget
62 return retentions.map { in toCapabilities()
DDefaultPolicyConformanceCheck.kt44 if (target.retentions.isNotEmpty()) return@mapNotNull null in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DUtils.kt74 return retentions.map { in PolicyTarget()
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyTargetBuilderTest.kt60 assertThat(FOOBAR_TARGET.retentions).containsExactly( in testPolicyTargetBuilder()
DChronicleApiPolicyTest.kt98 retentions = in testPolicyTargetToCapabilities()