Home
last modified time | relevance | path

Searched refs:requiresBatteryNotLow (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/work/workmanager/src/main/java/androidx/work/
DConstraints.java99 public boolean requiresBatteryNotLow() { in requiresBatteryNotLow() method in Constraints
103 public void setRequiresBatteryNotLow(boolean requiresBatteryNotLow) { in setRequiresBatteryNotLow() argument
104 mRequiresBatteryNotLow = requiresBatteryNotLow; in setRequiresBatteryNotLow()
221 public Builder setRequiresBatteryNotLow(boolean requiresBatteryNotLow) { in setRequiresBatteryNotLow() argument
222 this.mRequiresBatteryNotLow = requiresBatteryNotLow; in setRequiresBatteryNotLow()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/controllers/
DBatteryNotLowController.java35 return workSpec.constraints.requiresBatteryNotLow(); in hasConstraint()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemalarm/
DConstraintProxy.java78 batteryNotLowProxyEnabled |= constraints.requiresBatteryNotLow(); in updateAll()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobInfoConverter.java114 builder.setRequiresBatteryNotLow(constraints.requiresBatteryNotLow()); in convert()
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
DFirebaseJobConverter.java133 if (constraints.requiresBatteryNotLow()) { in getConstraints()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DEnqueueRunnable.java290 if (constraints.requiresBatteryNotLow() || constraints.requiresStorageNotLow()) { in tryDelegateConstrainedWorkSpec()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java337 assertThat(constraints.requiresBatteryNotLow(), is(true)); in testEnqueue_insertWorkConstraints()
350 assertThat(constraints.requiresBatteryNotLow(), is(false)); in testEnqueue_insertWorkConstraints()