Searched refs:CommandHandler (Results 1 – 9 of 9) sorted by relevance
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcherTest.java | 166 final Intent intent = CommandHandler.createScheduleWorkIntent(mContext, workSpecId); in testSchedule() 180 final Intent intent = CommandHandler.createDelayMetIntent(mContext, workSpecId); in testDelayMet_success() 199 final Intent delayMet = CommandHandler.createDelayMetIntent(mContext, workSpecId); in testDelayMet_withStop() 200 final Intent stopWork = CommandHandler.createStopWorkIntent(mContext, workSpecId); in testDelayMet_withStop() 224 final Intent scheduleWork = CommandHandler.createDelayMetIntent(mContext, workSpecId); in testDelayMet_withStopWhenCancelled() 225 final Intent stopWork = CommandHandler.createStopWorkIntent(mContext, workSpecId); in testDelayMet_withStopWhenCancelled() 255 final Intent scheduleWork = CommandHandler.createScheduleWorkIntent(mContext, workSpecId); in testSchedule_withConstraints() 274 final Intent constraintChanged = CommandHandler.createConstraintsChangedIntent(mContext); in testConstraintsChanged_withNoConstraints() 292 final Intent constraintChanged = CommandHandler.createConstraintsChangedIntent(mContext); in testConstraintsChangedMarkedNotScheduled_withNoConstraints() 312 final Intent constraintChanged = CommandHandler.createConstraintsChangedIntent(mContext); in testConstraintsChanged_withConstraint() [all …]
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/ |
D | SystemAlarmDispatcher.java | 60 private final CommandHandler mCommandHandler; 79 mCommandHandler = new CommandHandler(mContext); in SystemAlarmDispatcher() 110 CommandHandler.createExecutionCompletedIntent( in onExecuted() 137 if (CommandHandler.ACTION_CONSTRAINTS_CHANGED.equals(action) in add() 138 && hasIntentWithAction(CommandHandler.ACTION_CONSTRAINTS_CHANGED)) { in add()
|
D | DelayMetCommandHandler.java | 93 .startTimer(mWorkSpecId, CommandHandler.WORK_PROCESSING_TIME_IN_MS, this); in onAllConstraintsMet() 116 Intent intent = CommandHandler.createConstraintsChangedIntent(mContext); in onExecuted() 169 Intent stopWork = CommandHandler.createStopWorkIntent(mContext, mWorkSpecId); in stopWork() 178 Intent reschedule = CommandHandler.createScheduleWorkIntent(mContext, in stopWork()
|
D | SystemAlarmScheduler.java | 53 Intent cancelIntent = CommandHandler.createStopWorkIntent(mContext, workSpecId); in cancel() 63 Intent scheduleIntent = CommandHandler.createScheduleWorkIntent(mContext, workSpec.id); in scheduleWorkSpec()
|
D | Alarms.java | 103 Intent delayMet = CommandHandler.createDelayMetIntent(context, workSpecId); in cancelExactAlarm() 122 Intent delayMet = CommandHandler.createDelayMetIntent(context, workSpecId); in setExactAlarm()
|
D | CommandHandler.java | 43 public class CommandHandler implements ExecutionListener { class 116 CommandHandler(@NonNull Context context) { in CommandHandler() method in CommandHandler 218 Intent constraintsUpdate = CommandHandler.createConstraintsChangedIntent(mContext); in handleScheduleWorkIntent()
|
D | RescheduleReceiver.java | 60 Intent reschedule = CommandHandler.createRescheduleIntent(context); in onReceive()
|
D | ConstraintProxy.java | 36 Intent constraintChangedIntent = CommandHandler.createConstraintsChangedIntent(context); in onReceive()
|
D | ConstraintsCommandHandler.java | 97 Intent intent = CommandHandler.createDelayMetIntent(mContext, workSpecId); in handleConstraintsChanged()
|