Home
last modified time | relevance | path

Searched refs:DataTypeDescriptor (Results 1 – 16 of 16) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor in <lambda>()
27 class DefaultDataTypeDescriptorSet(private val dtds: Set<DataTypeDescriptor>) : in <lambda>()
29 private val dtdsByName: Map<String, DataTypeDescriptor> = in <lambda>()
32 private val dtdsByKClass: Map<KClass<*>, DataTypeDescriptor> = in <lambda>()
35 private fun collectNestedDataTypeDescriptors(dtd: DataTypeDescriptor): List<DataTypeDescriptor> { in <lambda>()
39 override fun getOrNull(name: String): DataTypeDescriptor? = dtdsByName[name] in <lambda>()
42 dtd: DataTypeDescriptor, in <lambda>()
57 override fun findDataTypeDescriptor(fieldType: FieldType): DataTypeDescriptor? { in <lambda>()
83 override fun findDataTypeDescriptor(cls: KClass<*>): DataTypeDescriptor? = dtdsByKClass[cls] in <lambda>()
112 override fun toSet(): Set<DataTypeDescriptor> = dtds in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptorSet.kt27 operator fun get(name: String): DataTypeDescriptor = in get()
31 fun getOrNull(name: String): DataTypeDescriptor?
44 fun findFieldTypeOrThrow(dtd: DataTypeDescriptor, accessPath: List<String>): FieldType
52 fun findDataTypeDescriptor(fieldType: FieldType): DataTypeDescriptor?
55 fun findDataTypeDescriptor(cls: KClass<*>): DataTypeDescriptor?
81 fun findFieldTypeAsClass(dtd: DataTypeDescriptor, accessPath: List<String>): Class<*> =
85 fun toSet(): Set<DataTypeDescriptor>
DDataTypeDescriptor.kt39 block: DataTypeDescriptor.Builder.() -> Unit = {} in dataTypeDescriptor()
40 ): DataTypeDescriptor {
41 return DataTypeDescriptor.Builder(name, cls).apply(block).build()
48 data class DataTypeDescriptor( class
51 val innerTypes: Set<DataTypeDescriptor> = emptySet(),
56 private val innerTypes = mutableSetOf<DataTypeDescriptor>()
82 fun build(): DataTypeDescriptor = DataTypeDescriptor(name, fields, innerTypes, cls) in build()
DManagedDataType.kt26 override val descriptor: DataTypeDescriptor,
35 descriptor: DataTypeDescriptor,
DDataType.kt43 val descriptor: DataTypeDescriptor
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor
102 dataTypeDescriptor: DataTypeDescriptor, in target()
145 dataTypeDescriptor: DataTypeDescriptor, in target()
176 private val dataTypeDescriptor: DataTypeDescriptor,
234 private val dataTypeDescriptor: DataTypeDescriptor?, in build()
288 dataTypeDescriptor: DataTypeDescriptor in build()
289 ): DataTypeDescriptor? { in build()
300 parentDataTypeDescriptor: DataTypeDescriptor in build()
301 ): DataTypeDescriptor? { in build()
DFlavoredPoliciesBuilder.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor in <lambda>()
60 schema: DataTypeDescriptor, in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DOpticalAccessPath.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor
42 constructor(dtd: DataTypeDescriptor, vararg selectors: String) : this(dtd, selectors.asList())
44 constructor(dtd: DataTypeDescriptor, selectors: List<String>) : this(dtd.name, selectors)
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/
DDefaultChronicleContext.kt21 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor in <lambda>()
40 private val dtdByType: Map<Class<out Connection>, DataTypeDescriptor> in <lambda>()
47 val tempDtds = mutableMapOf<Class<out Connection>, DataTypeDescriptor>() in <lambda>()
78 override fun <T : Connection> findDataType(connectionType: Class<T>): DataTypeDescriptor? { in <lambda>()
DPolicySet.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor
38 fun findManagementStrategies(dataTypeDescriptor: DataTypeDescriptor): Set<ManagementStrategy>
DCantripFactory.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor
35 dtd: DataTypeDescriptor,
DDefaultPolicySet.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor in <lambda>()
41 dataTypeDescriptor: DataTypeDescriptor in <lambda>()
DChronicleContext.kt21 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor
58 fun <T : Connection> findDataType(connectionType: Class<T>): DataTypeDescriptor?
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/data/
DGeneratedDTD.kt19 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor
24 public val USER_DATA_GENERATED_DTD: DataTypeDescriptor = dataTypeDescriptor(name =
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DCantripFactoryImpl.kt22 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor in <lambda>()
51 dtd: DataTypeDescriptor, in <lambda>()
82 baseDtd: DataTypeDescriptor, in <lambda>()
DChroniclePolicyEngine.kt25 import com.android.libraries.pcc.chronicle.api.DataTypeDescriptor in <lambda>()
177 private fun DataTypeDescriptor.findPolicyViolations( in <lambda>() method