Searched refs:StorageMedium (Results 1 – 9 of 9) sorted by relevance
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/ |
D | DefaultPolicyConformanceCheckTest.kt | 24 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()
|
D | ChronicleApiPolicyBuilderTest.kt | 31 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()
|
D | ChronicleApiPolicyTargetBuilderTest.kt | 28 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium 49 retention(StorageMedium.RAM) in <lambda>() 61 PolicyRetention(StorageMedium.RAM) in testPolicyTargetBuilder()
|
D | ChronicleApiPolicyTest.kt | 26 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()
|
D | ChronicleApiPolicyFieldBuilderTest.kt | 30 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium in <lambda>()
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/ |
D | Policy.kt | 66 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/ |
D | Utils.kt | 22 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/ |
D | PolicyBuilder.kt | 28 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/ |
D | DataIngressPolicy.kt | 19 import com.android.libraries.pcc.chronicle.api.policy.StorageMedium 45 retention(medium = StorageMedium.RAM, encryptionRequired = false) in <lambda>()
|