Home
last modified time | relevance | path

Searched refs:mInvalidationTracker (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/room/rxjava2/src/test/java/androidx/room/
DRxRoomTest.java58 private InvalidationTracker mInvalidationTracker; field in RxRoomTest
64 mInvalidationTracker = mock(InvalidationTracker.class); in init()
65 when(mDatabase.getInvalidationTracker()).thenReturn(mInvalidationTracker); in init()
72 }).when(mInvalidationTracker).addObserver(any(InvalidationTracker.Observer.class)); in init()
78 verify(mInvalidationTracker, never()).addObserver(any(InvalidationTracker.Observer.class)); in basicAddRemove()
80 verify(mInvalidationTracker).addObserver(any(InvalidationTracker.Observer.class)); in basicAddRemove()
86 verify(mInvalidationTracker).removeObserver(observer); in basicAddRemove()
89 verify(mInvalidationTracker, times(2)) in basicAddRemove()
95 verify(mInvalidationTracker).removeObserver(observer2); in basicAddRemove()
/frameworks/support/room/runtime/src/main/java/androidx/room/
DRoomDatabase.java74 private final InvalidationTracker mInvalidationTracker; field in RoomDatabase
101 mInvalidationTracker = createInvalidationTracker(); in RoomDatabase()
254 mInvalidationTracker.syncTriggers(database); in beginTransaction()
266 mInvalidationTracker.refreshVersionsAsync(); in endTransaction()
324 mInvalidationTracker.internalInit(db); in internalInitInvalidationTracker()
337 return mInvalidationTracker; in getInvalidationTracker()