Home
last modified time | relevance | path

Searched refs:createCapability (Results 1 – 3 of 3) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DAnnotations.kt24 internal val ANNOTATION_IN_MEMORY = Annotation.createCapability("inMemory")
25 internal val ANNOTATION_PERSISTENT = Annotation.createCapability("persistent")
26 internal val ANNOTATION_REMOTE_PERSISTENT = Annotation.createCapability("remotePersistent")
27 internal val ANNOTATION_ENCRYPTED = Annotation.createCapability("encrypted")
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyCapabilitiesTest.kt58 val persistent = Capabilities.fromAnnotation(Annotation.createCapability("persistent")) in testCapabilitiesFromAnnotationsPersistent()
80 listOf(Annotation.createCapability("persistent"), Annotation.createTtl("30d")) in testCapabilitiesFromAnnotationsPersistentAndTtl()
93 … listOf(Annotation.createCapability("encrypted"), Annotation.createCapability("queryable")) in testCapabilitiesFromAnnotationsQueryableAndEncrypted()
104 … val tiedToRuntime = Capabilities.fromAnnotation(Annotation.createCapability("tiedToRuntime")) in testCapabilitiesFromAnnotationsTiedToRuntimeAndTtl()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/annotation/
DAnnotation.kt51 fun createCapability(name: String) = Annotation(name) in createArcId() method