/frameworks/support/room/runtime/src/main/java/androidx/room/util/ |
D | TableInfo.java | 63 public final Set<ForeignKey> foreignKeys; field in TableInfo 73 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys, in TableInfo() argument 77 this.foreignKeys = Collections.unmodifiableSet(foreignKeys); in TableInfo() 85 public TableInfo(String name, Map<String, Column> columns, Set<ForeignKey> foreignKeys) { in TableInfo() argument 86 this(name, columns, foreignKeys, Collections.<Index>emptySet()); in TableInfo() 100 if (foreignKeys != null ? !foreignKeys.equals(tableInfo.foreignKeys) in equals() 101 : tableInfo.foreignKeys != null) { in equals() 116 result = 31 * result + (foreignKeys != null ? foreignKeys.hashCode() : 0); in hashCode() 126 + ", foreignKeys=" + foreignKeys in toString() 141 Set<ForeignKey> foreignKeys = readForeignKeys(database, tableName); in read() local [all …]
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
D | Entity.kt | 29 val foreignKeys: List<ForeignKey>, in <lambda>() constant 44 identityKey.appendSorted(foreignKeys) in <lambda>() 57 return foreignKeys.map { it.databaseDefinition() } in <lambda>() 70 return foreignKeys.any { in <lambda>() 83 foreignKeys.map { it.toBundle() }) in <lambda>()
|
/frameworks/support/room/runtime/src/androidTest/java/androidx/room/migration/ |
D | TableInfoTest.java | 122 assertThat(info.foreignKeys.size(), is(1)); in foreignKey() 123 final TableInfo.ForeignKey foreignKey = info.foreignKeys.iterator().next(); in foreignKey() 140 assertThat(info.foreignKeys.size(), is(2)); in multipleForeignKeys() 153 assertThat(info.foreignKeys, equalTo(expected)); in multipleForeignKeys() 164 assertThat(info.foreignKeys.size(), is(1)); in compositeForeignKey() 172 assertThat(info.foreignKeys.iterator().next(), is(expected)); in compositeForeignKey()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/vo/ |
D | EntityTest.kt | 72 foreignKeys: List<ForeignKey> = emptyList()): Entity { in createEntity() 81 foreignKeys = foreignKeys, in createEntity()
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
D | EntityBundle.java | 74 List<ForeignKeyBundle> foreignKeys) { in EntityBundle() argument 80 mForeignKeys = foreignKeys; in EntityBundle()
|
/frameworks/support/room/common/src/main/java/androidx/room/ |
D | Entity.java | 122 ForeignKey[] foreignKeys() default {}; in foreignKeys() method
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | ForeignKeyTest.java | 131 @Entity(foreignKeys = { 147 @Entity(foreignKeys = { 163 @Entity(foreignKeys = { 180 @Entity(foreignKeys = {
|
D | RelationWithReservedKeywordTest.java | 140 foreignKeys = @ForeignKey(
|
D | ClearAllTablesTest.java | 82 @Entity(foreignKeys = {
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/ |
D | Book.kt | 24 @Entity(foreignKeys = arrayOf(
|
D | BookAuthor.kt | 22 @Entity(foreignKeys = arrayOf(
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | TableInfoValidationWriter.kt | 60 foreignKeySetType, entity.foreignKeys.size) in <lambda>() 61 entity.foreignKeys.forEach { in <lambda>()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/ |
D | WorkName.java | 32 @Entity(foreignKeys = {
|
D | WorkTag.java | 32 @Entity(foreignKeys = {
|
D | Dependency.java | 32 @Entity(foreignKeys = {
|
D | SystemIdInfo.java | 31 @Entity(foreignKeys = {
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/ |
D | MigrationDbKotlin.kt | 63 @Entity(foreignKeys = arrayOf(ForeignKey(entity = Entity1::class,
|
D | MigrationKotlinTest.kt | 226 assertThat(info.foreignKeys.size, `is`(1)) in newTableWithForeignKey()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
D | MigrationDb.java | 71 @Entity(foreignKeys = {
|
D | MigrationTest.java | 228 assertThat(info.foreignKeys.size(), is(1)); in newTableWithForeignKey()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | DatabaseProcessor.kt | 103 val hasForeignKeys = entities.any { it.foreignKeys.isNotEmpty() } in <lambda>() 119 entity.foreignKeys.forEach foreignKeyLoop@ { foreignKey -> in <lambda>()
|
D | EntityProcessor.kt | 144 foreignKeys = entityForeignKeys, in <lambda>()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/verifier/ |
D | DatabaseVerifierTest.kt | 224 foreignKeys = emptyList(), in <lambda>()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | EntityProcessorTest.kt | 1641 assertThat(entity.foreignKeys.size, `is`(1)) in <lambda>() 1642 val fKey = entity.foreignKeys.first() in <lambda>()
|