Searched refs:requiresBatteryNotLow (Results 1 – 7 of 7) sorted by relevance
99 public boolean requiresBatteryNotLow() { in requiresBatteryNotLow() method in Constraints103 public void setRequiresBatteryNotLow(boolean requiresBatteryNotLow) { in setRequiresBatteryNotLow() argument104 mRequiresBatteryNotLow = requiresBatteryNotLow; in setRequiresBatteryNotLow()221 public Builder setRequiresBatteryNotLow(boolean requiresBatteryNotLow) { in setRequiresBatteryNotLow() argument222 this.mRequiresBatteryNotLow = requiresBatteryNotLow; in setRequiresBatteryNotLow()
35 return workSpec.constraints.requiresBatteryNotLow(); in hasConstraint()
78 batteryNotLowProxyEnabled |= constraints.requiresBatteryNotLow(); in updateAll()
114 builder.setRequiresBatteryNotLow(constraints.requiresBatteryNotLow()); in convert()
133 if (constraints.requiresBatteryNotLow()) { in getConstraints()
290 if (constraints.requiresBatteryNotLow() || constraints.requiresStorageNotLow()) { in tryDelegateConstrainedWorkSpec()
337 assertThat(constraints.requiresBatteryNotLow(), is(true)); in testEnqueue_insertWorkConstraints()350 assertThat(constraints.requiresBatteryNotLow(), is(false)); in testEnqueue_insertWorkConstraints()