/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | PojoProcessorTest.kt | 95 val pojo = PojoProcessor(baseContext = invocation.context, in <lambda>() constant 99 assertThat(pojo.fields.find { it.name == "myField" }, notNullValue()) in <lambda>() 100 assertThat(pojo.fields.find { it.name == "baseField" }, notNullValue()) in <lambda>() 109 """) { pojo -> in <lambda>() method 110 assertThat(pojo.fields.size, `is`(1)) in <lambda>() 111 assertThat(pojo.fields[0].name, `is`("bar")) in <lambda>() 121 """) { pojo -> in <lambda>() method 122 assertThat(pojo.fields.map { it.name }.toSet(), `is`(setOf("bar", "foo"))) in <lambda>() 135 """) { pojo -> in <lambda>() method 136 assertThat(pojo.fields.map { it.name }.toSet(), `is`(setOf("x", "bar"))) in <lambda>() [all …]
|
D | RawQueryMethodProcessorTest.kt | 152 fun pojo() { in <lambda>() method in androidx.room.processor.RawQueryMethodProcessorTest 153 val pojo: TypeName = ClassName.get("foo.bar.MyClass", "MyPojo") in <lambda>() constant 171 assertThat(query.returnType.typeName(), `is`(pojo)) in <lambda>()
|
D | DatabaseProcessorTest.kt | 601 val adapterPojo = (adapter as PojoRowAdapter).pojo in <lambda>() 607 val loadAllPojo = (loadAllAdapter as PojoRowAdapter).pojo in <lambda>() 615 val convAdapterPojo = (convAdapter as PojoRowAdapter).pojo in <lambda>()
|
D | QueryMethodProcessorTest.kt | 666 assertThat(adapter?.mapping?.unusedFields, `is`(adapter?.pojo?.fields)) in <lambda>() 726 adapter?.pojo?.fields?.filter { it.name == "name" } in <lambda>() 747 adapter?.pojo?.fields?.filter { it.name == "name" } in <lambda>() 770 adapter?.pojo?.fields?.filter { it.name == "lastName" } in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | EntityProcessor.kt | 63 val pojo = PojoProcessor( in <lambda>() constant 69 context.checker.check(pojo.relations.isEmpty(), element, RELATION_IN_ENTITY) in <lambda>() 91 val fieldIndices = pojo.fields in <lambda>() 117 val indices = validateAndCreateIndices(indexInputs, pojo) in <lambda>() 119 val primaryKey = findAndValidatePrimaryKey(pojo.fields, pojo.embeddedFields) in <lambda>() 127 val entityForeignKeys = validateAndCreateForeignKeyReferences(foreignKeyInputs, pojo) in <lambda>() 132 pojo.fields.forEach { in <lambda>() 139 type = pojo.type, in <lambda>() 140 fields = pojo.fields, in <lambda>() 141 embeddedFields = pojo.embeddedFields, in <lambda>() [all …]
|
D | RawQueryMethodProcessor.kt | 94 val pojo = PojoProcessor( in processObservedTables() constant 100 val tableNames = pojo.accessedTableNames() in processObservedTables()
|
D | PojoProcessor.kt | 155 val subFields = embeddedFields.flatMap { it.pojo.fields } in <lambda>() 164 val subRelations = embeddedFields.flatMap { it.pojo.relations } in <lambda>() 312 pojo = element.qualifiedName.toString(), in <lambda>() 388 subParent.pojo = PojoProcessor( in <lambda>() 538 val pojo = PojoProcessor( in <lambda>() constant 544 pojo.fields.map { it.columnName } in <lambda>()
|
D | ProcessorErrors.kt | 461 pojo: String, paramName: String, matchingFields: List<String>): String { in ambigiousConstructor() 463 Ambiguous constructor. The parameter ($paramName) in $pojo matches multiple fields: in ambigiousConstructor()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/ |
D | PojoRowAdapter.kt | 43 val pojo: Pojo, out: TypeMirror) : RowAdapter(out) { in <lambda>() constant 49 val remainingFields = pojo.fields.mapTo(mutableListOf(), { it }) in <lambda>() 57 pojo.fields.firstOrNull { it.columnName == column.name } in <lambda>() 68 pojoTypeName = pojo.typeName, in <lambda>() 72 allFields = pojo.fields in <lambda>() 79 pojoTypeName = pojo.typeName, in <lambda>() 90 relationCollectors = RelationCollector.createCollectors(context, pojo.relations) in <lambda>() 129 outPojo = pojo, in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/ |
D | TypeAdapterStore.kt | 334 val pojo = PojoProcessor( in <lambda>() constant 343 pojo = pojo, in <lambda>() 379 val pojo = PojoProcessor( in <lambda>() constant 388 pojo = pojo, in <lambda>()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
D | EmbeddedField.kt | 31 lateinit var pojo: Pojo variable in androidx.room.vo.EmbeddedField
|
D | Pojo.kt | 49 it.pojo.accessedTableNames() in accessedTableNames()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | FieldReadWriteWriter.kt | 196 constructor = fieldParent.pojo.constructor, in <lambda>() 249 scope.builder().addStatement("final $T $L", fieldParent.pojo.typeName, in <lambda>()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | RawQueryTest.java | 146 public void pojo() { in pojo() method in RawQueryTest
|