Home
last modified time | relevance | path

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

/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/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/StatsD/lib/libstatssocket/
Dstats_event.c269 uint8_t fieldType = event->buf[event->lastFieldPos] & 0x0F; in increment_annotation_count() local
278 event->buf[event->lastFieldPos] = (((uint8_t)newAnnotationCount << 4) & 0xF0) | fieldType; in increment_annotation_count()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java499 private static void setContactFields(String fieldType, String contactId, String data) { in setContactFields() argument
507 switch (fieldType) { in setContactFields()