Home
last modified time | relevance | path

Searched refs:TypedMap (Results 1 – 10 of 10) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/contextrules/
DPolicyContextRule.kt19 import com.android.libraries.pcc.chronicle.util.TypedMap
32 operator fun invoke(context: TypedMap): Boolean in invoke()
42 override fun invoke(context: TypedMap): Boolean = true in invoke()
53 override fun invoke(context: TypedMap): Boolean = lhs(context) && rhs(context) in and()
64 override fun invoke(context: TypedMap): Boolean = lhs(context) || rhs(context) in or()
74 override fun invoke(context: TypedMap): Boolean = !inner(context) in not()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/policy/rules/
DNPAPolicyRules.kt20 import com.android.libraries.pcc.chronicle.util.TypedMap
30 override fun invoke(context: TypedMap): Boolean { in invoke()
38 override fun invoke(context: TypedMap): Boolean { in invoke()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/api/
DChronicleManager.kt31 import com.android.libraries.pcc.chronicle.util.TypedMap
41 private val connectionContext: TypedMap = TypedMap()
85 TypedMap()).also{ instance = it } in getInstance()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DChronicleContext.kt24 import com.android.libraries.pcc.chronicle.util.TypedMap
49 val connectionContext: TypedMap
64 fun withConnectionContext(connectionContext: TypedMap): ChronicleContext
DDefaultChronicleContext.kt26 import com.android.libraries.pcc.chronicle.util.TypedMap in <lambda>()
37 override val connectionContext: TypedMap = TypedMap() in <lambda>()
95 override fun withConnectionContext(connectionContext: TypedMap): ChronicleContext { in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/util/
DTypedMap.kt49 fun toTypedMap() = TypedMap(this) in toTypedMap()
87 class TypedMap(mutableTypedMap: MutableTypedMap = MutableTypedMap()) { class
95 if (other !is TypedMap) return false in get()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DPolicyContextVerification.kt21 import com.android.libraries.pcc.chronicle.util.TypedMap
27 internal fun Policy.verifyContext(connectionContext: TypedMap): List<PolicyCheck> { in verifyContext()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/
DUserDataAccessor.kt24 import com.android.libraries.pcc.chronicle.util.TypedMap
45 chronicleManager.chronicle.updateConnectionContext(TypedMap(policyContext))
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/policyengine/
DUserDataReaderTest.kt34 import com.android.libraries.pcc.chronicle.util.TypedMap
83 chronicleManager.chronicle.updateConnectionContext(TypedMap(policyContext)) in setUp()
140 chronicleManager.chronicle.updateConnectionContext(TypedMap(policyContext)) in testFailedConnectionContext()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultChronicle.kt41 import com.android.libraries.pcc.chronicle.util.TypedMap in <lambda>()
180 fun updateConnectionContext(updatedContext: TypedMap) { in <lambda>()