Home
last modified time | relevance | path

Searched refs:StorageMedium (Results 1 – 9 of 9) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DDefaultPolicyConformanceCheckTest.kt24 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
47 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testIfDescriptionMissing()
51 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testIfDescriptionMissing()
70 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testIfRetentionRulesElided()
87 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testWhenPoliciesConform()
91 target(FOOBAR_DTD, maxAge = Duration.ZERO) { retention(StorageMedium.RAM) } in testWhenPoliciesConform()
DChronicleApiPolicyBuilderTest.kt31 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
60 retention(StorageMedium.RAM) in <lambda>()
65 retention(StorageMedium.DISK, encryptionRequired = true) in <lambda>()
80 retention(StorageMedium.RAM) in testPolicyBuilder()
84 retention(StorageMedium.DISK, encryptionRequired = true) in testPolicyBuilder()
DChronicleApiPolicyTargetBuilderTest.kt28 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
49 retention(StorageMedium.RAM) in <lambda>()
61 PolicyRetention(StorageMedium.RAM) in testPolicyTargetBuilder()
DChronicleApiPolicyTest.kt26 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
100 PolicyRetention(medium = StorageMedium.DISK, encryptionRequired = true), in testPolicyTargetToCapabilities()
101 PolicyRetention(medium = StorageMedium.RAM) in testPolicyTargetToCapabilities()
DChronicleApiPolicyFieldBuilderTest.kt30 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/
DPolicy.kt66 StorageMedium.DISK -> Capability.Persistence.ON_DISK in toCapabilities()
67 StorageMedium.RAM -> Capability.Persistence.IN_MEMORY in toCapabilities()
104 data class PolicyRetention(val medium: StorageMedium, val encryptionRequired: Boolean = false)
127 enum class StorageMedium { class
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DUtils.kt22 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
78 StorageMedium.RAM -> StorageMedia.MEMORY in PolicyTarget()
79 StorageMedium.DISK -> StorageMedia.LOCAL_DISK in PolicyTarget()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt28 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
37 typealias StorageMedium = StorageMedium typealias
195 fun retention(medium: StorageMedium, encryptionRequired: Boolean = false): PolicyRetention = in retention()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/policy/
DDataIngressPolicy.kt19 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium
45 retention(medium = StorageMedium.RAM, encryptionRequired = false) in <lambda>()