/frameworks/support/room/rxjava2/src/test/java/androidx/room/ |
D | RxRoomTest.java | 58 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/ |
D | ObservedTableTrackerTest.java | 21 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()
|
D | InvalidationTrackerTest.java | 64 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 {
|
D | BuilderTest_TestDatabase_Impl.java | 35 protected InvalidationTracker createInvalidationTracker() { in createInvalidationTracker()
|
D | SharedSQLiteStatementTest.java | 54 when(mDb.getInvalidationTracker()).thenReturn(mock(InvalidationTracker.class)); in init()
|
/frameworks/support/room/runtime/api_legacy/ |
D | 1.0.0.txt | 13 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();
|
D | 1.1.0.txt | 15 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();
|
D | current.txt | 15 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/ |
D | current.txt | 15 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/ |
D | LastNameAscCustomerDataSource.java | 21 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/ |
D | ComplexDatabase.java | 4 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/ |
D | LimitOffsetDataSource.java | 25 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/ |
D | InvalidationTrackerTrojan.java | 23 public static int countObservers(InvalidationTracker tracker) { in countObservers()
|
/frameworks/support/room/rxjava2/src/main/java/androidx/room/ |
D | RxRoom.java | 70 final InvalidationTracker.Observer observer = new InvalidationTracker.Observer( in createFlowable()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | InvalidationTest.java | 31 import androidx.room.InvalidationTracker; 134 private static class LoggingObserver extends InvalidationTracker.Observer {
|
D | WriteAheadLoggingTest.java | 41 import androidx.room.InvalidationTracker; 205 new InvalidationTracker.Observer("User") { in observeInvalidationInBackground() 227 mDatabase.getInvalidationTracker().addObserver(new InvalidationTracker.Observer("User") { in invalidation()
|
D | ClearAllTablesTest.java | 41 import androidx.room.InvalidationTracker; 177 mDatabase.getInvalidationTracker().addObserver(new InvalidationTracker.Observer("Parent") { in observer()
|
/frameworks/support/room/runtime/src/main/java/androidx/room/ |
D | InvalidationTracker.java | 63 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()
|
D | RoomDatabase.java | 74 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/ |
D | ComplexDao.java | 7 import androidx.room.InvalidationTracker.Observer;
|
/frameworks/support/jetifier/jetifier/core/src/main/resources/ |
D | default.generated.config | 2297 "android/arch/persistence/room/InvalidationTracker": "androidx/room/InvalidationTracker",
|