Home
last modified time | relevance | path

Searched refs:InvalidationTracker (Results 1 – 21 of 21) sorted by relevance

/frameworks/support/room/rxjava2/src/test/java/androidx/room/
DRxRoomTest.java58 private InvalidationTracker mInvalidationTracker;
59 private List<InvalidationTracker.Observer> mAddedObservers = new ArrayList<>();
64 mInvalidationTracker = mock(InvalidationTracker.class); in init()
69 mAddedObservers.add((InvalidationTracker.Observer) invocation.getArguments()[0]); 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()
83 InvalidationTracker.Observer observer = mAddedObservers.get(0); in basicAddRemove()
90 .addObserver(any(InvalidationTracker.Observer.class)); in basicAddRemove()
93 InvalidationTracker.Observer observer2 = mAddedObservers.get(1); in basicAddRemove()
[all …]
/frameworks/support/room/runtime/src/test/java/androidx/room/
DObservedTableTrackerTest.java21 import static androidx.room.InvalidationTracker.ObservedTableTracker.ADD;
22 import static androidx.room.InvalidationTracker.ObservedTableTracker.NO_OP;
23 import static androidx.room.InvalidationTracker.ObservedTableTracker.REMOVE;
39 private InvalidationTracker.ObservedTableTracker mTracker;
43 mTracker = new InvalidationTracker.ObservedTableTracker(TABLE_COUNT); in setup()
DInvalidationTrackerTest.java64 private InvalidationTracker mTracker;
77 doReturn(statement).when(sqliteDb).compileStatement(eq(InvalidationTracker.CLEANUP_SQL)); in setup()
85 mTracker = new InvalidationTracker(mRoomDatabase, "a", "B", "i"); in setup()
108 InvalidationTracker.Observer observer = new InvalidationTracker.Observer("a") { in testWeak()
127 InvalidationTracker.Observer observer = new LatchObserver(1, "a"); in addRemoveObserver()
142 InvalidationTracker.Observer observer = new LatchObserver(1, "x"); in badObserver()
255 Mockito.eq(InvalidationTracker.SELECT_UPDATED_TABLES_SQL), in closedDbAfterOpen()
270 Mockito.eq(InvalidationTracker.SELECT_UPDATED_TABLES_SQL), in setVersions()
302 static class LatchObserver extends InvalidationTracker.Observer {
DBuilderTest_TestDatabase_Impl.java35 protected InvalidationTracker createInvalidationTracker() { in createInvalidationTracker()
DSharedSQLiteStatementTest.java54 when(mDb.getInvalidationTracker()).thenReturn(mock(InvalidationTracker.class)); in init()
/frameworks/support/room/runtime/api_legacy/
D1.0.0.txt13 public class InvalidationTracker {
14 method public void addObserver(android.arch.persistence.room.InvalidationTracker.Observer);
16 method public void removeObserver(android.arch.persistence.room.InvalidationTracker.Observer);
19 public static abstract class InvalidationTracker.Observer {
20 ctor protected InvalidationTracker.Observer(java.lang.String, java.lang.String...);
21 ctor public InvalidationTracker.Observer(java.lang.String[]);
37 …method protected abstract android.arch.persistence.room.InvalidationTracker createInvalidationTrac…
40 method public android.arch.persistence.room.InvalidationTracker getInvalidationTracker();
D1.1.0.txt15 public class InvalidationTracker {
16 method public void addObserver(android.arch.persistence.room.InvalidationTracker.Observer);
18 method public void removeObserver(android.arch.persistence.room.InvalidationTracker.Observer);
21 public static abstract class InvalidationTracker.Observer {
22 ctor protected InvalidationTracker.Observer(java.lang.String, java.lang.String...);
23 ctor public InvalidationTracker.Observer(java.lang.String[]);
40 …method protected abstract android.arch.persistence.room.InvalidationTracker createInvalidationTrac…
43 method public android.arch.persistence.room.InvalidationTracker getInvalidationTracker();
Dcurrent.txt15 public class InvalidationTracker {
16 method public void addObserver(android.arch.persistence.room.InvalidationTracker.Observer);
18 method public void removeObserver(android.arch.persistence.room.InvalidationTracker.Observer);
21 public static abstract class InvalidationTracker.Observer {
22 ctor protected InvalidationTracker.Observer(java.lang.String, java.lang.String...);
23 ctor public InvalidationTracker.Observer(java.lang.String[]);
40 …method protected abstract android.arch.persistence.room.InvalidationTracker createInvalidationTrac…
43 method public android.arch.persistence.room.InvalidationTracker getInvalidationTracker();
/frameworks/support/room/runtime/api/
Dcurrent.txt15 public class InvalidationTracker {
16 method public void addObserver(androidx.room.InvalidationTracker.Observer);
18 method public void removeObserver(androidx.room.InvalidationTracker.Observer);
21 public static abstract class InvalidationTracker.Observer {
22 ctor protected InvalidationTracker.Observer(java.lang.String, java.lang.String...);
23 ctor public InvalidationTracker.Observer(java.lang.String[]);
40 method protected abstract androidx.room.InvalidationTracker createInvalidationTracker();
43 method public androidx.room.InvalidationTracker getInvalidationTracker();
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/database/
DLastNameAscCustomerDataSource.java21 import androidx.room.InvalidationTracker;
33 private final InvalidationTracker.Observer mObserver;
51 mObserver = new InvalidationTracker.Observer("customer") {
/frameworks/support/room/compiler/src/test/data/databasewriter/output/
DComplexDatabase.java4 import androidx.room.InvalidationTracker;
90 protected InvalidationTracker createInvalidationTracker() { in createInvalidationTracker()
91 return new InvalidationTracker(this, "User"); in createInvalidationTracker()
/frameworks/support/room/runtime/src/main/java/androidx/room/paging/
DLimitOffsetDataSource.java25 import androidx.room.InvalidationTracker;
54 private final InvalidationTracker.Observer mObserver;
69 mObserver = new InvalidationTracker.Observer(tables) { in LimitOffsetDataSource()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/
DInvalidationTrackerTrojan.java23 public static int countObservers(InvalidationTracker tracker) { in countObservers()
/frameworks/support/room/rxjava2/src/main/java/androidx/room/
DRxRoom.java70 final InvalidationTracker.Observer observer = new InvalidationTracker.Observer( in createFlowable()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DInvalidationTest.java31 import androidx.room.InvalidationTracker;
134 private static class LoggingObserver extends InvalidationTracker.Observer {
DWriteAheadLoggingTest.java41 import androidx.room.InvalidationTracker;
205 new InvalidationTracker.Observer("User") { in observeInvalidationInBackground()
227 mDatabase.getInvalidationTracker().addObserver(new InvalidationTracker.Observer("User") { in invalidation()
DClearAllTablesTest.java41 import androidx.room.InvalidationTracker;
177 mDatabase.getInvalidationTracker().addObserver(new InvalidationTracker.Observer("Parent") { in observer()
/frameworks/support/room/runtime/src/main/java/androidx/room/
DInvalidationTracker.java63 public class InvalidationTracker { class
127 public InvalidationTracker(RoomDatabase database, String... tableNames) { in InvalidationTracker() method in InvalidationTracker
673 final InvalidationTracker mTracker;
676 WeakObserver(InvalidationTracker tracker, Observer delegate) { in WeakObserver()
DRoomDatabase.java74 private final InvalidationTracker mInvalidationTracker;
151 protected abstract InvalidationTracker createInvalidationTracker(); in createInvalidationTracker()
336 public InvalidationTracker getInvalidationTracker() { in getInvalidationTracker()
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
DComplexDao.java7 import androidx.room.InvalidationTracker.Observer;
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.generated.config2297 "android/arch/persistence/room/InvalidationTracker": "androidx/room/InvalidationTracker",