/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/ |
D | SystemJobServiceTest.java | 51 import androidx.work.impl.WorkManagerImpl; 65 @SdkSuppress(minSdkVersion = WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) 71 private WorkManagerImpl mWorkManagerImpl; 78 if (Build.VERSION.SDK_INT < WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) { in setUp() 103 mWorkManagerImpl = new WorkManagerImpl(context, configuration); in setUp() 104 WorkManagerImpl.setDelegate(mWorkManagerImpl); in setUp() 114 if (Build.VERSION.SDK_INT < WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) { in tearDown() 119 WorkManagerImpl.setDelegate(null); in tearDown() 127 if (Build.VERSION.SDK_INT < WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) { in testOnStopJob_ResetsWorkStatus() 153 if (Build.VERSION.SDK_INT < WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) { in testOnStopJob_ReschedulesWhenNotCancelled() [all …]
|
D | SystemJobSchedulerTest.java | 48 import androidx.work.impl.WorkManagerImpl; 61 @SdkSuppress(minSdkVersion = WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) 66 private WorkManagerImpl mWorkManager; 78 mWorkManager = mock(WorkManagerImpl.class); in setUp()
|
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/ |
D | WorkManagerTestInitHelper.java | 24 import androidx.work.impl.WorkManagerImpl; 62 WorkManagerImpl workManager = new TestWorkManagerImpl(context, configuration) { in initializeTestWorkManager() 75 WorkManagerImpl.setDelegate(workManager); in initializeTestWorkManager() 83 WorkManagerImpl workManager = WorkManagerImpl.getInstance(); in getTestDriver() 87 return ((TestWorkManagerImpl) WorkManagerImpl.getInstance()); in getTestDriver()
|
D | TestScheduler.java | 27 import androidx.work.impl.WorkManagerImpl; 74 WorkManagerImpl.getInstance().stopWork(workSpecId); in cancel() 122 WorkManagerImpl.getInstance() in scheduleInternal()
|
D | TestWorkManagerImpl.java | 26 import androidx.work.impl.WorkManagerImpl; 37 abstract class TestWorkManagerImpl extends WorkManagerImpl implements TestDriver {
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/ |
D | ForceStopRunnable.java | 36 import androidx.work.impl.WorkManagerImpl; 61 private final WorkManagerImpl mWorkManager; 63 public ForceStopRunnable(@NonNull Context context, @NonNull WorkManagerImpl workManager) { in ForceStopRunnable() 105 return Build.VERSION.SDK_INT >= WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL in shouldCancelPersistedJobs() 135 @TargetApi(WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) 170 WorkManagerImpl workManager = WorkManagerImpl.getInstance(); in onReceive()
|
D | CancelWorkRunnable.java | 32 import androidx.work.impl.WorkManagerImpl; 47 void cancel(WorkManagerImpl workManagerImpl, String workSpecId) { in cancel() 58 void reschedulePendingWorkers(WorkManagerImpl workManagerImpl) { in reschedulePendingWorkers() 90 @NonNull final WorkManagerImpl workManagerImpl) { in forId() 110 @NonNull final WorkManagerImpl workManagerImpl) { 141 @NonNull final WorkManagerImpl workManagerImpl) { 169 public static Runnable forAll(@NonNull final WorkManagerImpl workManagerImpl) {
|
D | PruneWorkRunnable.java | 22 import androidx.work.impl.WorkManagerImpl; 35 private WorkManagerImpl mWorkManagerImpl; 37 public PruneWorkRunnable(WorkManagerImpl workManagerImpl) { in PruneWorkRunnable()
|
D | StartWorkRunnable.java | 22 import androidx.work.impl.WorkManagerImpl; 34 private WorkManagerImpl mWorkManagerImpl; 39 WorkManagerImpl workManagerImpl, in StartWorkRunnable()
|
D | StopWorkRunnable.java | 24 import androidx.work.impl.WorkManagerImpl; 37 private WorkManagerImpl mWorkManagerImpl; 40 public StopWorkRunnable(WorkManagerImpl workManagerImpl, String workSpecId) { in StopWorkRunnable()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/ |
D | SchedulersTest.java | 47 private WorkManagerImpl mWorkManager; 51 mWorkManager = mock(WorkManagerImpl.class); in setUp() 56 @SdkSuppress(minSdkVersion = WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) 65 @SdkSuppress(maxSdkVersion = WorkManagerImpl.MAX_PRE_JOB_SCHEDULER_API_LEVEL) 76 if (Build.VERSION.SDK_INT >= WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) { in assertServicesEnabled()
|
D | WorkManagerImplLargeExecutorTest.java | 78 private WorkManagerImpl mWorkManagerImpl; 111 mWorkManagerImpl = new WorkManagerImpl(context, configuration, true); in setUp() 113 WorkManagerImpl.setDelegate(mWorkManagerImpl); in setUp() 118 WorkManagerImpl.setDelegate(null); in tearDown()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/worker/ |
D | CheckLimitsWorker.java | 26 import androidx.work.impl.WorkManagerImpl; 43 WorkManagerImpl workManager = WorkManagerImpl.getInstance(); in doWork()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/ |
D | SystemJobScheduler.java | 31 import androidx.work.impl.WorkManagerImpl; 44 @TargetApi(WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) 50 private final WorkManagerImpl mWorkManager; 54 public SystemJobScheduler(@NonNull Context context, @NonNull WorkManagerImpl workManager) { in SystemJobScheduler() 64 WorkManagerImpl workManager, in SystemJobScheduler()
|
D | SystemJobService.java | 31 import androidx.work.impl.WorkManagerImpl; 42 @TargetApi(WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) 45 private WorkManagerImpl mWorkManagerImpl; 51 mWorkManagerImpl = WorkManagerImpl.getInstance(); in onCreate()
|
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/ |
D | FirebaseDelayedJobAlarmReceiver.java | 27 import androidx.work.impl.WorkManagerImpl; 44 final WorkManagerImpl workManagerImpl = WorkManagerImpl.getInstance(); in onReceive()
|
D | FirebaseJobService.java | 25 import androidx.work.impl.WorkManagerImpl; 41 private WorkManagerImpl mWorkManagerImpl; 47 mWorkManagerImpl = WorkManagerImpl.getInstance(); in onCreate()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/ |
D | GreedyScheduler.java | 29 import androidx.work.impl.WorkManagerImpl; 49 private WorkManagerImpl mWorkManagerImpl; 53 public GreedyScheduler(Context context, WorkManagerImpl workManagerImpl) { in GreedyScheduler() 59 public GreedyScheduler(WorkManagerImpl workManagerImpl, in GreedyScheduler()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcher.java | 34 import androidx.work.impl.WorkManagerImpl; 59 private final WorkManagerImpl mWorkManager; 76 @Nullable WorkManagerImpl workManager) { in SystemAlarmDispatcher() 81 mWorkManager = workManager != null ? workManager : WorkManagerImpl.getInstance(); in SystemAlarmDispatcher() 166 WorkManagerImpl getWorkManager() { in getWorkManager()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
D | WorkManager.java | 24 import androidx.work.impl.WorkManagerImpl; 127 return WorkManagerImpl.getInstance(); in getInstance() 140 WorkManagerImpl.initialize(context, configuration); in initialize()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | WorkContinuationImpl.java | 55 private final WorkManagerImpl mWorkManagerImpl; 65 public WorkManagerImpl getWorkManagerImpl() { in getWorkManagerImpl() 108 @NonNull WorkManagerImpl workManagerImpl, in WorkContinuationImpl() 119 @NonNull WorkManagerImpl workManagerImpl, in WorkContinuationImpl() 126 WorkContinuationImpl(@NonNull WorkManagerImpl workManagerImpl, in WorkContinuationImpl()
|
D | WorkManagerImpl.java | 63 public class WorkManagerImpl extends WorkManager implements SynchronousWorkManager { class 76 private static WorkManagerImpl sDelegatedInstance = null; 77 private static WorkManagerImpl sDefaultInstance = null; 87 public static void setDelegate(WorkManagerImpl delegate) { in setDelegate() 100 public static WorkManagerImpl getInstance() { in getInstance() 126 sDefaultInstance = new WorkManagerImpl(context, configuration); in initialize() 141 public WorkManagerImpl( in WorkManagerImpl() method in WorkManagerImpl 158 public WorkManagerImpl( in WorkManagerImpl() method in WorkManagerImpl
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/ |
D | WorkManagerTest.java | 24 import androidx.work.impl.WorkManagerImpl; 36 if (Build.VERSION.SDK_INT >= WorkManagerImpl.MIN_JOB_SCHEDULER_API_LEVEL) { in clearJobs()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/greedy/ |
D | GreedySchedulerTest.java | 31 import androidx.work.impl.WorkManagerImpl; 50 private WorkManagerImpl mWorkManagerImpl; 56 mWorkManagerImpl = mock(WorkManagerImpl.class); in setUp()
|
/frameworks/support/work/workmanager-test/src/androidTest/java/androidx/work/test/ |
D | WorkManagerInitHelperTest.java | 29 import androidx.work.impl.WorkManagerImpl; 50 WorkManagerImpl.setDelegate(null); in tearDown()
|