Home
last modified time | relevance | path

Searched refs:mWorkConstraintsTracker (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/
DWorkConstraintsTrackerTest.java67 private WorkConstraintsTracker mWorkConstraintsTracker; field in WorkConstraintsTrackerTest
72 mWorkConstraintsTracker = new WorkConstraintsTracker(mCallback, controllers); in setUp()
78 mWorkConstraintsTracker.replace(emptyList); in testReplace()
84 mWorkConstraintsTracker.reset(); in testReset()
90 mWorkConstraintsTracker.onConstraintMet(TEST_WORKSPEC_IDS); in testOnConstraintMet_controllerInvoked()
99 mWorkConstraintsTracker.onConstraintMet(TEST_WORKSPEC_IDS); in testOnConstraintMet_allConstraintsMet()
108 mWorkConstraintsTracker.onConstraintMet(TEST_WORKSPEC_IDS); in testOnConstraintMet_allConstraintsMet_subList()
116 mWorkConstraintsTracker.onConstraintMet(TEST_WORKSPEC_IDS); in testOnConstraintMet_allConstraintsNotMet()
122 mWorkConstraintsTracker.onConstraintNotMet(TEST_WORKSPEC_IDS); in testOnConstraintNotMet()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DConstraintsCommandHandler.java47 private final WorkConstraintsTracker mWorkConstraintsTracker; field in ConstraintsCommandHandler
57 mWorkConstraintsTracker = new WorkConstraintsTracker(mContext, null); in ConstraintsCommandHandler()
85 mWorkConstraintsTracker.replace(eligibleWorkSpecs); in handleConstraintsChanged()
90 || mWorkConstraintsTracker.areAllConstraintsMet(workSpecId)) { in handleConstraintsChanged()
103 mWorkConstraintsTracker.reset(); in handleConstraintsChanged()
DDelayMetCommandHandler.java55 private final WorkConstraintsTracker mWorkConstraintsTracker; field in DelayMetCommandHandler
72 mWorkConstraintsTracker = new WorkConstraintsTracker(mContext, this); in DelayMetCommandHandler()
155 mWorkConstraintsTracker.replace(Collections.singletonList(workSpec)); in handleProcessWork()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/greedy/
DGreedyScheduler.java50 private WorkConstraintsTracker mWorkConstraintsTracker; field in GreedyScheduler
55 mWorkConstraintsTracker = new WorkConstraintsTracker(context, this); in GreedyScheduler()
63 mWorkConstraintsTracker = workConstraintsTracker; in GreedyScheduler()
89 mWorkConstraintsTracker.replace(mConstrainedWorkSpecs); in schedule()
128 mWorkConstraintsTracker.replace(mConstrainedWorkSpecs); in removeConstraintTrackingFor()