Searched refs:toRange (Results 1 – 3 of 3) sorted by relevance
32 ranges = capabilities.map { it -> it.toRange() } in <lambda>()92 ranges.add(it.toRange()) in <lambda>()94 Capability.Encryption.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()95 Capability.Ttl.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()96 Capability.Queryable.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()97 Capability.Shareable.fromAnnotations(annotations)?.let { ranges.add(it.toRange()) } in <lambda>()
27 is Range -> toRange().isEquivalent(other) in isEquivalent()34 is Range -> toRange().contains(other) in contains()72 open fun toRange() = Range(this, this) in toRange() method in com.android.libraries.pcc.chronicle.api.policy.capabilities.Capability327 override fun toRange() = this in toRange() method in com.android.libraries.pcc.chronicle.api.policy.capabilities.Range
52 Capabilities(listOf(Ttl.Days(1).toRange(), Ttl.Hours(3))) in testCapabilitiesUnique()116 Persistence.ON_DISK.toRange(), in testCapabilitiesContains()118 Capability.Queryable(true).toRange() in testCapabilitiesContains()141 Persistence.ON_DISK.toRange(), in testCapabilitiesContains()142 Capability.Ttl.Days(10).toRange() in testCapabilitiesContains()152 Capability.Ttl.Days(10).toRange(), in testCapabilitiesContains()153 Capability.Shareable(true).toRange() in testCapabilitiesContains()