Home
last modified time | relevance | path

Searched refs:FieldType (Results 1 – 13 of 13) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt21 import com.android.libraries.pcc.chronicle.api.FieldType in <lambda>()
44 ): FieldType { in <lambda>()
57 override fun findDataTypeDescriptor(fieldType: FieldType): DataTypeDescriptor? { in <lambda>()
59 is FieldType.Array -> findDataTypeDescriptor(fieldType.itemFieldType) in <lambda>()
60 is FieldType.List -> findDataTypeDescriptor(fieldType.itemFieldType) in <lambda>()
61 is FieldType.Nullable -> findDataTypeDescriptor(fieldType.itemFieldType) in <lambda>()
62 is FieldType.Nested -> getOrNull(fieldType.name) in <lambda>()
63 is FieldType.Reference -> getOrNull(fieldType.name) in <lambda>()
64 FieldType.Boolean, in <lambda>()
65 FieldType.Byte, in <lambda>()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptor.kt50 val fields: Map<String, FieldType>,
55 private val fields = mutableMapOf<String, FieldType>()
59 infix fun String.to(type: FieldType) { in to()
72 ): FieldType {
78 return FieldType.Nested(dtd.name)
87 sealed class FieldType { in build() class
89 object Boolean : FieldType() in build()
92 object Byte : FieldType() in build()
95 object ByteArray : FieldType() in build()
98 object Short : FieldType() in build()
[all …]
DDataTypeDescriptorSet.kt37 fun findFieldTypeOrThrow(dtdName: String, accessPath: List<String>): FieldType =
44 fun findFieldTypeOrThrow(dtd: DataTypeDescriptor, accessPath: List<String>): FieldType
52 fun findDataTypeDescriptor(fieldType: FieldType): DataTypeDescriptor?
75 fun fieldTypeAsClass(fieldType: FieldType): Class<*>
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DChroniclePolicyEngine.kt26 import com.android.libraries.pcc.chronicle.api.FieldType in <lambda>()
135 private fun FieldType.findPolicyViolations( in <lambda>() method
142 FieldType.Boolean, in <lambda>()
143 FieldType.Byte, in <lambda>()
144 FieldType.ByteArray, in <lambda>()
145 FieldType.Char, in <lambda>()
146 FieldType.Double, in <lambda>()
147 FieldType.Duration, in <lambda>()
148 FieldType.Float, in <lambda>()
149 FieldType.Instant, in <lambda>()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/policyengine/data/
DGeneratedDTD.kt20 import com.android.libraries.pcc.chronicle.api.FieldType
26 "timestampSec" to FieldType.Long in <lambda>()
27 "timezoneUtcOffsetMins" to FieldType.Integer in <lambda>()
28 "orientation" to FieldType.Integer in <lambda>()
29 "availableStorageMB" to FieldType.Long in <lambda>()
30 "batteryPercentage" to FieldType.Integer in <lambda>()
31 "carrier" to FieldType.String in <lambda>()
32 "dataNetworkType" to FieldType.Integer in <lambda>()
33 "appInfos" to FieldType.List(dataTypeDescriptor(name = in <lambda>()
35 "packageName" to FieldType.String in <lambda>()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt20 import com.android.libraries.pcc.chronicle.api.FieldType
299 private fun FieldType.getDataTypeDescriptor( in build() method
303 is FieldType.Array -> itemFieldType.getDataTypeDescriptor(parentDataTypeDescriptor) in build()
304 is FieldType.List -> itemFieldType.getDataTypeDescriptor(parentDataTypeDescriptor) in build()
305 is FieldType.Nested -> parentDataTypeDescriptor.innerTypes.find { it.name == this.name } in build()
306 is FieldType.Nullable -> itemFieldType.getDataTypeDescriptor(parentDataTypeDescriptor) in build()
307 FieldType.Boolean, in build()
308 FieldType.Byte, in build()
309 FieldType.ByteArray, in build()
310 FieldType.Char, in build()
[all …]
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyBuilderTest.kt35 import com.android.libraries.pcc.chronicle.api.FieldType
49 "name" to FieldType.String in <lambda>()
53 "a" to FieldType.Integer in <lambda>()
54 "b" to FieldType.Integer in <lambda>()
DChronicleApiPolicyFieldBuilderTest.kt33 import com.android.libraries.pcc.chronicle.api.FieldType in <lambda>()
48 "name" to FieldType.String in <lambda>()
49 "age" to FieldType.Integer in <lambda>()
51 "breed" to FieldType.String in <lambda>()
DChronicleApiPolicyTargetBuilderTest.kt31 import com.android.libraries.pcc.chronicle.api.FieldType
45 "name" to FieldType.String in <lambda>()
DDefaultPolicyConformanceCheckTest.kt26 import com.android.libraries.pcc.chronicle.api.FieldType
39 "name" to FieldType.String in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DDefaultOpticsManifest.kt20 import com.android.libraries.pcc.chronicle.api.FieldType
82 while (fieldType is FieldType.List) { in composeTraversalInner()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...