Searched refs:mWorkDatabase (Results 1 – 4 of 4) sorted by relevance
68 private WorkDatabase mWorkDatabase; field in WorkerWrapper84 mWorkDatabase = builder.mWorkDatabase; in WorkerWrapper()85 mWorkSpecDao = mWorkDatabase.workSpecDao(); in WorkerWrapper()86 mDependencyDao = mWorkDatabase.dependencyDao(); in WorkerWrapper()87 mWorkTagDao = mWorkDatabase.workTagDao(); in WorkerWrapper()163 mWorkDatabase.beginTransaction(); in run()177 mWorkDatabase.setTransactionSuccessful(); in run()180 mWorkDatabase.endTransaction(); in run()272 mWorkDatabase.beginTransaction(); in trySetRunning()278 mWorkDatabase.setTransactionSuccessful(); in trySetRunning()[all …]
70 private WorkDatabase mWorkDatabase; field in WorkManagerImpl166 mWorkDatabase = WorkDatabase.create(context, useTestDatabase); in WorkManagerImpl()171 mWorkDatabase, in WorkManagerImpl()195 return mWorkDatabase; in getWorkDatabase()396 WorkSpecDao dao = mWorkDatabase.workSpecDao(); in getStatusById()417 mWorkDatabase.workSpecDao().getWorkStatusPojoForId(id.toString());427 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();436 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();443 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();452 WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();[all …]
44 private WorkDatabase mWorkDatabase; field in Processor61 mWorkDatabase = workDatabase; in Processor()95 new WorkerWrapper.Builder(mAppContext, mConfiguration, mWorkDatabase, id) in startWork()
49 private WorkDatabase mWorkDatabase; field in ForceStopRunnableTest58 mWorkDatabase = mock(WorkDatabase.class); in setUp()61 when(mWorkManager.getWorkDatabase()).thenReturn(mWorkDatabase); in setUp()62 when(mWorkDatabase.workSpecDao()).thenReturn(mWorkSpecDao); in setUp()