Home
last modified time | relevance | path

Searched refs:accessPath (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DDefaultOpticsManifest.kt37 accessPath: OpticalAccessPath, in composeTraversal()
43 val result = composeTraversalInner(accessPath, isTail = true) as Traversal<S, T, A, B> in composeTraversal()
46 "Could not compose a traversal for $accessPath with an input entity " + in composeTraversal()
50 "Could not compose a traversal for $accessPath with an output entity " + in composeTraversal()
54 "Could not compose a traversal for $accessPath with an input field type " + in composeTraversal()
58 "Could not compose a traversal for $accessPath with an output field type " + in composeTraversal()
67 accessPath: OpticalAccessPath, in composeTraversalInner()
70 val precalculated = traversalsByPath[accessPath] in composeTraversalInner()
79 dtds.findFieldTypeOrThrow(accessPath.dataTypeName, listOf(accessPath.selectors.first())) in composeTraversalInner()
87 } else if (accessPath.selectors.size == 1) { in composeTraversalInner()
[all …]
DOpticsManifest.kt38 accessPath: OpticalAccessPath, in composeTraversal()
53 accessPath: OpticalAccessPath in composeTraversal()
55 return composeTraversal(accessPath, S::class.java, T::class.java, A::class.java, B::class.java) in composeTraversal()
65 accessPath: OpticalAccessPath in composeMono()
67 return composeTraversal(accessPath, S::class.java, S::class.java, A::class.java, A::class.java) in composeMono()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptorSet.kt37 fun findFieldTypeOrThrow(dtdName: String, accessPath: List<String>): FieldType =
38 findFieldTypeOrThrow(get(dtdName), accessPath)
44 fun findFieldTypeOrThrow(dtd: DataTypeDescriptor, accessPath: List<String>): FieldType
81 fun findFieldTypeAsClass(dtd: DataTypeDescriptor, accessPath: List<String>): Class<*> =
82 fieldTypeAsClass(findFieldTypeOrThrow(dtd, accessPath))
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt43 accessPath: List<String>, in <lambda>()
45 require(accessPath.isNotEmpty()) { "Cannot find field type for empty access path." } in <lambda>()
47 val field = accessPath[0] in <lambda>()
51 if (accessPath.size == 1) return fieldType in <lambda>()
54 return findFieldTypeOrThrow(nextDtd, accessPath.drop(1)) in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DCantripFactoryImpl.kt66 optics.composeTraversal(it.accessPath, dtdClass, dtdClass, it.fieldType, it.fieldType) in <lambda>()
94 accessPath = pathToField, in <lambda>()
104 val accessPath: OpticalAccessPath, in <lambda>() constant in com.android.libraries.pcc.chronicle.analysis.impl.CantripFactoryImpl.ConditionalUsage