Searched refs:rawUsages (Results 1 – 4 of 4) sorted by relevance
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/ |
D | ChronicleApiPolicyFieldBuilderTest.kt | 61 assertThat(actual.rawUsages).containsExactly(UsageType.JOIN, UsageType.EGRESS) in <lambda>() 82 assertThat(actual.rawUsages).isEmpty() in <lambda>() 101 assertThat(actual.rawUsages).isEmpty() in <lambda>() 104 PolicyField(fieldPath = listOf("person", "name"), rawUsages = setOf(UsageType.EGRESS)), in <lambda>() 118 assertThat(actual.rawUsages).isEmpty() in <lambda>() 121 PolicyField(fieldPath = listOf("person", "name"), rawUsages = setOf(UsageType.EGRESS)), in <lambda>() 127 rawUsages = setOf(UsageType.ANY), in <lambda>()
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/ |
D | PolicyBuilder.kt | 237 private val rawUsages = mutableSetOf<UsageType>() in build() constant in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyFieldBuilder 244 rawUsages.addAll(usageTypes) in build() 275 rawUsages = rawUsages, in build()
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/ |
D | ChroniclePolicyEngine.kt | 121 { !(it.rawUsages.canEgress() || it.rawUsages.contains(UsageType.SANDBOX)) } in <lambda>() 123 { !it.rawUsages.canEgress() } in <lambda>()
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/ |
D | Policy.kt | 84 val rawUsages: Set<UsageType> = emptySet(), constant in com.android.libraries.pcc.chronicle.api.policy.PolicyField
|