Home
last modified time | relevance | path

Searched refs:onConflict (Results 1 – 22 of 22) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DUpdateMethodProcessor.kt39 val onConflict = OnConflictProcessor.extractFrom(annotation) in process() constant
40 context.checker.check(onConflict <= IGNORE && onConflict >= REPLACE, in process()
59 onConflictStrategy = onConflict, in process()
DInsertionMethodProcessor.kt46 val onConflict = OnConflictProcessor.extractFrom(annotation) in process() constant
47 context.checker.check(onConflict <= IGNORE && onConflict >= REPLACE, in process()
82 onConflict = onConflict, in process()
DOnConflictProcessor.kt45 fun onConflictText(@OnConflictStrategy onConflict: Int): String { in onConflictText()
46 return when (onConflict) { in onConflictText()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
DEntityInsertionAdapterWriter.kt34 class EntityInsertionAdapterWriter(val entity: Entity, val onConflict: String) { in <lambda>() constant in androidx.room.writer.EntityInsertionAdapterWriter
62 "INSERT OR $onConflict INTO `${entity.tableName}`(" + in <lambda>()
DEntityUpdateAdapterWriter.kt34 class EntityUpdateAdapterWriter(val entity: Entity, val onConflict: String) { in <lambda>() constant in androidx.room.writer.EntityUpdateAdapterWriter
45 val query = "UPDATE OR $onConflict `${entity.tableName}` SET " + in <lambda>()
DDaoWriter.kt342 val onConflict = OnConflictProcessor.onConflictText(insertionMethod.onConflict) in <lambda>() constant
346 val spec = getOrCreateField(InsertionMethodField(it.value, onConflict)) in <lambda>()
347 val impl = EntityInsertionAdapterWriter(it.value, onConflict) in <lambda>()
422 val onConflict = OnConflictProcessor.onConflictText(update.onConflictStrategy) in <lambda>() constant
423 EntityUpdateAdapterWriter(entity, onConflict) in <lambda>()
/frameworks/support/room/common/src/main/java/androidx/room/
DUpdate.java39 int onConflict() default OnConflictStrategy.ABORT; in onConflict() method
DInsert.java58 int onConflict() default OnConflictStrategy.ABORT; in onConflict() method
/frameworks/support/room/compiler/src/test/data/daoWriter/input/
DWriterDao.java27 @Insert(onConflict=OnConflictStrategy.REPLACE)
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
DWorkNameDao.java38 @Insert(onConflict = IGNORE)
DWorkTagDao.java38 @Insert(onConflict = IGNORE)
DSystemIdInfoDao.java37 @Insert(onConflict = REPLACE)
DDependencyDao.java37 @Insert(onConflict = IGNORE)
DWorkSpecDao.java46 @Insert(onConflict = IGNORE)
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/dao/
DBaseDao.kt26 @Insert(onConflict = OnConflictStrategy.REPLACE)
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/
DSchoolDao.java32 @Insert(onConflict = OnConflictStrategy.REPLACE)
DPetDao.java32 @Insert(onConflict = OnConflictStrategy.REPLACE)
DUserDao.java74 @Insert(onConflict = OnConflictStrategy.REPLACE)
/frameworks/support/room/integration-tests/kotlintestapp/src/main/java/androidx/room/integration/kotlintestapp/dao/
DDependencyDao.kt47 @Insert(onConflict = OnConflictStrategy.REPLACE)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
DInsertionMethod.kt28 @OnConflictStrategy val onConflict: Int, constant in androidx.room.vo.InsertionMethod
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DInsertionMethodProcessorTest.kt276 assertThat(insertion.onConflict, `is`(OnConflictStrategy.ABORT)) in <lambda>()
304 assertThat(insertion.onConflict, `is`(pair.second)) in <lambda>()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DJournalDbPostMigrationTest.java104 @Insert(onConflict = OnConflictStrategy.REPLACE)