Home
last modified time | relevance | path

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

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DPrimaryKey.kt25 val autoGenerateId: Boolean) : HasSchemaIdentity { constant in androidx.room.vo.PrimaryKey
38 autoGenerateId, fields.map { it.columnName }) in toBundle()
41 return "$autoGenerateId-${fields.map { it.columnName }}" in getIdKey()
DEntity.kt50 val autoIncrement = primaryKey.autoGenerateId && primaryKey.fields.contains(it) in <lambda>()
61 return if (primaryKey.fields.isEmpty() || primaryKey.autoGenerateId) { in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DEntityProcessor.kt122 !primaryKey.autoGenerateId || affinity == SQLTypeAffinity.INTEGER, in <lambda>()
253 candidates.filter { candidate -> !candidate.autoGenerateId } in <lambda>()
302 autoGenerateId = AnnotationMirrors in <lambda>()
331 autoGenerateId = false)) in <lambda>()
361 autoGenerateId = autoGenerate) in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
DEntityInsertionAdapterWriter.kt44 val primitiveAutoGenerateField = if (entity.primaryKey.autoGenerateId) { in <lambda>()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DEntityProcessorTest.kt926 assertThat(entity.primaryKey.autoGenerateId, `is`(false)) in <lambda>()
979 assertThat(entity.primaryKey.autoGenerateId, `is`(false)) in <lambda>()
995 assertThat(entity.primaryKey.autoGenerateId, `is`(true)) in <lambda>()
1010 assertThat(entity.primaryKey.autoGenerateId, `is`(false)) in <lambda>()
1025 assertThat(entity.primaryKey.autoGenerateId, `is`(true)) in <lambda>()