Home
last modified time | relevance | path

Searched refs:tableNames (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/
DObservableQueryResultBinderProvider.kt35 tableNames: Set<String>): QueryResultBinder in extractTypeArg()
40 val tableNames = ((adapter?.accessedTableNames() ?: emptyList()) + in extractTypeArg() constant
42 if (tableNames.isEmpty()) { in extractTypeArg()
48 tableNames = tableNames in extractTypeArg()
/frameworks/support/room/runtime/src/main/java/androidx/room/
DInvalidationTracker.java127 public InvalidationTracker(RoomDatabase database, String... tableNames) { in InvalidationTracker() argument
129 mObservedTableTracker = new ObservedTableTracker(tableNames.length); in InvalidationTracker()
131 final int size = tableNames.length; in InvalidationTracker()
134 final String tableName = tableNames[id].toLowerCase(Locale.US); in InvalidationTracker()
138 mTableVersions = new long[tableNames.length]; in InvalidationTracker()
226 final String[] tableNames = observer.mTables; in addObserver() local
227 int[] tableIds = new int[tableNames.length]; in addObserver()
228 final int size = tableNames.length; in addObserver()
229 long[] versions = new long[tableNames.length]; in addObserver()
233 Integer tableId = mTableIdLookup.get(tableNames[i].toLowerCase(Locale.US)); in addObserver()
[all …]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/
DLiveDataQueryResultBinderProvider.kt38 tableNames: Set<String>): QueryResultBinder { in extractTypeArg()
41 tableNames = tableNames, in extractTypeArg()
DFlowableQueryResultBinderProvider.kt45 tableNames: Set<String>): QueryResultBinder { in extractTypeArg()
48 queryTableNames = tableNames, in extractTypeArg()
DDataSourceFactoryQueryResultBinderProvider.kt46 val tableNames = ((adapter?.accessedTableNames() ?: emptyList()) in provide() constant
48 val countedBinder = PositionalDataSourceQueryResultBinder(adapter, tableNames) in provide()
DDataSourceQueryResultBinderProvider.kt49 val tableNames = ((listAdapter?.accessedTableNames() ?: emptyList()) in provide() constant
51 return PositionalDataSourceQueryResultBinder(listAdapter, tableNames) in provide()
/frameworks/support/room/rxjava2/src/main/java/androidx/room/
DRxRoom.java66 final String... tableNames) { in createFlowable() argument
71 tableNames) { in createFlowable()
105 final String[] tableNames, final Callable<T> callable) {
107 return createFlowable(database, tableNames).observeOn(sAppToolkitIOScheduler)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/
DSqlParser.kt40 private val tableNames = mutableSetOf<Table>() constant
90 tables = tableNames, in createParsedQuery()
109 tableNames.add(Table( in visitTable_or_subquery()
181 fun rawQueryForTables(tableNames: Set<String>): ParsedQuery { in rawQueryForTables()
186 tables = tableNames.map { Table(name = it, alias = it) }.toSet(), in rawQueryForTables()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DRawQueryMethodProcessor.kt100 val tableNames = pojo.accessedTableNames() in processObservedTables() constant
102 if (tableNames.isEmpty()) { in processObservedTables()
106 tableNames in processObservedTables()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
DPositionalDataSourceQueryResultBinder.kt36 val tableNames: Set<String>) : QueryResultBinder(listAdapter) { constant in androidx.room.solver.query.result.PositionalDataSourceQueryResultBinder
48 val tableNamesList = tableNames.joinToString("") { ", \"$it\"" } in convertAndReturn()
DLiveDataQueryResultBinder.kt39 class LiveDataQueryResultBinder(val typeArg: TypeMirror, val tableNames: Set<String>, constant in androidx.room.solver.query.result.LiveDataQueryResultBinder
104 val tableNamesList = tableNames.joinToString(",") { "\"$it\"" } in createAnonymousObserver()
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
DQueryMethodProcessorTest.kt473 val tableNames = in <lambda>() constant
475 .positionalDataSourceQueryResultBinder.tableNames in <lambda>()
476 assertEquals(setOf("user"), tableNames) in <lambda>()
494 val tableNames = in <lambda>() constant
496 .positionalDataSourceQueryResultBinder.tableNames in <lambda>()
497 assertEquals(setOf("User", "Book"), tableNames) in <lambda>()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
DDatabaseWriter.kt116 val tableNames = database.entities.joinToString(",") { in <lambda>() constant
119 addStatement("return new $T(this, $L)", RoomTypeNames.INVALIDATION_TRACKER, tableNames) in <lambda>()
/frameworks/support/room/runtime/src/test/java/androidx/room/
DInvalidationTrackerTest.java306 LatchObserver(int count, String... tableNames) { in LatchObserver() argument
307 super(tableNames); in LatchObserver()