Searched refs:maxAgeMs (Results 1 – 6 of 6) sorted by relevance
72 if (maxAgeMs == 0L) return listOf(ManagementStrategy.PassThru) in PolicyTarget()81 Duration.ofMillis(maxAgeMs) in PolicyTarget()
55 val maxAgeMs: Long = 0, constant in com.android.libraries.pcc.chronicle.api.policy.PolicyTarget73 ranges.add(Capability.Ttl.Minutes((maxAgeMs / Capability.Ttl.MILLIS_IN_MIN).toInt())) in toCapabilities()
58 assertThat(FOOBAR_TARGET.maxAgeMs).isEqualTo(900000) in testPolicyTargetBuilder()
97 maxAgeMs = 2 * 60 * Ttl.MILLIS_IN_MIN, // 2 hours in testPolicyTargetToCapabilities()
73 PolicyCheck("h:${dataType.descriptor.name} is $it with maxAgeMs = $maxAgeMs") in verifyRetentionSatisfiedBy()
224 maxAgeMs = maxAge.toMillis(), in build()