Home
last modified time | relevance | path

Searched refs:fieldType (Results 1 – 23 of 23) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/
DDefaultDataTypeDescriptorSet.kt48 val fieldType = in <lambda>() constant
51 if (accessPath.size == 1) return fieldType in <lambda>()
53 val nextDtd = requireNotNull(findDataTypeDescriptor(fieldType)) in <lambda>()
57 override fun findDataTypeDescriptor(fieldType: FieldType): DataTypeDescriptor? { in <lambda>()
58 return when (fieldType) { 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>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java126 int fieldType = cursor.getType(i); in objectArrayFromCursor() local
127 if (fieldType == Cursor.FIELD_TYPE_BLOB) { in objectArrayFromCursor()
129 } else if (fieldType == Cursor.FIELD_TYPE_FLOAT) { in objectArrayFromCursor()
131 } else if (fieldType == Cursor.FIELD_TYPE_INTEGER) { in objectArrayFromCursor()
133 } else if (fieldType == Cursor.FIELD_TYPE_STRING) { in objectArrayFromCursor()
135 } else if (fieldType == Cursor.FIELD_TYPE_NULL) { in objectArrayFromCursor()
138 throw new IllegalStateException("Unknown fieldType (" + fieldType + ") for column: " + i); in objectArrayFromCursor()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/data/
DFieldData.java22 public final String fieldType; field in FieldData
28 public FieldData(String fieldName, String fieldType) { in FieldData() argument
30 this.fieldType = fieldType; in FieldData()
/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>()
68 requireNotNull(operations.findOperation(it.tag, it.fieldType, it.fieldType)) { in <lambda>()
96 fieldType = dtds.findFieldTypeAsClass(baseDtd, field.fieldPath) in <lambda>()
106 val fieldType: Class<*>, in <lambda>() constant in com.android.libraries.pcc.chronicle.analysis.impl.CantripFactoryImpl.ConditionalUsage
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DDiscoveryAdvertisement.java85 byte fieldType = (byte) ((firstByte & FIRA_SPECIFIC_FIELD_TYPE_MASK) >> 4); in fromBytes()
96 if (fieldType == FIRA_SPECIFIC_FIELD_TYPE_UWB_INDICATION_DATA) { in fromBytes()
104 } else if (fieldType == FIRA_SPECIFIC_FIELD_TYPE_UWB_REGULATORY_INFO) { in fromBytes()
112 } else if (fieldType == FIRA_SPECIFIC_FIELD_TYPE_FIRA_PROFILE_SUPPORT_INFO) { in fromBytes()
120 } else if (fieldType == FIRA_SPECIFIC_FIELD_TYPE_VENDOR_SPECIFIC_DATA) { in fromBytes()
131 + fieldType); in fromBytes()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/optics/
DDefaultOpticsManifest.kt78 var fieldType = in composeTraversalInner() variable
82 while (fieldType is FieldType.List) { in composeTraversalInner()
84 fieldType = fieldType.itemFieldType in composeTraversalInner()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java483 Class<?> fieldType = field.getType(); in parseColumnInfo() local
484 if (fieldType == String.class) { in parseColumnInfo()
486 } else if (fieldType == boolean.class) { in parseColumnInfo()
488 } else if (fieldType == short.class) { in parseColumnInfo()
490 } else if (fieldType == int.class) { in parseColumnInfo()
492 } else if (fieldType == long.class) { in parseColumnInfo()
494 } else if (fieldType == float.class) { in parseColumnInfo()
496 } else if (fieldType == double.class) { in parseColumnInfo()
498 } else if (fieldType == byte[].class) { in parseColumnInfo()
502 "Unsupported field type for column: " + fieldType.getName()); in parseColumnInfo()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DStruct.java170 private static void checkAnnotationType(final Field annotation, final Class fieldType) { in checkAnnotationType() argument
174 if (fieldType == Short.TYPE) return; in checkAnnotationType()
179 if (fieldType == Integer.TYPE) return; in checkAnnotationType()
186 if (fieldType == Long.TYPE) return; in checkAnnotationType()
190 if (fieldType == BigInteger.class) return; in checkAnnotationType()
193 if (fieldType == Byte.TYPE) return; in checkAnnotationType()
196 if (fieldType != byte[].class) break; in checkAnnotationType()
203 if (fieldType == MacAddress.class) return; in checkAnnotationType()
206 if (fieldType == Inet4Address.class) return; in checkAnnotationType()
209 if (fieldType == Inet6Address.class) return; in checkAnnotationType()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanRecord.java552 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() local
554 advertisingDataMap.put(fieldType, advertisingData); in parseFromBytes()
555 switch (fieldType) { in parseFromBytes()
621 if (fieldType == DATA_TYPE_SERVICE_DATA_32_BIT) { in parseFromBytes()
623 } else if (fieldType == DATA_TYPE_SERVICE_DATA_128_BIT) { in parseFromBytes()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptorSet.kt52 fun findDataTypeDescriptor(fieldType: FieldType): DataTypeDescriptor?
75 fun fieldTypeAsClass(fieldType: FieldType): Class<*>
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/
DParsedDataBuilderTest.java120 assertThat(fieldData.fieldType).isEqualTo("String"); in testFieldDataAndAnnotationData()
140 assertThat(fieldData.fieldType).isEqualTo("int"); in testFieldDataAndAnnotationData()
160 assertThat(fieldData.fieldType).isEqualTo("int"); in testFieldDataAndAnnotationData()
180 assertThat(fieldData.fieldType).isEqualTo("int"); in testFieldDataAndAnnotationData()
200 assertThat(fieldData.fieldType).isEqualTo("int"); in testFieldDataAndAnnotationData()
220 assertThat(fieldData.fieldType).isEqualTo("int"); in testFieldDataAndAnnotationData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java281 long fieldType, in writeFieldIfNotNull() argument
287 if (fieldType == ProtoOutputStream.FIELD_TYPE_STRING) { in writeFieldIfNotNull()
288 proto.write(fieldType | fieldCount | fieldNumber, value.toString()); in writeFieldIfNotNull()
291 if (fieldType == ProtoOutputStream.FIELD_TYPE_INT32) { in writeFieldIfNotNull()
292 proto.write(fieldType | fieldCount | fieldNumber, (Integer) value); in writeFieldIfNotNull()
/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/
DLogEnforcementVariableCreationDetector.kt135 val fieldType = field.getType() in checkFieldForLogEnforcementVariable() constant
138 return (fieldType.canonicalText == "boolean" || in checkFieldForLogEnforcementVariable()
139 fieldType.canonicalText == "java.lang.Boolean") && in checkFieldForLogEnforcementVariable()
/packages/modules/AppSearch/safeparcel-processor/src/android/app/appsearch/safeparcel/
DSafeParcelProcessor.java759 TypeMirror fieldType = field.asType(); in parseIndicatorField() local
760 if (!isSetOfInteger(fieldType)) { in parseIndicatorField()
786 indicatorField.mType = fieldType; in parseIndicatorField()
870 TypeMirror fieldType = type != null ? loadTypeOrFail(type) : field.asType(); in parseField() local
885 if (!allowsDefaultValue(fieldType)) { in parseField()
895 resolvedDefaultValue = convertForType(defaultValue, fieldType); in parseField()
913 SerializationMethods sm = getSerializationMethod(field, fieldType); in parseField()
919 f.mType = fieldType; in parseField()
934 fieldType in parseField()
1435 private boolean isListSafeForReflection(DeclaredType fieldType) { in isListSafeForReflection() argument
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt291 val fieldType = in build() constant
295 return fieldType.getDataTypeDescriptor(dataTypeDescriptor) in build()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c331 uint8_t fieldType = event->buf[event->lastFieldPos] & 0x0F; in increment_annotation_count() local
340 event->buf[event->lastFieldPos] = (((uint8_t)newAnnotationCount << 4) & 0xF0) | fieldType; in increment_annotation_count()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataBuilder.java181 String fieldType = field.getVariables().get(0).getTypeAsString(); in getFieldData() local
196 FieldData fieldData = new FieldData(fieldName, fieldType); in getFieldData()
DParsedDataHelper.java308 + classData.onlyClassName + " " + field.fieldType + " " in formatFieldString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java627 static void setContactFields(String fieldType, String contactId, String data) { in setContactFields() argument
635 switch (fieldType) { in setContactFields()
/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/
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...