Searched refs:SystemAlarmDispatcher (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcher.java | 49 public class SystemAlarmDispatcher implements ExecutionListener { class 68 SystemAlarmDispatcher(@NonNull Context context) { in SystemAlarmDispatcher() method in SystemAlarmDispatcher 73 SystemAlarmDispatcher( in SystemAlarmDispatcher() method in SystemAlarmDispatcher 222 SystemAlarmDispatcher.this); in processCommand() 253 new CheckForCompletionRunnable(SystemAlarmDispatcher.this)); in processCommand() 286 private final SystemAlarmDispatcher mDispatcher; 288 CheckForCompletionRunnable(@NonNull SystemAlarmDispatcher dispatcher) { in CheckForCompletionRunnable() 302 private final SystemAlarmDispatcher mDispatcher; 306 AddRunnable(@NonNull SystemAlarmDispatcher dispatcher, in AddRunnable()
|
D | CommandHandler.java | 159 @NonNull SystemAlarmDispatcher dispatcher) { in onHandleIntent() 191 @NonNull SystemAlarmDispatcher dispatcher) { in handleScheduleWorkIntent() 220 new SystemAlarmDispatcher.AddRunnable( in handleScheduleWorkIntent() 230 @NonNull SystemAlarmDispatcher dispatcher) { in handleDelayMet() 245 @NonNull SystemAlarmDispatcher dispatcher) { in handleStopWork() 260 @NonNull SystemAlarmDispatcher dispatcher) { in handleConstraintsChanged() 273 @NonNull SystemAlarmDispatcher dispatcher) { in handleReschedule() 282 @NonNull SystemAlarmDispatcher dispatcher) { in handleExecutionCompleted() 293 new SystemAlarmDispatcher.CheckForCompletionRunnable(dispatcher)); in handleExecutionCompleted()
|
D | SystemAlarmService.java | 33 implements SystemAlarmDispatcher.CommandsCompletedListener { 37 private SystemAlarmDispatcher mDispatcher; 42 mDispatcher = new SystemAlarmDispatcher(this); in onCreate()
|
D | DelayMetCommandHandler.java | 54 private final SystemAlarmDispatcher mDispatcher; 66 @NonNull SystemAlarmDispatcher dispatcher) { in DelayMetCommandHandler() 118 new SystemAlarmDispatcher.AddRunnable(mDispatcher, intent, mStartId)); in onExecuted() 171 new SystemAlarmDispatcher.AddRunnable(mDispatcher, stopWork, mStartId)); in stopWork() 181 new SystemAlarmDispatcher.AddRunnable(mDispatcher, reschedule, in stopWork()
|
D | ConstraintsCommandHandler.java | 45 private final SystemAlarmDispatcher mDispatcher; 52 @NonNull SystemAlarmDispatcher dispatcher) { in ConstraintsCommandHandler() 101 new SystemAlarmDispatcher.AddRunnable(mDispatcher, intent, mStartId)); in handleConstraintsChanged()
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcherTest.java | 91 private SystemAlarmDispatcher.CommandsCompletedListener mCompletedListener; 106 mCompletedListener = new SystemAlarmDispatcher.CommandsCompletedListener() { in setUp() 168 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, intent, START_ID)); in testSchedule() 182 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, intent, START_ID)); in testDelayMet_success() 203 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, delayMet, START_ID)); in testDelayMet_withStop() 206 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, stopWork, START_ID)); in testDelayMet_withStop() 228 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, scheduleWork, START_ID)); in testDelayMet_withStopWhenCancelled() 231 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, stopWork, START_ID)); in testDelayMet_withStopWhenCancelled() 258 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, scheduleWork, START_ID)); in testSchedule_withConstraints() 276 new SystemAlarmDispatcher.AddRunnable(mSpyDispatcher, constraintChanged, START_ID)); in testConstraintsChanged_withNoConstraints() [all …]
|