Home
last modified time | relevance | path

Searched refs:tableIds (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/room/runtime/src/main/java/androidx/room/
DInvalidationTracker.java227 int[] tableIds = new int[tableNames.length]; in addObserver() local
237 tableIds[i] = tableId; in addObserver()
240 ObserverWrapper wrapper = new ObserverWrapper(observer, tableIds, tableNames, versions); in addObserver()
245 if (currentObserver == null && mObservedTableTracker.onAdded(tableIds)) { in addObserver()
478 ObserverWrapper(Observer observer, int[] tableIds, String[] tableNames, long[] versions) { in ObserverWrapper() argument
480 mTableIds = tableIds; in ObserverWrapper()
483 if (tableIds.length == 1) { in ObserverWrapper()
595 boolean onAdded(int... tableIds) { in onAdded() argument
598 for (int tableId : tableIds) { in onAdded()
613 boolean onRemoved(int... tableIds) { in onRemoved() argument
[all …]
/frameworks/support/room/runtime/src/test/java/androidx/room/
DObservedTableTrackerTest.java94 private void initState(int... tableIds) { in initState() argument
95 mTracker.onAdded(tableIds); in initState()
DInvalidationTrackerTest.java100 public void tableIds() { in tableIds() method in InvalidationTrackerTest