Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DUtils.kt72 if (maxAgeMs == 0L) return listOf(ManagementStrategy.PassThru) in PolicyTarget()
81 Duration.ofMillis(maxAgeMs) in PolicyTarget()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/
DPolicy.kt55 val maxAgeMs: Long = 0, constant in com.android.libraries.pcc.chronicle.api.policy.PolicyTarget
73 ranges.add(Capability.Ttl.Minutes((maxAgeMs / Capability.Ttl.MILLIS_IN_MIN).toInt())) in toCapabilities()
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyTargetBuilderTest.kt58 assertThat(FOOBAR_TARGET.maxAgeMs).isEqualTo(900000) in testPolicyTargetBuilder()
DChronicleApiPolicyTest.kt97 maxAgeMs = 2 * 60 * Ttl.MILLIS_IN_MIN, // 2 hours in testPolicyTargetToCapabilities()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DManagementStrategyValidation.kt73 PolicyCheck("h:${dataType.descriptor.name} is $it with maxAgeMs = $maxAgeMs") in verifyRetentionSatisfiedBy()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt224 maxAgeMs = maxAge.toMillis(), in build()