Home
last modified time | relevance | path

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

/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DFieldProcessorTest.kt21 import androidx.room.parser.SQLTypeAffinity in <lambda>()
98 private fun TypeKind.affinity(): SQLTypeAffinity { in <lambda>()
100 TypeKind.FLOAT, TypeKind.DOUBLE -> SQLTypeAffinity.REAL in <lambda>()
101 else -> SQLTypeAffinity.INTEGER in <lambda>()
149 affinity = SQLTypeAffinity.INTEGER))) in <lambda>()
164 affinity = SQLTypeAffinity.INTEGER, in <lambda>()
186 affinity = SQLTypeAffinity.TEXT))) in <lambda>()
188 `is`(SQLTypeAffinity.TEXT)) in <lambda>()
203 SQLTypeAffinity.BLOB in <lambda>()
205 SQLTypeAffinity.TEXT in <lambda>()
[all …]
DEntityNameMatchingVariationsTest.kt19 import androidx.room.parser.SQLTypeAffinity in <lambda>()
71 affinity = SQLTypeAffinity.INTEGER))) in <lambda>()
DPojoProcessorTest.kt21 import androidx.room.parser.SQLTypeAffinity in <lambda>()
470 parentAffinity = SQLTypeAffinity.TEXT, in <lambda>()
471 childAffinity = SQLTypeAffinity.INTEGER, in <lambda>()
608 affinity = SQLTypeAffinity.TEXT, in <lambda>()
DEntityProcessorTest.kt20 import androidx.room.parser.SQLTypeAffinity in <lambda>()
55 affinity = SQLTypeAffinity.INTEGER))) in <lambda>()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/
DDatabaseVerifierTest.kt20 import androidx.room.parser.SQLTypeAffinity in <lambda>()
79 ColumnInfo("id", SQLTypeAffinity.INTEGER), in <lambda>()
80 ColumnInfo("name", SQLTypeAffinity.TEXT), in <lambda>()
81 ColumnInfo("lastName", SQLTypeAffinity.TEXT), in <lambda>()
82 ColumnInfo("ratio", SQLTypeAffinity.REAL) in <lambda>()
92 ColumnInfo("id", SQLTypeAffinity.INTEGER), in <lambda>()
93 ColumnInfo("lastName", SQLTypeAffinity.TEXT) in <lambda>()
103 ColumnInfo("myId", SQLTypeAffinity.INTEGER), in <lambda>()
104 ColumnInfo("lastName", SQLTypeAffinity.TEXT) in <lambda>()
115 ColumnInfo("MAX(ratio)", SQLTypeAffinity.NULL) in <lambda>()
[all …]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DRelationCollector.kt26 import androidx.room.parser.SQLTypeAffinity in <lambda>()
52 val affinity: SQLTypeAffinity, in <lambda>()
106 SQLTypeAffinity.INTEGER -> "getLong" in <lambda>()
107 SQLTypeAffinity.REAL -> "getDouble" in <lambda>()
108 SQLTypeAffinity.TEXT -> "getString" in <lambda>()
109 SQLTypeAffinity.BLOB -> "getBlob" in <lambda>()
144 SQLTypeAffinity.TEXT in <lambda>()
241 private fun keyTypeMirrorFor(context: Context, affinity: SQLTypeAffinity): TypeMirror { in <lambda>()
245 SQLTypeAffinity.INTEGER -> elements.getTypeElement("java.lang.Long").asType() in <lambda>()
246 SQLTypeAffinity.REAL -> elements.getTypeElement("java.lang.Double").asType() in <lambda>()
[all …]
DField.kt23 import androidx.room.parser.SQLTypeAffinity
31 var affinity: SQLTypeAffinity?,
134 affinity?.name ?: SQLTypeAffinity.TEXT.name, nonNull
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/
Djdbc_ext.kt17 import androidx.room.parser.SQLTypeAffinity in <lambda>()
51 private fun PreparedStatement.tryGetAffinity(columnIndex: Int): SQLTypeAffinity { in tryGetAffinity()
53 SQLTypeAffinity.valueOf(metaData.getColumnTypeName(columnIndex).capitalize()) in tryGetAffinity()
55 SQLTypeAffinity.NULL in tryGetAffinity()
DColumnInfo.kt19 import androidx.room.parser.SQLTypeAffinity
24 data class ColumnInfo(val name: String, val type: SQLTypeAffinity)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/
DColumnTypeAdapter.kt19 import androidx.room.parser.SQLTypeAffinity
26 abstract class ColumnTypeAdapter(val out: TypeMirror, val typeAffinity: SQLTypeAffinity) :
30 override fun affinity(): SQLTypeAffinity = typeAffinity
DPrimitiveColumnTypeAdapter.kt21 import androidx.room.parser.SQLTypeAffinity
22 import androidx.room.parser.SQLTypeAffinity.REAL
40 typeAffinity: SQLTypeAffinity)
65 INT, SHORT, BYTE, LONG, CHAR -> SQLTypeAffinity.INTEGER in createPrimitiveAdapters()
DCursorValueReader.kt19 import androidx.room.parser.SQLTypeAffinity
28 fun affinity(): SQLTypeAffinity
DByteArrayColumnTypeAdapter.kt20 import androidx.room.parser.SQLTypeAffinity
27 typeAffinity = SQLTypeAffinity.BLOB) {
DStringColumnTypeAdapter.kt20 import androidx.room.parser.SQLTypeAffinity.TEXT
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/vo/
DIndexTest.kt19 import androidx.room.parser.SQLTypeAffinity
50 affinity = SQLTypeAffinity.TEXT, in mockField()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DFieldProcessor.kt24 import androidx.room.parser.SQLTypeAffinity
45 val affinity: SQLTypeAffinity? in process()
63 SQLTypeAffinity.fromAnnotationValue(userDefinedAffinity) in process()
DProcessorErrors.kt26 import androidx.room.parser.SQLTypeAffinity
349 parentAffinity: SQLTypeAffinity?, in relationAffinityMismatch()
350 childAffinity: SQLTypeAffinity?): String { in relationAffinityMismatch()
DEntityProcessor.kt24 import androidx.room.parser.SQLTypeAffinity in <lambda>()
120 val affinity = primaryKey.fields.firstOrNull()?.affinity ?: SQLTypeAffinity.TEXT in <lambda>()
122 !primaryKey.autoGenerateId || affinity == SQLTypeAffinity.INTEGER, in <lambda>()
258 && field.affinity != SQLTypeAffinity.INTEGER)) { in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/
DTypeAdapterStore.kt25 import androidx.room.parser.SQLTypeAffinity in <lambda>()
159 affinity: SQLTypeAffinity? in <lambda>()
180 private fun targetTypeMirrorsFor(affinity: SQLTypeAffinity?): List<TypeMirror> { in <lambda>()
192 fun findCursorValueReader(output: TypeMirror, affinity: SQLTypeAffinity?): CursorValueReader? { in <lambda>()
234 fun findColumnTypeAdapter(out: TypeMirror, affinity: SQLTypeAffinity?): ColumnTypeAdapter? { in <lambda>()
252 out: TypeMirror, affinity: SQLTypeAffinity?): ColumnTypeAdapter? { in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
DTableInfoValidationWriter.kt26 import androidx.room.parser.SQLTypeAffinity in <lambda>()
51 /*type*/ field.affinity?.name ?: SQLTypeAffinity.TEXT.name, in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/
DSqlParser.kt208 enum class SQLTypeAffinity { class
238 fun fromAnnotationValue(value: Int): SQLTypeAffinity? { in fromAnnotationValue()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/solver/
DTypeAdapterStoreTest.kt31 import androidx.room.parser.SQLTypeAffinity in <lambda>()
164 val adapter = store.findCursorValueReader(tDate, SQLTypeAffinity.INTEGER) in <lambda>()
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config2352 … "android/arch/persistence/room/parser/SQLTypeAffinity": "androidx/room/parser/SQLTypeAffinity",